mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 01:52:17 +02:00
Support assignment expressions.
This commit is contained in:
+2
-2
@@ -505,6 +505,8 @@ private:
|
||||
nodep->deleteTree();
|
||||
}
|
||||
void visit(AstAssignDly* nodep) override {
|
||||
VL_RESTORER(m_inDly);
|
||||
VL_RESTORER(m_nextDlyp);
|
||||
m_inDly = true;
|
||||
m_nextDlyp
|
||||
= VN_CAST(nodep->nextp(), AssignDly); // Next assignment in same block, maybe nullptr.
|
||||
@@ -537,8 +539,6 @@ private:
|
||||
} else {
|
||||
iterateChildren(nodep);
|
||||
}
|
||||
m_inDly = false;
|
||||
m_nextDlyp = nullptr;
|
||||
}
|
||||
|
||||
void visit(AstVarRef* nodep) override {
|
||||
|
||||
Reference in New Issue
Block a user