HALDLS
haldls::vx::PPUMemoryWord Class Reference

#include <ppu.h>

Classes

struct  Value
 

Public Types

typedef halco::hicann_dls::vx::PPUMemoryWordOnDLS coordinate_type
 
typedef std::true_type is_leaf_node
 
typedef uint32_t raw_type
 

Public Member Functions

 PPUMemoryWord (Value value=Value()) SYMBOL_VISIBLE
 
template<typename WordT >
void decode (std::array< WordT, config_size_in_words > const &data) SYMBOL_VISIBLE
 
template<typename WordT >
std::array< WordT, config_size_in_wordsencode () const SYMBOL_VISIBLE
 
Value get_value () const SYMBOL_VISIBLE
 
bool operator!= (PPUMemoryWord const &other) const SYMBOL_VISIBLE
 
bool operator== (PPUMemoryWord const &other) const SYMBOL_VISIBLE
 
void set_value (Value const &value) SYMBOL_VISIBLE
 

Static Public Member Functions

template<typename AddressT >
static std::array< AddressT, config_size_in_wordsaddresses (coordinate_type const &word) SYMBOL_VISIBLE
 

Static Public Attributes

static constexpr size_t config_size_in_words = 1
 

Friends

class cereal::access
 
std::ostream & operator<< (std::ostream &os, PPUMemoryWord const &pmw) SYMBOL_VISIBLE
 

Detailed Description

Definition at line 24 of file ppu.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::PPUMemoryWordOnDLS haldls::vx::PPUMemoryWord::coordinate_type

Definition at line 27 of file ppu.h.

◆ is_leaf_node

Definition at line 28 of file ppu.h.

◆ raw_type

Definition at line 36 of file ppu.h.

Constructor & Destructor Documentation

◆ PPUMemoryWord()

haldls::vx::PPUMemoryWord::PPUMemoryWord ( Value  value = Value())
explicit

Member Function Documentation

◆ addresses()

template<typename AddressT >
static std::array<AddressT, config_size_in_words> haldls::vx::PPUMemoryWord::addresses ( coordinate_type const &  word)
static

◆ decode()

template<typename WordT >
void haldls::vx::PPUMemoryWord::decode ( std::array< WordT, config_size_in_words > const &  data)

◆ encode()

template<typename WordT >
std::array<WordT, config_size_in_words> haldls::vx::PPUMemoryWord::encode ( ) const

◆ get_value()

Value haldls::vx::PPUMemoryWord::get_value ( ) const

◆ operator!=()

bool haldls::vx::PPUMemoryWord::operator!= ( PPUMemoryWord const &  other) const

◆ operator==()

bool haldls::vx::PPUMemoryWord::operator== ( PPUMemoryWord const &  other) const

◆ set_value()

void haldls::vx::PPUMemoryWord::set_value ( Value const &  value)

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 65 of file ppu.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
PPUMemoryWord const &  pmw 
)
friend

Member Data Documentation

◆ config_size_in_words

constexpr size_t haldls::vx::PPUMemoryWord::config_size_in_words = 1
staticconstexpr

Definition at line 54 of file ppu.h.


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