1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-02-17 13:17:42 +00:00

Merge pull request #779 from YosysHQ/gatecat/ic-import-fix

interchange: Don't attempt to import instances as modules
This commit is contained in:
gatecat
2021-07-26 16:57:49 +01:00
committed by GitHub

View File

@@ -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);