Fix mis-splitting of dump control functions (#4821).

This commit is contained in:
Wilson Snyder 2024-01-12 08:19:30 -05:00
parent fcdd8e5da6
commit 21bf2d62d2
3 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,7 @@ Verilator 5.021 devel
* Remove deprecated 32-bit pointer mode (`gcc -m32`).
* Fix delays using wrong timeunits when modules inlined (#4806). [Paul Wright]
* Fix lint_off disables on preprocessor warnings (#4703). [Srinivasan Venkataramanan]
* Fix mis-splitting of dump control functions (#4821). [Fan Shupei]
Verilator 5.020 2024-01-01

View File

@ -2072,6 +2072,7 @@ public:
string emitC() override { return "VL_VALUEPLUSARGS_%nq(%lw, %P, nullptr)"; }
bool isGateOptimizable() const override { return false; }
bool isPredictOptimizable() const override { return false; }
// but isPure() true
bool cleanOut() const override { return true; }
bool same(const AstNode* /*samep*/) const override { return true; }
};
@ -3479,6 +3480,7 @@ public:
bool sizeMattersRhs() const override { return false; }
bool isGateOptimizable() const override { return false; }
bool isPredictOptimizable() const override { return false; }
bool isPure() override { return false; }
int instrCount() const override { return INSTR_COUNT_PLI; }
};

View File

@ -2840,8 +2840,9 @@ public:
ASTGEN_MEMBERS_AstDumpCtl;
string verilogKwd() const override { return ctlType().ascii(); }
bool isGateOptimizable() const override { return false; }
bool isPredictOptimizable() const override { return false; }
bool isOutputter() override { return true; }
bool isPredictOptimizable() const override { return false; }
bool isPure() override { return false; }
virtual bool cleanOut() const { return true; }
bool same(const AstNode* /*samep*/) const override { return true; }
VDumpCtlType ctlType() const { return m_ctlType; }