SystemC 2.3.0 or newer (SYSTEMC_VERSION >= 20111121) is now required.

This commit is contained in:
Wilson Snyder
2020-08-29 10:45:47 -04:00
parent 96a959154a
commit 069eb97eca
18 changed files with 25 additions and 275 deletions
+1 -2
View File
@@ -1858,7 +1858,6 @@ void EmitCStmts::emitVarCtors(bool* firstp) {
if (!m_ctorVarsVec.empty()) {
ofp()->indentInc();
puts("\n");
puts("#if (SYSTEMC_VERSION>20011000)\n"); // SystemC 2.0.1 and newer
for (const AstVar* varp : m_ctorVarsVec) {
bool isArray = !VN_CAST(varp->dtypeSkipRefp(), BasicDType);
if (isArray) {
@@ -1873,7 +1872,7 @@ void EmitCStmts::emitVarCtors(bool* firstp) {
puts(")");
}
}
puts("\n#endif\n");
puts("\n");
ofp()->indentDec();
}
}