HALDLS
haldls::vx::VectorGeneratorLUTEntry Class Reference

Container for an entry in the lookup-table for generation of spike events from activation values. More...

#include <vector_generator.h>

Classes

struct  Value
 Entry value describing the bits [5, 15] of the sent spike label. More...
 

Public Types

typedef halco::hicann_dls::vx::VectorGeneratorLUTEntryOnFPGA coordinate_type
 
typedef std::true_type is_leaf_node
 

Public Member Functions

 VectorGeneratorLUTEntry ()=default
 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
 
Value get_value () const SYMBOL_VISIBLE
 Get value. More...
 
bool operator!= (VectorGeneratorLUTEntry const &other) const SYMBOL_VISIBLE
 
bool operator== (VectorGeneratorLUTEntry const &other) const SYMBOL_VISIBLE
 
void set_value (Value value) SYMBOL_VISIBLE
 Set value. More...
 

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 = 1
 

Friends

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

Detailed Description

Container for an entry in the lookup-table for generation of spike events from activation values.

Definition at line 252 of file vector_generator.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::VectorGeneratorLUTEntryOnFPGA haldls::vx::VectorGeneratorLUTEntry::coordinate_type

Definition at line 256 of file vector_generator.h.

◆ is_leaf_node

Definition at line 255 of file vector_generator.h.

Constructor & Destructor Documentation

◆ VectorGeneratorLUTEntry()

haldls::vx::VectorGeneratorLUTEntry::VectorGeneratorLUTEntry ( )
default

Default constructor.

Member Function Documentation

◆ addresses()

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

◆ decode()

void haldls::vx::VectorGeneratorLUTEntry::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::VectorGeneratorLUTEntry::encode ( ) const

◆ get_value()

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

Get value.

Returns
Value

◆ operator!=()

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

◆ operator==()

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

◆ set_value()

void haldls::vx::VectorGeneratorLUTEntry::set_value ( Value  value)

Set value.

Parameters
valueValue

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 302 of file vector_generator.h.

◆ operator<<

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

Member Data Documentation

◆ config_size_in_words

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

Definition at line 293 of file vector_generator.h.


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