Ignore $scopeinfo in write_smv

This commit is contained in:
Jannis Harder 2024-01-11 15:11:11 +01:00
parent 55d8425468
commit 418bf61b8d
1 changed files with 3 additions and 0 deletions

View File

@ -573,6 +573,9 @@ struct SmvWorker
continue; continue;
} }
if (cell->type == ID($scopeinfo))
continue;
if (cell->type[0] == '$') { if (cell->type[0] == '$') {
if (cell->type.in(ID($dffe), ID($sdff), ID($sdffe), ID($sdffce)) || cell->type.str().substr(0, 6) == "$_SDFF" || (cell->type.str().substr(0, 6) == "$_DFFE" && cell->type.str().size() == 10)) { if (cell->type.in(ID($dffe), ID($sdff), ID($sdffe), ID($sdffce)) || cell->type.str().substr(0, 6) == "$_SDFF" || (cell->type.str().substr(0, 6) == "$_DFFE" && cell->type.str().size() == 10)) {
log_error("Unsupported cell type %s for cell %s.%s -- please run `dffunmap` before `write_smv`.\n", log_error("Unsupported cell type %s for cell %s.%s -- please run `dffunmap` before `write_smv`.\n",