mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-03 13:55:48 +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
|
@ -207,7 +207,7 @@ struct RpcModule : RTLIL::Module {
|
|||
for (auto module : derived_design->modules())
|
||||
for (auto cell : module->cells())
|
||||
if (name_mangling.count(cell->type.str()))
|
||||
cell->type = name_mangling[cell->type.str()];
|
||||
cell = cell->module->morphCell(name_mangling[cell->type.str()], cell);
|
||||
|
||||
for (auto module : derived_design->modules_) {
|
||||
std::string mangled_name = name_mangling[module.first.str()];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue