HALDLS
haldls::vx::VectorGeneratorFIFOWord Class Reference

Container for writing a word of (maximally) four activation values into the FIFO in front of the vector generator. More...

#include <vector_generator.h>

Public Types

typedef halco::hicann_dls::vx::VectorGeneratorFIFOWordOnFPGA coordinate_type
 
typedef halco::common::typed_array< bool, halco::hicann_dls::vx::EntryOnQuad > Enables
 
typedef std::true_type is_leaf_node
 
typedef PADIEvent::HagenActivation Value
 
typedef halco::common::typed_array< Value, halco::hicann_dls::vx::EntryOnQuad > Values
 

Public Member Functions

 VectorGeneratorFIFOWord () SYMBOL_VISIBLE
 Default constructor. More...
 
void decode (std::array< fisch::vx::word_access_type::Omnibus, read_config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::Omnibus, write_config_size_in_wordsencode () const SYMBOL_VISIBLE
 
bool operator!= (VectorGeneratorFIFOWord const &other) const SYMBOL_VISIBLE
 
bool operator== (VectorGeneratorFIFOWord const &other) const SYMBOL_VISIBLE
 
 return_value_policy (reference)) Enables const &get_enable() const SYMBOL_VISIBLE
 
 return_value_policy (reference)) Enables const &get_last() const SYMBOL_VISIBLE
 
 return_value_policy (reference)) Values const &get_values() const SYMBOL_VISIBLE
 
void set_enable (Enables value) SYMBOL_VISIBLE
 Set enables for entries to write. More...
 
void set_last (Enables value) SYMBOL_VISIBLE
 Set last enables. More...
 
void set_values (Values value) SYMBOL_VISIBLE
 Set values. More...
 

Static Public Member Functions

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

Static Public Attributes

static constexpr size_t read_config_size_in_words = 0
 
static constexpr size_t write_config_size_in_words = 1
 

Friends

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

Detailed Description

Container for writing a word of (maximally) four activation values into the FIFO in front of the vector generator.

Definition at line 439 of file vector_generator.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::VectorGeneratorFIFOWordOnFPGA haldls::vx::VectorGeneratorFIFOWord::coordinate_type

Definition at line 443 of file vector_generator.h.

◆ Enables

typedef halco::common::typed_array<bool, halco::hicann_dls::vx::EntryOnQuad> haldls::vx::VectorGeneratorFIFOWord::Enables

Definition at line 449 of file vector_generator.h.

◆ is_leaf_node

Definition at line 442 of file vector_generator.h.

◆ Value

◆ Values

typedef halco::common::typed_array<Value, halco::hicann_dls::vx::EntryOnQuad> haldls::vx::VectorGeneratorFIFOWord::Values

Definition at line 447 of file vector_generator.h.

Constructor & Destructor Documentation

◆ VectorGeneratorFIFOWord()

haldls::vx::VectorGeneratorFIFOWord::VectorGeneratorFIFOWord ( )

Default constructor.

Member Function Documentation

◆ decode()

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

◆ encode()

std::array<fisch::vx::word_access_type::Omnibus, write_config_size_in_words> haldls::vx::VectorGeneratorFIFOWord::encode ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ read_addresses()

static std::array<halco::hicann_dls::vx::OmnibusAddress, read_config_size_in_words> haldls::vx::VectorGeneratorFIFOWord::read_addresses ( coordinate_type const &  coord)
static

◆ return_value_policy() [1/3]

haldls::vx::VectorGeneratorFIFOWord::return_value_policy ( reference  ) const &

◆ return_value_policy() [2/3]

haldls::vx::VectorGeneratorFIFOWord::return_value_policy ( reference  ) const &

◆ return_value_policy() [3/3]

haldls::vx::VectorGeneratorFIFOWord::return_value_policy ( reference  ) const &

◆ set_enable()

void haldls::vx::VectorGeneratorFIFOWord::set_enable ( Enables  value)

Set enables for entries to write.

Parameters
valueValues

◆ set_last()

void haldls::vx::VectorGeneratorFIFOWord::set_last ( Enables  value)

Set last enables.

Parameters
valueValues

◆ set_values()

void haldls::vx::VectorGeneratorFIFOWord::set_values ( Values  value)

Set values.

Parameters
valueValues

◆ write_addresses()

static std::array<halco::hicann_dls::vx::OmnibusAddress, write_config_size_in_words> haldls::vx::VectorGeneratorFIFOWord::write_addresses ( coordinate_type const &  coord)
static

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 516 of file vector_generator.h.

◆ operator<<

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

Member Data Documentation

◆ read_config_size_in_words

constexpr size_t haldls::vx::VectorGeneratorFIFOWord::read_config_size_in_words = 0
staticconstexpr

Definition at line 505 of file vector_generator.h.

◆ write_config_size_in_words

constexpr size_t haldls::vx::VectorGeneratorFIFOWord::write_config_size_in_words = 1
staticconstexpr

Definition at line 504 of file vector_generator.h.


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