From 1827a4896475efae6a88b18bad8787bcea7c6a92 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 9 Nov 2016 13:13:26 +0100 Subject: [PATCH] Minor bugfix in submod --- passes/hierarchy/submod.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/passes/hierarchy/submod.cc b/passes/hierarchy/submod.cc index 9f312f82d..e9ee4eef9 100644 --- a/passes/hierarchy/submod.cc +++ b/passes/hierarchy/submod.cc @@ -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); -- 2.30.2