diff --git a/plugins/simulator/netlist_simulator_controller/src/netlist_simulator_controller.cpp b/plugins/simulator/netlist_simulator_controller/src/netlist_simulator_controller.cpp index 124f45bf845..7f0ccfe5051 100644 --- a/plugins/simulator/netlist_simulator_controller/src/netlist_simulator_controller.cpp +++ b/plugins/simulator/netlist_simulator_controller/src/netlist_simulator_controller.cpp @@ -884,6 +884,7 @@ namespace hal for (const Gate* g: mSimulationInput->get_gates()) { Module* m = g->get_module(); + // test all parent modules whether gates are contained in simulation while (m) { auto it = containedModules.find(m); @@ -899,6 +900,11 @@ namespace hal m = m->get_parent_module(); } } + for (const auto &it : containedModules) + { + if (it.second.empty()) + std::cerr << it.first->get_id() << " mod simulated <" << it.first->get_name() << ">" << std::endl; + } } void NetlistSimulatorController::add_gates(const std::vector& gates)