Skip to content

Commit

Permalink
equiv_induct: change missing SAT model warning to error
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed Mar 6, 2025
1 parent 176131b commit 5eb46f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions passes/equiv/equiv_induct.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ struct EquivInductWorker
for (auto cell : cells) {
if (!satgen.importCell(cell, step) && !cell_warn_cache.count(cell)) {
if (RTLIL::builtin_ff_cell_types().count(cell->type))
log_warning("No SAT model available for async FF cell %s (%s). Consider running `async2sync` or `clk2fflogic` first.\n", log_id(cell), log_id(cell->type));
log_cmd_error("No SAT model available for async FF cell %s (%s). Consider running `async2sync` or `clk2fflogic` first.\n", log_id(cell), log_id(cell->type));
else
log_warning("No SAT model available for cell %s (%s).\n", log_id(cell), log_id(cell->type));
log_cmd_error("No SAT model available for cell %s (%s).\n", log_id(cell), log_id(cell->type));
cell_warn_cache.insert(cell);
}
if (cell->type == ID($equiv)) {
Expand Down

0 comments on commit 5eb46f9

Please # to comment.