mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 10:55:51 +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
|
@ -332,7 +332,7 @@ struct ShregmapWorker
|
|||
if (opts.ffe) first_cell->setParam(ID(ENPOL), param_enpol);
|
||||
}
|
||||
|
||||
first_cell->type = shreg_cell_type_str;
|
||||
first_cell = first_cell->module->morphCell(shreg_cell_type_str, first_cell);
|
||||
first_cell->setPort(q_port, last_cell->getPort(q_port));
|
||||
first_cell->setParam(ID::DEPTH, depth);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue