3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-17 04:35:44 +00:00

Fix opt_dff cell naming

This commit is contained in:
Akash Levy 2026-01-28 23:36:49 -08:00
parent 9f911e3d63
commit 1dd846022b

View file

@ -623,6 +623,7 @@ struct OptDffWorker
new_ff.ce_over_srst = true;
Cell *new_cell = new_ff.emit();
module->swap_names(cell, new_cell);
if (new_cell)
dff_cells.push_back(new_cell);
@ -697,6 +698,7 @@ struct OptDffWorker
new_ff.ce_over_srst = false;
Cell *new_cell = new_ff.emit();
module->swap_names(cell, new_cell);
if (new_cell)
dff_cells.push_back(new_cell);