xaiger: add check for $__ABC9_DELAY model

This commit is contained in:
Eddie Hung 2020-03-26 09:22:27 -07:00
parent 840bb17089
commit 0808318d55
1 changed files with 4 additions and 0 deletions

View File

@ -280,6 +280,10 @@ struct XAigerWriter
if (abc9_flop)
continue;
}
else {
if (cell->type == ID($__ABC9_DELAY))
log_error("Cell type '%s' not recognised. Check that '+/abc9_model.v' has been read.\n", cell->type.c_str());
}
bool cell_known = inst_module || cell->known();
for (const auto &c : cell->connections()) {