xaiger: add check for $__ABC9_DELAY model

This commit is contained in:
Eddie Hung
2020-04-13 19:11:23 -07:00
parent 840bb17089
commit 0808318d55
+4
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()) {