From d261c4cd27dd8457b7dbe065ff471b4d6cbd799b Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 29 Dec 2010 18:10:02 -0500 Subject: [PATCH] For UNUSED warning, ignore genvars --- src/V3Undriven.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3Undriven.cpp b/src/V3Undriven.cpp index 283262599..bf0ab47b1 100644 --- a/src/V3Undriven.cpp +++ b/src/V3Undriven.cpp @@ -131,7 +131,7 @@ public: void reportViolations() { // Combine bits into overall state AstVar* nodep = m_varp; - if (!nodep->isParam()) { + if (!nodep->isParam() && !nodep->isGenVar()) { bool allU=true; bool allD=true; bool anyU=m_usedWhole;