mirror of https://github.com/YosysHQ/yosys.git
Fix verific import of enum values with x and/or z
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
parent
ce82afe44f
commit
2da214d721
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue