diff --git a/src/V3Simulate.h b/src/V3Simulate.h index 9a33a9429..559d30613 100644 --- a/src/V3Simulate.h +++ b/src/V3Simulate.h @@ -378,7 +378,11 @@ private: clearOptimizable(nodep, "Unknown node type, perhaps missing visitor in SimulateVisitor"); #ifdef VL_DEBUG - UINFO(0, "Unknown node type in SimulateVisitor: " << nodep->prettyTypeName() << endl); + static std::set s_typePrinted; + const auto pair = s_typePrinted.emplace(nodep->type()); + if (pair.second) + UINFO(0, + "Unknown node type in SimulateVisitor: " << nodep->prettyTypeName() << endl); #endif } }