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:
parent
9f911e3d63
commit
1dd846022b
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue