mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
For UNUSED warning, ignore genvars
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user