HALDLS
haldls::vx::PollingOmnibusBlockConfig Class Reference

#include <block.h>

Public Types

typedef halco::hicann_dls::vx::OmnibusAddress Address
 
typedef halco::hicann_dls::vx::PollingOmnibusBlockConfigOnFPGA coordinate_type
 
typedef std::true_type is_leaf_node
 
typedef fisch::vx::word_access_type::Omnibus::Word Value
 

Public Member Functions

 PollingOmnibusBlockConfig () SYMBOL_VISIBLE
 Default constructor. More...
 
void decode (std::array< fisch::vx::word_access_type::Omnibus, config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::Omnibus, config_size_in_wordsencode () const SYMBOL_VISIBLE
 
Address get_address () const SYMBOL_VISIBLE
 
Value get_mask () const SYMBOL_VISIBLE
 
Value get_target () const SYMBOL_VISIBLE
 
bool operator!= (PollingOmnibusBlockConfig const &other) const SYMBOL_VISIBLE
 
bool operator== (PollingOmnibusBlockConfig const &other) const SYMBOL_VISIBLE
 
void set_address (Address value) SYMBOL_VISIBLE
 
void set_mask (Value value) SYMBOL_VISIBLE
 
void set_target (Value value) SYMBOL_VISIBLE
 

Static Public Member Functions

static std::array< halco::hicann_dls::vx::OmnibusAddress, config_size_in_wordsaddresses (coordinate_type const &coord) SYMBOL_VISIBLE
 

Static Public Attributes

static constexpr size_t config_size_in_words = 3
 
constexpr static auto unsupported_read_targets
 

Friends

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

Detailed Description

Definition at line 20 of file block.h.

Member Typedef Documentation

◆ Address

typedef halco::hicann_dls::vx::OmnibusAddress haldls::vx::PollingOmnibusBlockConfig::Address

Definition at line 28 of file block.h.

◆ coordinate_type

typedef halco::hicann_dls::vx::PollingOmnibusBlockConfigOnFPGA haldls::vx::PollingOmnibusBlockConfig::coordinate_type

Definition at line 23 of file block.h.

◆ is_leaf_node

Definition at line 24 of file block.h.

◆ Value

typedef fisch::vx::word_access_type::Omnibus::Word haldls::vx::PollingOmnibusBlockConfig::Value

Definition at line 29 of file block.h.

Constructor & Destructor Documentation

◆ PollingOmnibusBlockConfig()

haldls::vx::PollingOmnibusBlockConfig::PollingOmnibusBlockConfig ( )

Default constructor.

Member Function Documentation

◆ addresses()

static std::array<halco::hicann_dls::vx::OmnibusAddress, config_size_in_words> haldls::vx::PollingOmnibusBlockConfig::addresses ( coordinate_type const &  coord)
static

◆ decode()

void haldls::vx::PollingOmnibusBlockConfig::decode ( std::array< fisch::vx::word_access_type::Omnibus, config_size_in_words > const &  data)

◆ encode()

std::array<fisch::vx::word_access_type::Omnibus, config_size_in_words> haldls::vx::PollingOmnibusBlockConfig::encode ( ) const

◆ get_address()

Address haldls::vx::PollingOmnibusBlockConfig::get_address ( ) const

◆ get_mask()

Value haldls::vx::PollingOmnibusBlockConfig::get_mask ( ) const

◆ get_target()

Value haldls::vx::PollingOmnibusBlockConfig::get_target ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ set_address()

void haldls::vx::PollingOmnibusBlockConfig::set_address ( Address  value)

◆ set_mask()

void haldls::vx::PollingOmnibusBlockConfig::set_mask ( Value  value)

◆ set_target()

void haldls::vx::PollingOmnibusBlockConfig::set_target ( Value  value)

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 65 of file block.h.

◆ operator<<

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

Member Data Documentation

◆ config_size_in_words

constexpr size_t haldls::vx::PollingOmnibusBlockConfig::config_size_in_words = 3
staticconstexpr

Definition at line 56 of file block.h.

◆ unsupported_read_targets

constexpr static auto haldls::vx::PollingOmnibusBlockConfig::unsupported_read_targets
staticconstexpr
Initial value:
= {
hxcomm::vx::Target::hardware, hxcomm::vx::Target::simulation}

Definition at line 25 of file block.h.


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