Internals: Cleanups in V3Signed towards reals; no functional change

This commit is contained in:
Wilson Snyder
2011-07-05 21:05:35 -04:00
parent 7f49619875
commit a9ba4a9fcd
5 changed files with 46 additions and 28 deletions
+4
View File
@@ -113,6 +113,10 @@ string AstVar::vlArgType(bool named, bool forReturn) const {
arg += "const char*";
} else if (bdtypep && bdtypep->keyword()==AstBasicDTypeKwd::SCOPEPTR) {
arg += "const VerilatedScope*";
} else if (bdtypep && bdtypep->keyword()==AstBasicDTypeKwd::REAL) {
arg += "double";
} else if (bdtypep && bdtypep->keyword()==AstBasicDTypeKwd::SHORTREAL) {
arg += "float";
} else if (strtype) {
if (isInOnly()) arg += "const ";
arg += "string";