mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-02 01:13:19 +00:00
Cleanup
This commit is contained in:
parent
3ebba74461
commit
d80678e581
1 changed files with 3 additions and 3 deletions
|
@ -527,7 +527,7 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
|
||||||
}
|
}
|
||||||
RTLIL::Module* box_module = design->module(cell->type);
|
RTLIL::Module* box_module = design->module(cell->type);
|
||||||
if (box_module && box_module->attributes.count("\\abc_box_id"))
|
if (box_module && box_module->attributes.count("\\abc_box_id"))
|
||||||
boxes.emplace_back(it->second);
|
boxes.emplace_back(cell);
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -629,8 +629,8 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto cell : boxes)
|
for (auto cell : boxes)
|
||||||
module->remove(cell);
|
module->remove(cell);
|
||||||
|
|
||||||
// Copy connections (and rename) from mapped_mod to module
|
// Copy connections (and rename) from mapped_mod to module
|
||||||
for (auto conn : mapped_mod->connections()) {
|
for (auto conn : mapped_mod->connections()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue