interchange: Don't attempt to import instances as modules
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
6be26fbde7
commit
c74f0d3239
@ -808,11 +808,6 @@ struct LogicalNetlistImpl
|
||||
|
||||
template <typename TFunc> void foreach_module(TFunc Func) const
|
||||
{
|
||||
for (const auto &cell_inst : root.getInstList()) {
|
||||
ModuleReader module(this, cell_inst, /*is_top=*/false);
|
||||
Func(strings.at(cell_inst.getName()), module);
|
||||
}
|
||||
|
||||
auto top = root.getTopInst();
|
||||
ModuleReader top_module(this, top, /*is_top=*/true);
|
||||
Func(strings.at(top.getName()), top_module);
|
||||
|
Loading…
Reference in New Issue
Block a user