mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Fix verific import of enum values with x and/or z
Signed-off-by: Claire Xenia Wolf <[email protected]>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user