36 std::pair<NumericAddressedRegisterCatalogue, MetadataCatalogue>
parse(
const std::string& file_name);
42 uint32_t nElements{0};
47 int32_t nFractionalBits{0};
48 bool signedFlag{
true};
51 std::vector<size_t> interruptID;
61 static std::pair<RegisterPath, std::string> splitStringAtLastDot(
RegisterPath moduleDotName);
63 static std::pair<NumericAddressedRegisterInfo::Type, int> getTypeAndNFractionalBits(
64 const std::string& bitInterpretation, uint32_t width);
67 static std::vector<size_t> getInterruptId(std::string accessType);
71 uint64_t bar, uint32_t width, int32_t nFractionalBits,
bool signedFlag);
73 void parseMetaData(std::string line);
75 ParsedLine parseLine(
const std::string& line);
81 void handle2D(
const ParsedLine& pl);
87 void handle2DNewStyle(
const ParsedLine& pl);
121 void make2DRegisterInfos(
const ParsedLine& pl, std::list<ParsedLine>& channelLines,
const std::string& prefix);
126 std::string file_name;
127 uint32_t line_nr = 0;
129 std::vector<ParsedLine> parsedLines;
130 std::map<RegisterPath, const ParsedLine&> parsedLinesMap;