Struct tbman#

Struct Documentation#

struct tbman#

Testbench manager. Allows the programmer to know what platform their software is running on.

Public Functions

inline bool get_PLATFORM_ASIC() volatile#

Get PLATFORM’s ASIC bit.

Indicates the platform is an ASIC

inline bool get_PLATFORM_FPGA() volatile#

Get PLATFORM’s FPGA bit.

Indicates the platform is an FPGA

inline void get_PLATFORM(bool &ASIC, bool &FPGA) volatile#

Get all of PLATFORM’s bit fields.

(read-only) Indicates the type of platform in use

Public Members

const uint32_t PLATFORM = {}#

(read-only) Indicates the type of platform in use

Public Static Attributes

static constexpr std::size_t size = 4#

tbman’s size in bytes.