Added $anyconst support to AIGER back-end

This commit is contained in:
Clifford Wolf 2016-12-11 13:48:18 +01:00
parent 8a717ae1dc
commit a61c88f122
1 changed files with 7 additions and 0 deletions

View File

@ -163,6 +163,13 @@ struct AigerWriter
continue;
}
if (cell->type == "$anyconst")
{
for (auto bit : sigmap(cell->getPort("\\Y")))
ff_map[bit] = bit;
continue;
}
log_error("Unsupported cell type: %s (%s)\n", log_id(cell->type), log_id(cell));
}