From c74f0d32395283c33f4d71dc1a6ca461eef616e1 Mon Sep 17 00:00:00 2001 From: gatecat Date: Mon, 26 Jul 2021 15:36:20 +0100 Subject: interchange: Don't attempt to import instances as modules Signed-off-by: gatecat --- fpga_interchange/fpga_interchange.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'fpga_interchange/fpga_interchange.cpp') diff --git a/fpga_interchange/fpga_interchange.cpp b/fpga_interchange/fpga_interchange.cpp index 1c6e6ce8..671b29f1 100644 --- a/fpga_interchange/fpga_interchange.cpp +++ b/fpga_interchange/fpga_interchange.cpp @@ -808,11 +808,6 @@ struct LogicalNetlistImpl template 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); -- cgit v1.2.3