1
0
mirror of synced 2026-01-25 11:56:22 +00:00

Merge pull request #1917 from YosysHQ/eddie/abc9_delay_check

xaiger: add check for $__ABC9_DELAY model
This commit is contained in:
Eddie Hung
2020-04-14 06:01:55 -07:00
committed by GitHub

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()) {