latticeBitParser, lattice: added 128 clock pulses padding before preamble: Required by ECP3 family

This commit is contained in:
Gwenhael Goavec-Merou
2026-02-25 09:53:28 +01:00
parent 0bc2594469
commit 35089045ea
3 changed files with 20 additions and 7 deletions
+2 -1
View File
@@ -15,7 +15,7 @@
class LatticeBitParser: public ConfigBitstreamParser {
public:
LatticeBitParser(const std::string &filename, bool machxo2,
LatticeBitParser(const std::string &filename, bool machxo2, bool ecp3,
bool verbose = false);
~LatticeBitParser();
int parse() override;
@@ -31,6 +31,7 @@ class LatticeBitParser: public ConfigBitstreamParser {
bool parseCfgData();
size_t _endHeader;
bool _is_machXO2;
bool _is_ecp3;
/* data storage for machXO2 */
std::vector<std::string> _bit_array;
};