vivado 2025.2.1 compatibility: add SW_CRC field to bitstream parser

This commit is contained in:
alec 2026-04-12 13:50:15 -07:00
parent b9486b099e
commit 4331cb74c7
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,8 @@ int BitParser::parseHeader()
_hdr["userId"] = value; _hdr["userId"] = value;
} else if (key == "Version") { } else if (key == "Version") {
_hdr["version"] = value; _hdr["version"] = value;
} else if (key == "SW_CRC") {
_hdr["crc"] = value;
} else { } else {
printError("Unknown key " + key); printError("Unknown key " + key);
return -1; return -1;