mirror of https://github.com/YosysHQ/yosys.git
Fix opt_dff cell naming
This commit is contained in:
parent
9f911e3d63
commit
1dd846022b
|
|
@ -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…
Reference in New Issue