irioCoreCpp Library Module  2.1.0
Bitfile Parsing
Collaboration diagram for Bitfile Parsing:

Classes

class  irio::bfp::BFP
 BitFile Parser. More...
 
class  irio::bfp::DMA
 Class holding information about one DMA. More...
 
class  irio::bfp::Register
 Class holding information about one Register. More...
 
class  irio::bfp::Resource
 Class holding information about one resource (Register or DMA) More...
 

Enumerations

enum class  irio::bfp::ElemTypes : std::uint8_t {
  Bool , I8 , U8 , I16 ,
  U16 , I32 , U32 , I64 ,
  U64 , Unsupported
}
 Supported types for the elements of the different Resources in the Bitfile. More...
 
enum class  irio::bfp::FpgaTypes : std::uint8_t {
  FpgaType_Control , FpgaType_Indicator , FpgaType_ArrayControl , FpgaType_ArrayIndicator ,
  FpgaType_DMATtH , FpgaType_DMAHtT
}
 Type of Resource possible in the Bitfile. More...
 

Functions

ElemTypes irio::bfp::getElemTypeFromStr (const std::string &typeName)
 Parses a string and outputs a ElemType if exists an equivalence. More...
 

Detailed Description

Enumeration Type Documentation

◆ ElemTypes

enum irio::bfp::ElemTypes : std::uint8_t
strong

Supported types for the elements of the different Resources in the Bitfile.

Enumerator
Bool 

Bool.

I8 

I8.

U8 

U8.

I16 

I16.

U16 

U16.

I32 

I32.

U32 

U32.

I64 

I64.

U64 

U64.

Unsupported 

Unsupported.

Definition at line 13 of file elemtypes.h.

◆ FpgaTypes

enum irio::bfp::FpgaTypes : std::uint8_t
strong

Type of Resource possible in the Bitfile.

Enumerator
FpgaType_Control 

FpgaType_Control.

FpgaType_Indicator 

FpgaType_Indicator.

FpgaType_ArrayControl 

FpgaType_ArrayControl.

FpgaType_ArrayIndicator 

FpgaType_ArrayIndicator.

FpgaType_DMATtH 

FpgaType_DMATtH.

FpgaType_DMAHtT 

FpgaType_DMAHtT.

Definition at line 11 of file fpgatypes.h.

Function Documentation

◆ getElemTypeFromStr()

ElemTypes irio::bfp::getElemTypeFromStr ( const std::string &  typeName)

Parses a string and outputs a ElemType if exists an equivalence.

If it does not match, return ElemTypes::Unsupported

Parameters
typeNameString with the type
Returns
The equivalent ElemTypes