HALDLS
|
Common STP configuration shared by synapse drivers per vertical half. More...
#include <padi.h>
Classes | |
struct | RecoveryClockSpeed |
Public Types | |
typedef halco::hicann_dls::vx::CommonSTPConfigOnDLS | coordinate_type |
typedef std::true_type | is_leaf_node |
Public Member Functions | |
CommonSTPConfig () SYMBOL_VISIBLE | |
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 |
bool | get_enable_recovery_clock () const SYMBOL_VISIBLE |
Enable recovery clock for the STP circuit. More... | |
RecoveryClockSpeed | get_recovery_clock_speed () const SYMBOL_VISIBLE |
Set the scaler for the recovery clock. More... | |
bool | operator!= (CommonSTPConfig const &other) const SYMBOL_VISIBLE |
bool | operator== (CommonSTPConfig const &other) const SYMBOL_VISIBLE |
void | set_enable_recovery_clock (bool const value) SYMBOL_VISIBLE |
void | set_recovery_clock_speed (RecoveryClockSpeed const value) SYMBOL_VISIBLE |
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 |
constexpr static auto | unsupported_read_targets |
Friends | |
class | cereal::access |
std::ostream & | operator<< (std::ostream &os, CommonSTPConfig const &event) SYMBOL_VISIBLE |
Common STP configuration shared by synapse drivers per vertical half.
It allows to enable/disable and set the speed for the recovery clock.
typedef halco::hicann_dls::vx::CommonSTPConfigOnDLS haldls::vx::CommonSTPConfig::coordinate_type |
typedef std::true_type haldls::vx::CommonSTPConfig::is_leaf_node |
haldls::vx::CommonSTPConfig::CommonSTPConfig | ( | ) |
|
static |
void haldls::vx::CommonSTPConfig::decode | ( | std::array< WordT, config_size_in_words > const & | data | ) |
std::array<WordT, config_size_in_words> haldls::vx::CommonSTPConfig::encode | ( | ) | const |
bool haldls::vx::CommonSTPConfig::get_enable_recovery_clock | ( | ) | const |
Enable recovery clock for the STP circuit.
RecoveryClockSpeed haldls::vx::CommonSTPConfig::get_recovery_clock_speed | ( | ) | const |
Set the scaler for the recovery clock.
bool haldls::vx::CommonSTPConfig::operator!= | ( | CommonSTPConfig const & | other | ) | const |
bool haldls::vx::CommonSTPConfig::operator== | ( | CommonSTPConfig const & | other | ) | const |
void haldls::vx::CommonSTPConfig::set_enable_recovery_clock | ( | bool const | value | ) |
void haldls::vx::CommonSTPConfig::set_recovery_clock_speed | ( | RecoveryClockSpeed const | value | ) |
|
friend |
|
staticconstexpr |
|
staticconstexpr |