3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Smallfixes

This commit is contained in:
Akash Levy 2024-11-12 02:32:03 -08:00
parent 86d321a306
commit a3b4789934
2 changed files with 13 additions and 14 deletions

View file

@ -395,7 +395,6 @@ struct OptDffWorker
// Always-active enable. Make a comb circuit, nuke the FF/latch.
log("Handling always-active async load on %s (%s) from module %s (changing to combinatorial circuit).\n",
log_id(cell), log_id(cell->type), log_id(module));
ff.remove();
if (ff.has_sr) {
SigSpec tmp;
if (ff.is_fine) {
@ -432,6 +431,7 @@ struct OptDffWorker
} else {
module->connect(ff.sig_q, ff.sig_ad);
}
ff.remove();
did_something = true;
continue;
} else if (ff.sig_ad.is_fully_const() && !ff.has_arst && !ff.has_sr) {