Use 'vluint64_t' for SystemC instead of (same sized) 'uint64' for MSVC++.

This commit is contained in:
Wilson Snyder
2011-06-29 19:19:01 -04:00
parent 8137f41fc3
commit 6e41d532fe
9 changed files with 20 additions and 18 deletions
+2 -2
View File
@@ -185,7 +185,7 @@ string AstVar::cPubArgType(bool named, bool forReturn) const {
} else if (isWide()) {
arg += "uint32_t"; // []'s added later
} else {
arg += "uint64_t";
arg += "vluint64_t";
}
if (isWide()) {
if (forReturn) v3error("Unsupported: Public functions with >64 bit outputs; make an output of a public task instead");
@@ -237,7 +237,7 @@ string AstVar::scType() const {
return "uint32_t";
}
} else {
return "uint64_t";
return "vluint64_t";
}
}