bitparser: reverOrder is now configurable, fix _bit_length must be in bit instead of byte

This commit is contained in:
Gwenhael Goavec-Merou
2020-09-25 18:42:32 +02:00
parent 9a8a7400b9
commit fceaada9ba
2 changed files with 11 additions and 5 deletions
+2 -1
View File
@@ -8,7 +8,7 @@
class BitParser: public ConfigBitstreamParser {
public:
BitParser(const std::string &filename, bool verbose = false);
BitParser(const std::string &filename, bool reverseOrder, bool verbose = false);
~BitParser();
int parse() override;
@@ -21,6 +21,7 @@ class BitParser: public ConfigBitstreamParser {
std::string design_name;
std::string userID;
std::string toolVersion;
bool _reverseOrder;
};
#endif