HALDLS
haldls::vx::CapMemCell< Coordinates > Class Template Reference

#include <capmem.h>

+ Inheritance diagram for haldls::vx::CapMemCell< Coordinates >:
+ Collaboration diagram for haldls::vx::CapMemCell< Coordinates >:

Classes

struct  DisableRefresh
 
struct  Value
 

Public Types

typedef Coordinates::CapMemCellOnDLS coordinate_type
 
typedef std::true_type is_leaf_node
 
typedef std::variant< Value, DisableRefreshvalue_type
 

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static constexpr size_t config_size_in_words = 1
 

Friends

class cereal::access
 
std::ostream & operator<< (std::ostream &os, CapMemCell const &cell)
 

Detailed Description

template<typename Coordinates>
class haldls::vx::CapMemCell< Coordinates >

Definition at line 35 of file capmem.h.

Member Typedef Documentation

◆ coordinate_type

template<typename Coordinates >
typedef Coordinates::CapMemCellOnDLS haldls::vx::CapMemCell< Coordinates >::coordinate_type

Definition at line 38 of file capmem.h.

◆ is_leaf_node

template<typename Coordinates >
typedef std::true_type haldls::vx::CapMemCell< Coordinates >::is_leaf_node

Definition at line 39 of file capmem.h.

◆ value_type

template<typename Coordinates >
typedef std::variant<Value, DisableRefresh> haldls::vx::CapMemCell< Coordinates >::value_type

Definition at line 62 of file capmem.h.

Constructor & Destructor Documentation

◆ CapMemCell()

template<typename Coordinates >
haldls::vx::CapMemCell< Coordinates >::CapMemCell ( value_type const &  value = Value())
inlineexplicit

Definition at line 64 of file capmem.h.

Member Function Documentation

◆ addresses()

template<typename Coordinates >
template<typename AddressT >
template SYMBOL_VISIBLE std::array< halco::hicann_dls::vx::OmnibusChipOverJTAGAddress, CapMemCell< halco::hicann_dls::vx::v3::Coordinates >::config_size_in_words > haldls::vx::CapMemCell< Coordinates >::addresses< halco::hicann_dls::vx::OmnibusChipOverJTAGAddress > ( coordinate_type const &  cell)
static

◆ decode()

template<typename Coordinates >
template<typename WordT >
template SYMBOL_VISIBLE void haldls::vx::CapMemCell< Coordinates >::decode< fisch::vx::word_access_type::Omnibus > ( std::array< WordT, config_size_in_words > const &  data)

◆ encode()

template<typename Coordinates >
template<typename WordT >
template SYMBOL_VISIBLE std::array< fisch::vx::word_access_type::Omnibus, CapMemCell< halco::hicann_dls::vx::v3::Coordinates >::config_size_in_words > haldls::vx::CapMemCell< Coordinates >::encode< fisch::vx::word_access_type::Omnibus > ( ) const

◆ get_value()

template<typename Coordinates >
value_type haldls::vx::CapMemCell< Coordinates >::get_value ( ) const

◆ operator!=()

template<typename Coordinates >
bool haldls::vx::CapMemCell< Coordinates >::operator!= ( CapMemCell< Coordinates > const &  other) const

◆ operator==()

template<typename Coordinates >
bool haldls::vx::CapMemCell< Coordinates >::operator== ( CapMemCell< Coordinates > const &  other) const

◆ set_value()

template<typename Coordinates >
void haldls::vx::CapMemCell< Coordinates >::set_value ( value_type const &  value)

Friends And Related Function Documentation

◆ cereal::access

template<typename Coordinates >
friend class cereal::access
friend

Definition at line 93 of file capmem.h.

◆ operator<<

template<typename Coordinates >
std::ostream& operator<< ( std::ostream &  os,
CapMemCell< Coordinates > const &  cell 
)
friend

Definition at line 81 of file capmem.h.

Member Data Documentation

◆ config_size_in_words

template<typename Coordinates >
constexpr size_t haldls::vx::CapMemCell< Coordinates >::config_size_in_words = 1
staticconstexpr

Definition at line 71 of file capmem.h.


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