mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 09:59:03 +02:00
bitparser: reverOrder is now configurable, fix _bit_length must be in bit instead of byte
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user