Minor bugfix in submod
authorClifford Wolf <clifford@clifford.at>
Wed, 9 Nov 2016 12:13:26 +0000 (13:13 +0100)
committerClifford Wolf <clifford@clifford.at>
Wed, 9 Nov 2016 12:13:26 +0000 (13:13 +0100)
passes/hierarchy/submod.cc

index 9f312f82dfc00f2acdf8c4381b7ba69ca866b408..e9ee4eef96008279689b3e98b15d74bc7e56e96e 100644 (file)
@@ -169,6 +169,7 @@ struct SubmodWorker
                }
 
                new_mod->fixup_ports();
+               ct.setup_module(new_mod);
 
                for (RTLIL::Cell *cell : submod.cells) {
                        RTLIL::Cell *new_cell = new_mod->addCell(cell->name, cell);