mirror of
https://github.com/verilator/verilator.git
synced 2025-01-26 08:14:06 +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(),
|
emitVerilogFormat(nodep, nodep->emitVerilog(), nodep->lhsp(), nodep->rhsp(),
|
||||||
nodep->thsp());
|
nodep->thsp());
|
||||||
}
|
}
|
||||||
|
virtual void visit(AstMemberSel* nodep) override {
|
||||||
|
iterate(nodep->fromp());
|
||||||
|
puts(".");
|
||||||
|
puts(nodep->prettyName());
|
||||||
|
}
|
||||||
virtual void visit(AstAttrOf* nodep) override {
|
virtual void visit(AstAttrOf* nodep) override {
|
||||||
putfs(nodep, "$_ATTROF(");
|
putfs(nodep, "$_ATTROF(");
|
||||||
iterateAndNextConstNull(nodep->fromp());
|
iterateAndNextConstNull(nodep->fromp());
|
||||||
|
Loading…
Reference in New Issue
Block a user