mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-19 01:32:20 +00:00
equiv: Suggest running async2sync or clk2fflogic where appropriate.
See #2713.
This commit is contained in:
parent
ba2ff1ea98
commit
b7ea71e6e3
2 changed files with 10 additions and 3 deletions
|
@ -55,7 +55,10 @@ struct EquivInductWorker
|
|||
|
||||
for (auto cell : cells) {
|
||||
if (!satgen.importCell(cell, step) && !cell_warn_cache.count(cell)) {
|
||||
log_warning("No SAT model available for cell %s (%s).\n", log_id(cell), log_id(cell->type));
|
||||
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));
|
||||
else
|
||||
log_warning("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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue