HALDLS
haldls::vx::PollingOmnibusBlock Class Reference

Container for polling block operation on a Omnibus address. More...

#include <block.h>

Public Types

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

Public Member Functions

 PollingOmnibusBlock (bool enable_expects_equality=true) SYMBOL_VISIBLE
 Resolve block if value is true (*address & mask == target) or if value is false (*address & mask != target). More...
 
fisch::vx::word_access_type::PollingOmnibusBlock encode () const SYMBOL_VISIBLE
 
bool get_enable_expects_equality () const SYMBOL_VISIBLE
 Get enable expects equality value. More...
 
bool operator!= (PollingOmnibusBlock const &other) const SYMBOL_VISIBLE
 
bool operator== (PollingOmnibusBlock const &other) const SYMBOL_VISIBLE
 
void set_enable_expects_equality (bool value) SYMBOL_VISIBLE
 Get enable expects equality value. More...
 

Friends

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

Detailed Description

Container for polling block operation on a Omnibus address.

Compare given value from address in FPGA register file masked with expected target result.

Definition at line 89 of file block.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::PollingOmnibusBlockOnFPGA haldls::vx::PollingOmnibusBlock::coordinate_type

Definition at line 92 of file block.h.

◆ is_leaf_node

Definition at line 93 of file block.h.

Constructor & Destructor Documentation

◆ PollingOmnibusBlock()

haldls::vx::PollingOmnibusBlock::PollingOmnibusBlock ( bool  enable_expects_equality = true)

Resolve block if value is true (*address & mask == target) or if value is false (*address & mask != target).

Member Function Documentation

◆ encode()

fisch::vx::word_access_type::PollingOmnibusBlock haldls::vx::PollingOmnibusBlock::encode ( ) const

◆ get_enable_expects_equality()

bool haldls::vx::PollingOmnibusBlock::get_enable_expects_equality ( ) const

Get enable expects equality value.

Resolve block if value is true (*address & mask == target) or if value is false (*address & mask != target).

Returns
Boolean value

◆ operator!=()

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

◆ operator==()

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

◆ set_enable_expects_equality()

void haldls::vx::PollingOmnibusBlock::set_enable_expects_equality ( bool  value)

Get enable expects equality value.

Resolve block if value is true (*address & mask == target) or if value is false (*address & mask != target).

Returns
Boolean value

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 130 of file block.h.

◆ operator<<

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

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