Fix type parameters with low optimization, bug1101.

Signed-off-by: Wilson Snyder <[email protected]>
This commit is contained in:
Stefan Wallentowitz
2016-11-04 22:58:21 -04:00
committed by Wilson Snyder
parent f74ef650ac
commit 3edba7b662
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -9,6 +9,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
**** Fix error on bad interface name, bug1097. [Todd Strader]
**** Fix type parameters with low optimization, bug1101. [Stefan Wallentowitz]
* Verilator 3.888 2016-10-14
+4
View File
@@ -128,6 +128,10 @@ private:
varp->user4(usedLetter[static_cast<int>(ch)]*256 + ch);
usedLetter[static_cast<int>(ch)]++;
}
} else if (AstParamTypeDType* typep = stmtp->castParamTypeDType()) {
char ch = 'T';
typep->user4(usedLetter[static_cast<int>(ch)]*256 + ch);
usedLetter[static_cast<int>(ch)]++;
}
}
}