Skip to content

Commit 212a025

Browse files
authored
Merge pull request #647 from chop0/master
vivado 2025.2.1 compatibility: add SW_CRC field to bitstream parser
2 parents b9486b0 + 4331cb7 commit 212a025

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/bitparser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ int BitParser::parseHeader()
109109
_hdr["userId"] = value;
110110
} else if (key == "Version") {
111111
_hdr["version"] = value;
112+
} else if (key == "SW_CRC") {
113+
_hdr["crc"] = value;
112114
} else {
113115
printError("Unknown key " + key);
114116
return -1;

0 commit comments

Comments
 (0)