Fix opt_dff cell naming

This commit is contained in:
Akash Levy 2026-01-28 23:36:49 -08:00
parent 9f911e3d63
commit 1dd846022b
1 changed files with 2 additions and 0 deletions

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);