From 951cd73fe094b3fabaaf2b6ab63427fdb202f353 Mon Sep 17 00:00:00 2001 From: Krzysztof Bieganski Date: Thu, 18 Aug 2022 12:33:45 +0200 Subject: [PATCH] Handle MemberSel in V3EmitV.cpp (#3555) --- src/V3EmitV.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/V3EmitV.cpp b/src/V3EmitV.cpp index 940277a8d..e59ecfa38 100644 --- a/src/V3EmitV.cpp +++ b/src/V3EmitV.cpp @@ -494,6 +494,11 @@ class EmitVBaseVisitor VL_NOT_FINAL : public EmitCBaseVisitor { emitVerilogFormat(nodep, nodep->emitVerilog(), nodep->lhsp(), nodep->rhsp(), nodep->thsp()); } + virtual void visit(AstMemberSel* nodep) override { + iterate(nodep->fromp()); + puts("."); + puts(nodep->prettyName()); + } virtual void visit(AstAttrOf* nodep) override { putfs(nodep, "$_ATTROF("); iterateAndNextConstNull(nodep->fromp());