mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Automatically select new objects in abc and techmap passes
This commit is contained in:
parent
79b3afa011
commit
b96ffed69b
3 changed files with 19 additions and 1 deletions
|
@ -112,6 +112,7 @@ static bool techmap_module(RTLIL::Design *design, RTLIL::Module *module, RTLIL::
|
|||
w->port_output = false;
|
||||
w->port_id = 0;
|
||||
module->wires[w->name] = w;
|
||||
design->select(module, w);
|
||||
}
|
||||
|
||||
for (auto &it : tpl->cells) {
|
||||
|
@ -122,6 +123,7 @@ static bool techmap_module(RTLIL::Design *design, RTLIL::Module *module, RTLIL::
|
|||
for (auto &it2 : c->connections)
|
||||
apply_prefix(cell_name, it2.second, module);
|
||||
module->cells[c->name] = c;
|
||||
design->select(module, c);
|
||||
}
|
||||
|
||||
for (auto &it : tpl->connections) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue