From cc910fa4c4b8974c5b7de9d15f0e61bf937d7599 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Thu, 30 Oct 2025 15:18:47 +0000 Subject: [PATCH] Internals: Clear 'isPure' cache in V3Depth --- src/V3Depth.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/V3Depth.cpp b/src/V3Depth.cpp index b7f70e3a5..f1728812f 100644 --- a/src/V3Depth.cpp +++ b/src/V3Depth.cpp @@ -150,6 +150,8 @@ public: explicit DepthVisitor(AstNetlist* nodep) : m_tempNames{"__Vdeeptemp"} { iterate(nodep); + // Extracting expressions can effect purity + VIsCached::clearCacheTree(); } ~DepthVisitor() override = default; };