aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fpga_interchange/fpga_interchange.cpp5
1 files changed, 0 insertions, 5 deletions
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 <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);