HALDLS
haldls::vx::CommonPADIBusConfig Class Reference

Configuration for a PADI bus block. More...

#include <padi.h>

+ Inheritance diagram for haldls::vx::CommonPADIBusConfig:
+ Collaboration diagram for haldls::vx::CommonPADIBusConfig:

Classes

struct  DacenPulseExtension
 

Public Types

typedef halco::hicann_dls::vx::CommonPADIBusConfigOnDLS coordinate_type
 
typedef halco::common::typed_array< DacenPulseExtension, halco::hicann_dls::vx::PADIBusOnPADIBusBlock > dacen_pulse_extension_type
 
typedef halco::common::typed_array< bool, halco::hicann_dls::vx::PADIBusOnPADIBusBlock > enable_extended_timing_type
 
typedef halco::common::typed_array< bool, halco::hicann_dls::vx::PADIBusOnPADIBusBlock > enable_spl1_type
 
typedef halco::common::typed_array< bool, halco::hicann_dls::vx::PADIBusOnPADIBusBlock > expose_as(_enable_extended_timing_type))
 
typedef halco::common::typed_array< bool, halco::hicann_dls::vx::PADIBusOnPADIBusBlock > expose_as(_enable_spl1_type))
 
typedef std::true_type is_leaf_node
 

Public Member Functions

 CommonPADIBusConfig () 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_wordsencode () const SYMBOL_VISIBLE
 
bool operator!= (CommonPADIBusConfig const &other) const SYMBOL_VISIBLE
 
bool operator== (CommonPADIBusConfig const &other) const SYMBOL_VISIBLE
 
 return_value_policy (reference_internal)) dacen_pulse_extension_type const &get_dacen_pulse_extension() const SYMBOL_VISIBLE
 
 return_value_policy (reference_internal)) enable_extended_timing_type const &get_enable_extended_timing() const SYMBOL_VISIBLE
 
 return_value_policy (reference_internal)) enable_spl1_type const &get_enable_spl1() const SYMBOL_VISIBLE
 
void set_dacen_pulse_extension (dacen_pulse_extension_type const &value) SYMBOL_VISIBLE
 
void set_enable_extended_timing (enable_extended_timing_type const &value) SYMBOL_VISIBLE
 
void set_enable_spl1 (enable_spl1_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, CommonPADIBusConfig const &event) SYMBOL_VISIBLE
 

Detailed Description

Configuration for a PADI bus block.

Each of the four buses can be configured to accept events from the PADI event trigger register or from the SPL1 merger matrix. Additionally the timing of PADI pulses can be modified.

Definition at line 161 of file padi.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::CommonPADIBusConfigOnDLS haldls::vx::CommonPADIBusConfig::coordinate_type

Definition at line 164 of file padi.h.

◆ dacen_pulse_extension_type

typedef halco::common:: typed_array<DacenPulseExtension, halco::hicann_dls::vx::PADIBusOnPADIBusBlock> haldls::vx::CommonPADIBusConfig::dacen_pulse_extension_type

Definition at line 189 of file padi.h.

◆ enable_extended_timing_type

typedef halco::common::typed_array<bool, halco::hicann_dls::vx::PADIBusOnPADIBusBlock> haldls::vx::CommonPADIBusConfig::enable_extended_timing_type

Definition at line 175 of file padi.h.

◆ enable_spl1_type

typedef halco::common::typed_array<bool, halco::hicann_dls::vx::PADIBusOnPADIBusBlock> haldls::vx::CommonPADIBusConfig::enable_spl1_type

Definition at line 172 of file padi.h.

◆ expose_as [1/2]

typedef halco::common::typed_array<bool, halco::hicann_dls::vx::PADIBusOnPADIBusBlock> haldls::vx::CommonPADIBusConfig::expose_as(_enable_extended_timing_type))

Definition at line 176 of file padi.h.

◆ expose_as [2/2]

typedef halco::common::typed_array<bool, halco::hicann_dls::vx::PADIBusOnPADIBusBlock> haldls::vx::CommonPADIBusConfig::expose_as(_enable_spl1_type))

Definition at line 172 of file padi.h.

◆ is_leaf_node

Definition at line 165 of file padi.h.

Constructor & Destructor Documentation

◆ CommonPADIBusConfig()

haldls::vx::CommonPADIBusConfig::CommonPADIBusConfig ( )

Member Function Documentation

◆ addresses()

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

◆ decode()

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

◆ encode()

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

◆ operator!=()

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

◆ operator==()

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

◆ return_value_policy() [1/3]

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

◆ return_value_policy() [2/3]

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

◆ return_value_policy() [3/3]

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

◆ set_dacen_pulse_extension()

void haldls::vx::CommonPADIBusConfig::set_dacen_pulse_extension ( dacen_pulse_extension_type const &  value)

◆ set_enable_extended_timing()

void haldls::vx::CommonPADIBusConfig::set_enable_extended_timing ( enable_extended_timing_type const &  value)

◆ set_enable_spl1()

void haldls::vx::CommonPADIBusConfig::set_enable_spl1 ( enable_spl1_type const &  value)

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 244 of file padi.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
CommonPADIBusConfig const &  event 
)
friend

Member Data Documentation

◆ config_size_in_words

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

Definition at line 229 of file padi.h.

◆ unsupported_read_targets

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

Definition at line 167 of file padi.h.


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