HALDLS
haldls::vx::PhyStatus Class Reference

#include <phy.h>

Classes

struct  CRCErrorCount
 Number of CRC errors since last reset. More...
 
struct  OnlineTime
 Online time in cycles since last reset. More...
 
struct  RxCount
 Number of rx words from Chip since last reset. More...
 
struct  RxDroppedCount
 Number of dropped rx words. More...
 
struct  TxCount
 Number of tx words to Chip since last reset. More...
 

Public Types

typedef halco::hicann_dls::vx::PhyStatusOnFPGA coordinate_type
 
typedef std::true_type is_leaf_node
 

Public Member Functions

 PhyStatus () SYMBOL_VISIBLE
 
void decode (std::array< fisch::vx::word_access_type::Omnibus, read_config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::Omnibus, write_config_size_in_wordsencode () const SYMBOL_VISIBLE
 
CRCErrorCount get_crc_error_count () const SYMBOL_VISIBLE
 
OnlineTime get_online_time () const SYMBOL_VISIBLE
 
RxCount get_rx_count () const SYMBOL_VISIBLE
 
RxDroppedCount get_rx_dropped_count () const SYMBOL_VISIBLE
 
TxCount get_tx_count () const SYMBOL_VISIBLE
 
bool operator!= (PhyStatus const &other) const SYMBOL_VISIBLE
 
bool operator== (PhyStatus const &other) const SYMBOL_VISIBLE
 
void set_crc_error_count (CRCErrorCount value) SYMBOL_VISIBLE
 
void set_online_time (OnlineTime value) SYMBOL_VISIBLE
 
void set_rx_count (RxCount value) SYMBOL_VISIBLE
 
void set_rx_dropped_count (RxDroppedCount value) SYMBOL_VISIBLE
 
void set_tx_count (TxCount value) SYMBOL_VISIBLE
 

Static Public Member Functions

static std::array< halco::hicann_dls::vx::OmnibusAddress, read_config_size_in_wordsread_addresses (coordinate_type const &coord) SYMBOL_VISIBLE
 
static std::array< halco::hicann_dls::vx::OmnibusAddress, write_config_size_in_wordswrite_addresses (coordinate_type const &coord) SYMBOL_VISIBLE
 

Static Public Attributes

static constexpr size_t read_config_size_in_words = 5
 
static constexpr size_t write_config_size_in_words = 0
 

Friends

class cereal::access
 
std::ostream & operator<< (std::ostream &os, PhyStatus const &config) SYMBOL_VISIBLE
 

Detailed Description

Definition at line 367 of file phy.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::PhyStatusOnFPGA haldls::vx::PhyStatus::coordinate_type

Definition at line 370 of file phy.h.

◆ is_leaf_node

typedef std::true_type haldls::vx::PhyStatus::is_leaf_node

Definition at line 371 of file phy.h.

Constructor & Destructor Documentation

◆ PhyStatus()

haldls::vx::PhyStatus::PhyStatus ( )

Member Function Documentation

◆ decode()

void haldls::vx::PhyStatus::decode ( std::array< fisch::vx::word_access_type::Omnibus, read_config_size_in_words > const &  data)

◆ encode()

std::array<fisch::vx::word_access_type::Omnibus, write_config_size_in_words> haldls::vx::PhyStatus::encode ( ) const

◆ get_crc_error_count()

CRCErrorCount haldls::vx::PhyStatus::get_crc_error_count ( ) const

◆ get_online_time()

OnlineTime haldls::vx::PhyStatus::get_online_time ( ) const

◆ get_rx_count()

RxCount haldls::vx::PhyStatus::get_rx_count ( ) const

◆ get_rx_dropped_count()

RxDroppedCount haldls::vx::PhyStatus::get_rx_dropped_count ( ) const

◆ get_tx_count()

TxCount haldls::vx::PhyStatus::get_tx_count ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ read_addresses()

static std::array<halco::hicann_dls::vx::OmnibusAddress, read_config_size_in_words> haldls::vx::PhyStatus::read_addresses ( coordinate_type const &  coord)
static

◆ set_crc_error_count()

void haldls::vx::PhyStatus::set_crc_error_count ( CRCErrorCount  value)

◆ set_online_time()

void haldls::vx::PhyStatus::set_online_time ( OnlineTime  value)

◆ set_rx_count()

void haldls::vx::PhyStatus::set_rx_count ( RxCount  value)

◆ set_rx_dropped_count()

void haldls::vx::PhyStatus::set_rx_dropped_count ( RxDroppedCount  value)

◆ set_tx_count()

void haldls::vx::PhyStatus::set_tx_count ( TxCount  value)

◆ write_addresses()

static std::array<halco::hicann_dls::vx::OmnibusAddress, write_config_size_in_words> haldls::vx::PhyStatus::write_addresses ( coordinate_type const &  coord)
static

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 473 of file phy.h.

◆ operator<<

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

Member Data Documentation

◆ read_config_size_in_words

constexpr size_t haldls::vx::PhyStatus::read_config_size_in_words = 5
staticconstexpr

Definition at line 461 of file phy.h.

◆ write_config_size_in_words

constexpr size_t haldls::vx::PhyStatus::write_config_size_in_words = 0
staticconstexpr

Definition at line 462 of file phy.h.


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