mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
+4
-1
@@ -320,7 +320,8 @@ private:
|
||||
// VISITORS
|
||||
void visit(AstVarRef* nodep) override {
|
||||
const AstVar* const varp = nodep->varp();
|
||||
if (nodep->access().isWriteOrRW() && varp->isSignal() && !varp->isUsedLoopIdx()) {
|
||||
if (nodep->access().isWriteOrRW() && varp->isSignal() && !varp->isUsedLoopIdx()
|
||||
&& !varp->isFuncLocalSticky()) {
|
||||
m_graph.addAssignment(nodep);
|
||||
}
|
||||
}
|
||||
@@ -333,6 +334,8 @@ private:
|
||||
m_graph.addPathVertex(branchp, "ELSE");
|
||||
iterateAndNextConstNull(nodep->elsesp());
|
||||
m_graph.currentp(parentp);
|
||||
} else {
|
||||
iterateChildrenConst(nodep);
|
||||
}
|
||||
}
|
||||
//--------------------
|
||||
|
||||
Reference in New Issue
Block a user