mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-01-25 11:47:32 +00:00
dcu: Fix bitstream param handling
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
@@ -493,6 +493,7 @@ static std::vector<bool> parse_config_str(std::string str, int length) {
|
||||
for (int i = 0; i < int(str.length()) - 2; i++) {
|
||||
char c = str.at((str.size() - 1) - i);
|
||||
NPNR_ASSERT(c == '0' || c == '1');
|
||||
word.at(i) = (c == '1');
|
||||
}
|
||||
} else if (base == "0x") {
|
||||
for (int i = 0; i < int(str.length()) - 2; i++) {
|
||||
|
||||
Reference in New Issue
Block a user