HALDLS
haldls::vx::SynapseBiasSelection Class Reference

#include <synapse.h>

Public Types

typedef halco::common::typed_array< bool, halco::hicann_dls::vx::CapMemBlockOnDLS > bias_selection_type
 
typedef halco::hicann_dls::vx::SynapseBiasSelectionOnDLS coordinate_type
 
typedef std::true_type is_leaf_node
 

Public Member Functions

 SynapseBiasSelection () SYMBOL_VISIBLE
 Construct Synapse Bias Selection container with all internal biases enabled. More...
 
template<typename WordT >
void decode (std::array< WordT, config_size_in_words > const &words) SYMBOL_VISIBLE
 
template<typename WordT >
std::array< WordT, config_size_in_wordsencode () const SYMBOL_VISIBLE
 
bool operator!= (SynapseBiasSelection const &other) const SYMBOL_VISIBLE
 
bool operator== (SynapseBiasSelection const &other) const SYMBOL_VISIBLE
 
 return_value_policy (reference_internal)) bias_selection_type const &get_enable_internal_dac_bias() const SYMBOL_VISIBLE
 
 return_value_policy (reference_internal)) bias_selection_type const &get_enable_internal_output_bias() const SYMBOL_VISIBLE
 
 return_value_policy (reference_internal)) bias_selection_type const &get_enable_internal_ramp_bias() const SYMBOL_VISIBLE
 
 return_value_policy (reference_internal)) bias_selection_type const &get_enable_internal_store_bias() const SYMBOL_VISIBLE
 
void set_enable_internal_dac_bias (bias_selection_type const &value) SYMBOL_VISIBLE
 
void set_enable_internal_output_bias (bias_selection_type const &value) SYMBOL_VISIBLE
 
void set_enable_internal_ramp_bias (bias_selection_type const &value) SYMBOL_VISIBLE
 
void set_enable_internal_store_bias (bias_selection_type const &value) SYMBOL_VISIBLE
 

Static Public Member Functions

template<typename AddressT >
static std::array< AddressT, config_size_in_wordsaddresses (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, SynapseBiasSelection const &config) SYMBOL_VISIBLE
 

Detailed Description

Definition at line 151 of file synapse.h.

Member Typedef Documentation

◆ bias_selection_type

typedef halco::common::typed_array<bool, halco::hicann_dls::vx::CapMemBlockOnDLS> haldls::vx::SynapseBiasSelection::bias_selection_type

Definition at line 162 of file synapse.h.

◆ coordinate_type

typedef halco::hicann_dls::vx::SynapseBiasSelectionOnDLS haldls::vx::SynapseBiasSelection::coordinate_type

Definition at line 154 of file synapse.h.

◆ is_leaf_node

Definition at line 155 of file synapse.h.

Constructor & Destructor Documentation

◆ SynapseBiasSelection()

haldls::vx::SynapseBiasSelection::SynapseBiasSelection ( )
explicit

Construct Synapse Bias Selection container with all internal biases enabled.

Member Function Documentation

◆ addresses()

template<typename AddressT >
static std::array<AddressT, config_size_in_words> haldls::vx::SynapseBiasSelection::addresses ( coordinate_type const &  coord)
static

◆ decode()

template<typename WordT >
void haldls::vx::SynapseBiasSelection::decode ( std::array< WordT, config_size_in_words > const &  words)

◆ encode()

template<typename WordT >
std::array<WordT, config_size_in_words> haldls::vx::SynapseBiasSelection::encode ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ return_value_policy() [1/4]

haldls::vx::SynapseBiasSelection::return_value_policy ( reference_internal  ) const &

◆ return_value_policy() [2/4]

haldls::vx::SynapseBiasSelection::return_value_policy ( reference_internal  ) const &

◆ return_value_policy() [3/4]

haldls::vx::SynapseBiasSelection::return_value_policy ( reference_internal  ) const &

◆ return_value_policy() [4/4]

haldls::vx::SynapseBiasSelection::return_value_policy ( reference_internal  ) const &

◆ set_enable_internal_dac_bias()

void haldls::vx::SynapseBiasSelection::set_enable_internal_dac_bias ( bias_selection_type const &  value)

◆ set_enable_internal_output_bias()

void haldls::vx::SynapseBiasSelection::set_enable_internal_output_bias ( bias_selection_type const &  value)

◆ set_enable_internal_ramp_bias()

void haldls::vx::SynapseBiasSelection::set_enable_internal_ramp_bias ( bias_selection_type const &  value)

◆ set_enable_internal_store_bias()

void haldls::vx::SynapseBiasSelection::set_enable_internal_store_bias ( bias_selection_type const &  value)

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 212 of file synapse.h.

◆ operator<<

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

Member Data Documentation

◆ config_size_in_words

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

Definition at line 198 of file synapse.h.

◆ unsupported_read_targets

constexpr static auto haldls::vx::SynapseBiasSelection::unsupported_read_targets
staticconstexpr
Initial value:
= {
hxcomm::vx::Target::hardware, hxcomm::vx::Target::simulation}

Definition at line 157 of file synapse.h.


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