LOLA
lola::vx::ExternalPPUMemoryBlock Class Reference

Contiguous block of bytes in the external PPU memory. More...

#include <ppu.h>

Public Types

typedef std::vector< haldls::vx::ExternalPPUMemoryByte > bytes_type
 
typedef halco::hicann_dls::vx::ExternalPPUMemoryBlockOnFPGA coordinate_type
 
typedef std::false_type has_local_data
 
typedef halco::hicann_dls::vx::ExternalPPUMemoryBlockSize size_type
 

Public Member Functions

 ExternalPPUMemoryBlock (size_type size=size_type(halco::hicann_dls::vx::ExternalPPUMemoryByteOnFPGA::size)) SYMBOL_VISIBLE
 
haldls::vx::ExternalPPUMemoryByte const & at (size_t index) const SYMBOL_VISIBLE
 
haldls::vx::ExternalPPUMemoryByte & at (size_t index) SYMBOL_VISIBLE
 
bytes_type const & get_bytes () const SYMBOL_VISIBLE
 
ExternalPPUMemoryBlock get_subblock (size_t begin, size_type length) const SYMBOL_VISIBLE
 
bool operator!= (ExternalPPUMemoryBlock const &other) const SYMBOL_VISIBLE
 
bool operator== (ExternalPPUMemoryBlock const &other) const SYMBOL_VISIBLE
 
haldls::vx::ExternalPPUMemoryByte const & operator[] (size_t index) const SYMBOL_VISIBLE
 
haldls::vx::ExternalPPUMemoryByte & operator[] (size_t index) SYMBOL_VISIBLE
 
void set_bytes (bytes_type const &bytes) SYMBOL_VISIBLE
 
void set_subblock (size_t begin, ExternalPPUMemoryBlock const &subblock) SYMBOL_VISIBLE
 
size_type size () const SYMBOL_VISIBLE
 
std::string to_string () const SYMBOL_VISIBLE
 

Friends

class cereal::access
 
std::ostream & operator<< (std::ostream &os, ExternalPPUMemoryBlock const &config) SYMBOL_VISIBLE
 

Detailed Description

Contiguous block of bytes in the external PPU memory.

Definition at line 21 of file ppu.h.

Member Typedef Documentation

◆ bytes_type

typedef std::vector<haldls::vx::ExternalPPUMemoryByte> lola::vx::ExternalPPUMemoryBlock::bytes_type

Definition at line 27 of file ppu.h.

◆ coordinate_type

typedef halco::hicann_dls::vx::ExternalPPUMemoryBlockOnFPGA lola::vx::ExternalPPUMemoryBlock::coordinate_type

Definition at line 24 of file ppu.h.

◆ has_local_data

Definition at line 25 of file ppu.h.

◆ size_type

typedef halco::hicann_dls::vx::ExternalPPUMemoryBlockSize lola::vx::ExternalPPUMemoryBlock::size_type

Definition at line 29 of file ppu.h.

Constructor & Destructor Documentation

◆ ExternalPPUMemoryBlock()

lola::vx::ExternalPPUMemoryBlock::ExternalPPUMemoryBlock ( size_type  size = size_type(halco::hicann_dls::vx::ExternalPPUMemoryByteOnFPGA::size))
explicit

Member Function Documentation

◆ at() [1/2]

haldls::vx::ExternalPPUMemoryByte const& lola::vx::ExternalPPUMemoryBlock::at ( size_t  index) const

◆ at() [2/2]

haldls::vx::ExternalPPUMemoryByte& lola::vx::ExternalPPUMemoryBlock::at ( size_t  index)

◆ get_bytes()

bytes_type const& lola::vx::ExternalPPUMemoryBlock::get_bytes ( ) const

◆ get_subblock()

ExternalPPUMemoryBlock lola::vx::ExternalPPUMemoryBlock::get_subblock ( size_t  begin,
size_type  length 
) const

◆ operator!=()

bool lola::vx::ExternalPPUMemoryBlock::operator!= ( ExternalPPUMemoryBlock const &  other) const

◆ operator==()

bool lola::vx::ExternalPPUMemoryBlock::operator== ( ExternalPPUMemoryBlock const &  other) const

◆ operator[]() [1/2]

haldls::vx::ExternalPPUMemoryByte const& lola::vx::ExternalPPUMemoryBlock::operator[] ( size_t  index) const

◆ operator[]() [2/2]

haldls::vx::ExternalPPUMemoryByte& lola::vx::ExternalPPUMemoryBlock::operator[] ( size_t  index)

◆ set_bytes()

void lola::vx::ExternalPPUMemoryBlock::set_bytes ( bytes_type const &  bytes)

◆ set_subblock()

void lola::vx::ExternalPPUMemoryBlock::set_subblock ( size_t  begin,
ExternalPPUMemoryBlock const &  subblock 
)

◆ size()

size_type lola::vx::ExternalPPUMemoryBlock::size ( ) const

◆ to_string()

std::string lola::vx::ExternalPPUMemoryBlock::to_string ( ) const

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 62 of file ppu.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
ExternalPPUMemoryBlock const &  config 
)
friend

The documentation for this class was generated from the following file: