mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Smallfixes
This commit is contained in:
parent
86d321a306
commit
a3b4789934
2 changed files with 13 additions and 14 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue