Fix reserved keywords reaching emitter (#7666)

This commit is contained in:
Pawel Kojma
2026-05-28 10:04:14 -04:00
committed by GitHub
parent 3bc7021211
commit 70045433c9
4 changed files with 42 additions and 0 deletions
+1
View File
@@ -83,6 +83,7 @@ class NameVisitor final : public VNVisitorConst {
VL_RESTORER(m_modp);
m_modp = nodep;
iterateChildrenConst(nodep);
rename(nodep, false);
}
// Add __PVT__ to names of local signals
void visit(AstVar* nodep) override {