From: Clifford Wolf Date: Wed, 9 Nov 2016 12:13:26 +0000 (+0100) Subject: Minor bugfix in submod X-Git-Tag: yosys-0.8~591 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1827a4896475efae6a88b18bad8787bcea7c6a92;p=yosys.git Minor bugfix in submod --- 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);