From fc25721e55f8d555fc4bc85620d228fdcc8e128b Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 22 Jul 2021 20:13:45 -0400 Subject: [PATCH] Increase instruction count of ChangeDet (#3072) --- src/V3AstNodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3AstNodes.h b/src/V3AstNodes.h index e85401a07..55239b529 100644 --- a/src/V3AstNodes.h +++ b/src/V3AstNodes.h @@ -4736,7 +4736,7 @@ public: bool isClockReq() const { return m_clockReq; } virtual bool isGateOptimizable() const override { return false; } virtual bool isPredictOptimizable() const override { return false; } - virtual int instrCount() const override { return widthInstrs(); } + virtual int instrCount() const override { return widthInstrs() * 2; } // xor, or/logor virtual bool same(const AstNode* samep) const override { return true; } };