HALDLS
|
Container for configuration and triggering of the PLL internal self test. More...
#include <pll.h>
Classes | |
struct | CheckRange |
Acceptance range for the internal counter compared to the expected counter. More... | |
struct | CheckValue |
Expected counter value within the 2^(p + 2) reference cycles. More... | |
struct | PreScalerP |
Selects counting window of the self test. More... | |
Public Types | |
typedef halco::hicann_dls::vx::PLLSelfTestOnDLS | coordinate_type |
typedef std::true_type | is_leaf_node |
Public Member Functions | |
PLLSelfTest () SYMBOL_VISIBLE | |
Default construct PLL self test. More... | |
template<typename WordT > | |
void | decode (std::array< WordT, config_size_in_words > const &data) SYMBOL_VISIBLE |
template<typename WordT > | |
std::array< WordT, config_size_in_words > | encode () const SYMBOL_VISIBLE |
CheckRange | get_check_range () const SYMBOL_VISIBLE |
CheckValue | get_check_value () const SYMBOL_VISIBLE |
bool | get_clock_enable () const SYMBOL_VISIBLE |
Get wheter the clock is enabled for the self-test. More... | |
PreScalerP | get_pre_scaler_p () const SYMBOL_VISIBLE |
halco::hicann_dls::vx::PLLClockOutputOnDLS | get_select_source () const SYMBOL_VISIBLE |
Get selected source output to test. More... | |
bool | operator!= (PLLSelfTest const &other) const SYMBOL_VISIBLE |
bool | operator== (PLLSelfTest const &other) const SYMBOL_VISIBLE |
void | set_check_range (CheckRange value) SYMBOL_VISIBLE |
void | set_check_value (CheckValue value) SYMBOL_VISIBLE |
void | set_clock_enable (bool value) SYMBOL_VISIBLE |
Set to enable the clock for the self-test. More... | |
void | set_pre_scaler_p (PreScalerP value) SYMBOL_VISIBLE |
void | set_select_source (halco::hicann_dls::vx::PLLClockOutputOnDLS value) SYMBOL_VISIBLE |
Set selected source output to test. More... | |
Static Public Member Functions | |
template<typename AddressT > | |
static std::array< AddressT, config_size_in_words > | addresses (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, PLLSelfTest const &config) SYMBOL_VISIBLE |
Container for configuration and triggering of the PLL internal self test.
typedef halco::hicann_dls::vx::PLLSelfTestOnDLS haldls::vx::PLLSelfTest::coordinate_type |
typedef std::true_type haldls::vx::PLLSelfTest::is_leaf_node |
haldls::vx::PLLSelfTest::PLLSelfTest | ( | ) |
Default construct PLL self test.
|
static |
void haldls::vx::PLLSelfTest::decode | ( | std::array< WordT, config_size_in_words > const & | data | ) |
std::array<WordT, config_size_in_words> haldls::vx::PLLSelfTest::encode | ( | ) | const |
CheckRange haldls::vx::PLLSelfTest::get_check_range | ( | ) | const |
CheckValue haldls::vx::PLLSelfTest::get_check_value | ( | ) | const |
bool haldls::vx::PLLSelfTest::get_clock_enable | ( | ) | const |
Get wheter the clock is enabled for the self-test.
Before executing a valid test, this has to be written to be false.
PreScalerP haldls::vx::PLLSelfTest::get_pre_scaler_p | ( | ) | const |
halco::hicann_dls::vx::PLLClockOutputOnDLS haldls::vx::PLLSelfTest::get_select_source | ( | ) | const |
Get selected source output to test.
bool haldls::vx::PLLSelfTest::operator!= | ( | PLLSelfTest const & | other | ) | const |
bool haldls::vx::PLLSelfTest::operator== | ( | PLLSelfTest const & | other | ) | const |
void haldls::vx::PLLSelfTest::set_check_range | ( | CheckRange | value | ) |
void haldls::vx::PLLSelfTest::set_check_value | ( | CheckValue | value | ) |
void haldls::vx::PLLSelfTest::set_clock_enable | ( | bool | value | ) |
Set to enable the clock for the self-test.
Before executing a valid test, this has to be written to be false.
value | Boolean value to set |
void haldls::vx::PLLSelfTest::set_pre_scaler_p | ( | PreScalerP | value | ) |
void haldls::vx::PLLSelfTest::set_select_source | ( | halco::hicann_dls::vx::PLLClockOutputOnDLS | value | ) |
Set selected source output to test.
To | be selected PLLClockOutputOnDLS |
|
friend |
|
staticconstexpr |