Do not check for 1 and 0 only

This commit is contained in:
Miodrag Milanovic 2020-08-30 13:15:06 +02:00
parent b1e3bc059c
commit 2f93579bd1
1 changed files with 0 additions and 6 deletions

View File

@ -203,12 +203,6 @@ void VerificImporter::import_attributes(dict<RTLIL::IdString, RTLIL::Const> &att
auto p = v;
if (p) {
if (*p != '"') {
auto *q = p;
for (; *q != '\0'; q++)
if (*q != '0' && *q != '1') {
p = nullptr;
break;
}
if (p != nullptr)
attributes.emplace(stringf("\\enum_value_%s", p), RTLIL::escape_id(k));
} else {