Merge pull request #779 from YosysHQ/gatecat/ic-import-fix
interchange: Don't attempt to import instances as modules
This commit is contained in:
commit
0b36616940
@ -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