Internals: Clear 'isPure' cache in V3Depth

This commit is contained in:
Geza Lore 2025-10-30 15:18:47 +00:00
parent a4c5d2e29c
commit cc910fa4c4
1 changed files with 2 additions and 0 deletions

View File

@ -150,6 +150,8 @@ public:
explicit DepthVisitor(AstNetlist* nodep)
: m_tempNames{"__Vdeeptemp"} {
iterate(nodep);
// Extracting expressions can effect purity
VIsCached::clearCacheTree();
}
~DepthVisitor() override = default;
};