HALDLS
|
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_words > | encode () 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_words > | addresses (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 |
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.
typedef halco::hicann_dls::vx::PerfTestOnFPGA haldls::vx::PerfTest::coordinate_type |
Definition at line 30 of file perftest.h.
typedef std::true_type haldls::vx::PerfTest::is_leaf_node |
Definition at line 31 of file perftest.h.
|
explicit |
Construct perf test with enable value.
value | Enable value of test execution |
|
static |
void haldls::vx::PerfTest::decode | ( | std::array< fisch::vx::word_access_type::Omnibus, config_size_in_words > const & | data | ) |
std::array<fisch::vx::word_access_type::Omnibus, config_size_in_words> haldls::vx::PerfTest::encode | ( | ) | const |
bool haldls::vx::PerfTest::get_enable | ( | ) | const |
Get enable value of test execution.
bool haldls::vx::PerfTest::operator!= | ( | PerfTest const & | other | ) | const |
bool haldls::vx::PerfTest::operator== | ( | PerfTest const & | other | ) | const |
void haldls::vx::PerfTest::set_enable | ( | bool | value | ) |
Set enable value of test execution.
value | Boolean value |
|
friend |
Definition at line 68 of file perftest.h.
|
friend |
|
staticconstexpr |
Definition at line 59 of file perftest.h.