aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/techmap.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-03-08 09:16:25 +0100
committerClifford Wolf <clifford@clifford.at>2013-03-08 09:16:25 +0100
commitb96ffed69b1445cadb4eee0cc5272dd8b1bc915e (patch)
treebe09e71918699b1157c3e0063b6ae3fa0c8658ca /passes/techmap/techmap.cc
parent79b3afa0110f975f300674426c938bab25d76baf (diff)
downloadyosys-b96ffed69b1445cadb4eee0cc5272dd8b1bc915e.tar.gz
yosys-b96ffed69b1445cadb4eee0cc5272dd8b1bc915e.tar.bz2
yosys-b96ffed69b1445cadb4eee0cc5272dd8b1bc915e.zip
Automatically select new objects in abc and techmap passes
Diffstat (limited to 'passes/techmap/techmap.cc')
-rw-r--r--passes/techmap/techmap.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc
index d959dbe1d..c05a96cd4 100644
--- a/passes/techmap/techmap.cc
+++ b/passes/techmap/techmap.cc
@@ -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) {