mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
SystemC 2.3.0 or newer (SYSTEMC_VERSION >= 20111121) is now required.
This commit is contained in:
+1
-2
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user