mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 19:21:23 +00:00
add morphCell instead of type assignments, test_cell passes for all cells
This commit is contained in:
parent
d2107a9ee4
commit
1be8f8023a
33 changed files with 129 additions and 99 deletions
|
@ -220,7 +220,7 @@ struct SetparamPass : public Pass {
|
|||
{
|
||||
for (auto cell : module->selected_cells()) {
|
||||
if (!new_cell_type.empty())
|
||||
cell->type = new_cell_type;
|
||||
cell = cell->module->morphCell(new_cell_type, cell);
|
||||
do_setunset(cell->parameters, setunset_list);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue