Fix verific import of enum values with x and/or z

Signed-off-by: Claire Xenia Wolf <[email protected]>
This commit is contained in:
Claire Xenia Wolf
2021-12-10 14:52:27 +01:00
parent ce82afe44f
commit 2da214d721
+1 -1
View File
@@ -198,7 +198,7 @@ void VerificImporter::import_attributes(dict<RTLIL::IdString, RTLIL::Const> &att
p = nullptr;
else
for (auto q = p+2; *q != '\0'; q++)
if (*q != '0' && *q != '1') {
if (*q != '0' && *q != '1' && *q != 'x' && *q != 'z') {
p = nullptr;
break;
}