4 #include <unordered_map>
31 explicit BFP(
const std::string &bitfile,
const bool warnUnsupported =
true);
72 std::unordered_map<std::string, DMA>
getDMAs()
const;
96 std::unordered_map<std::string, Register>
m_regMap;
Register getRegister(const std::string ®isterName) const
Get specific register.
std::uint32_t m_baseAddress
Bitfile's base address.
std::unordered_map< std::string, Register > m_regMap
Map storing the data of the registers parsed, using their names as keys.
std::unordered_map< std::string, Register > getRegisters() const
Get map with all the registers parsed, the key is the register name (without spaces)
std::string getSignature() const
Return the Bitfile' signature.
std::string m_bitfileVersion
Bitfile's version.
std::string m_signature
Bitfile's signature.
const std::string m_bitfilePath
Path to the bitfile to be parsed.
std::unordered_map< std::string, DMA > m_dmaMap
Map storing the data of the DMAs parsed, using their names as keys.
std::string getBitfilePath() const
Return the path of the parsed Bitfile.
std::string getBitfileVersion() const
Returns the Bitfile version.
BFP(const std::string &bitfile, const bool warnUnsupported=true)
Parse the specified bitfile.
DMA getDMA(const std::string &dmaName) const
Get specific DMA.
std::unordered_map< std::string, DMA > getDMAs() const
Get map with all the DMAs parsed, the key if the DMA name (without spaces)
Class holding information about one DMA.
Class holding information about one Register.