HALDLS
haldls::vx::PerfTest Class Reference

Container for enabling highspeed perf test. More...

#include <perftest.h>

Public Types

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

Public Member Functions

 PerfTest (bool value=false) SYMBOL_VISIBLE
 Construct perf test with enable value. 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
 
bool get_enable () const SYMBOL_VISIBLE
 Get enable value of test execution. More...
 
bool operator!= (PerfTest const &other) const SYMBOL_VISIBLE
 
bool operator== (PerfTest const &other) const SYMBOL_VISIBLE
 
void set_enable (bool value) SYMBOL_VISIBLE
 Set enable value of test execution. More...
 

Static Public Member Functions

static std::array< halco::hicann_dls::vx::OmnibusAddress, 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, PerfTest const &config) SYMBOL_VISIBLE
 

Detailed Description

Container for enabling highspeed perf test.

Words transfering an increasing counter value are sent. The received word count is expected to be equal to the sent count and all received words are expected to be in order. The test execution does not block playback execution.

Definition at line 27 of file perftest.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::PerfTestOnFPGA haldls::vx::PerfTest::coordinate_type

Definition at line 30 of file perftest.h.

◆ is_leaf_node

typedef std::true_type haldls::vx::PerfTest::is_leaf_node

Definition at line 31 of file perftest.h.

Constructor & Destructor Documentation

◆ PerfTest()

haldls::vx::PerfTest::PerfTest ( bool  value = false)
explicit

Construct perf test with enable value.

Parameters
valueEnable value of test execution

Member Function Documentation

◆ addresses()

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

◆ decode()

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

◆ get_enable()

bool haldls::vx::PerfTest::get_enable ( ) const

Get enable value of test execution.

Returns
value Boolean value

◆ operator!=()

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

◆ operator==()

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

◆ set_enable()

void haldls::vx::PerfTest::set_enable ( bool  value)

Set enable value of test execution.

Parameters
valueBoolean value

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 68 of file perftest.h.

◆ operator<<

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

Member Data Documentation

◆ config_size_in_words

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

Definition at line 59 of file perftest.h.


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