HALDLS
haldls::vx::JTAGIdCode Class Reference

Container for reading the JTAG IDCODE. More...

#include <jtag.h>

Classes

struct  ManufacturerId
 JEDEC Manufacturer ID code, Heidelberg University has '0x057'. More...
 
struct  PartNumber
 Device identification number. More...
 
struct  Version
 Hardware revision number, starting from 0. More...
 

Public Types

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

Public Member Functions

 JTAGIdCode () SYMBOL_VISIBLE
 Default constructor. More...
 
void decode (std::array< fisch::vx::word_access_type::JTAGIdCode, read_config_size_in_words > const &data) SYMBOL_VISIBLE
 
std::array< fisch::vx::word_access_type::JTAGIdCode, write_config_size_in_wordsencode () const SYMBOL_VISIBLE
 
ManufacturerId get_manufacturer_id () const SYMBOL_VISIBLE
 Get JEDEC Manufacturer ID code, Heidelberg University has '0x057'. More...
 
PartNumber get_part_number () const SYMBOL_VISIBLE
 Get device identification number. More...
 
Version get_version () const SYMBOL_VISIBLE
 Get hardware revision number, starting from 0. More...
 
bool operator!= (JTAGIdCode const &other) const SYMBOL_VISIBLE
 
bool operator== (JTAGIdCode const &other) const SYMBOL_VISIBLE
 
void set_manufacturer_id (ManufacturerId value) SYMBOL_VISIBLE
 Set JEDEC Manufacturer ID code, Heidelberg University has '0x057'. More...
 
void set_part_number (PartNumber value) SYMBOL_VISIBLE
 Set device identification number. More...
 
void set_version (Version value) SYMBOL_VISIBLE
 Set hardware revision number, starting from 0. More...
 

Static Public Member Functions

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

Static Public Attributes

static constexpr size_t read_config_size_in_words = 1
 
static constexpr size_t write_config_size_in_words = 0
 

Friends

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

Detailed Description

Container for reading the JTAG IDCODE.

Definition at line 169 of file jtag.h.

Member Typedef Documentation

◆ coordinate_type

typedef halco::hicann_dls::vx::JTAGIdCodeOnDLS haldls::vx::JTAGIdCode::coordinate_type

Definition at line 172 of file jtag.h.

◆ is_leaf_node

typedef std::true_type haldls::vx::JTAGIdCode::is_leaf_node

Definition at line 173 of file jtag.h.

Constructor & Destructor Documentation

◆ JTAGIdCode()

haldls::vx::JTAGIdCode::JTAGIdCode ( )

Default constructor.

Member Function Documentation

◆ decode()

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

◆ encode()

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

◆ get_manufacturer_id()

ManufacturerId haldls::vx::JTAGIdCode::get_manufacturer_id ( ) const

Get JEDEC Manufacturer ID code, Heidelberg University has '0x057'.

◆ get_part_number()

PartNumber haldls::vx::JTAGIdCode::get_part_number ( ) const

Get device identification number.

◆ get_version()

Version haldls::vx::JTAGIdCode::get_version ( ) const

Get hardware revision number, starting from 0.

◆ operator!=()

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

◆ operator==()

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

◆ read_addresses()

static std::array<halco::hicann_dls::vx::JTAGIdCodeOnDLS, read_config_size_in_words> haldls::vx::JTAGIdCode::read_addresses ( coordinate_type const &  word)
static

◆ set_manufacturer_id()

void haldls::vx::JTAGIdCode::set_manufacturer_id ( ManufacturerId  value)

Set JEDEC Manufacturer ID code, Heidelberg University has '0x057'.

◆ set_part_number()

void haldls::vx::JTAGIdCode::set_part_number ( PartNumber  value)

Set device identification number.

◆ set_version()

void haldls::vx::JTAGIdCode::set_version ( Version  value)

Set hardware revision number, starting from 0.

◆ write_addresses()

static std::array<halco::hicann_dls::vx::JTAGIdCodeOnDLS, write_config_size_in_words> haldls::vx::JTAGIdCode::write_addresses ( coordinate_type const &  word)
static

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 269 of file jtag.h.

◆ operator<<

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

Member Data Documentation

◆ read_config_size_in_words

constexpr size_t haldls::vx::JTAGIdCode::read_config_size_in_words = 1
staticconstexpr

Definition at line 256 of file jtag.h.

◆ write_config_size_in_words

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

Definition at line 257 of file jtag.h.


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