mirror of
https://github.com/verilator/verilator.git
synced 2025-01-12 01:27:36 +00:00
Handle MemberSel in V3EmitV.cpp (#3555)
This commit is contained in:
parent
0eeb40b975
commit
951cd73fe0
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user