mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Fix task output pin connected to non-variables.
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1016 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
+10
-4
@@ -166,10 +166,10 @@ private:
|
||||
|
||||
public:
|
||||
// CONSTUCTORS
|
||||
LinkLValueVisitor(AstNetlist* rootp) {
|
||||
m_setRefLvalue = false;
|
||||
LinkLValueVisitor(AstNode* nodep, bool start) {
|
||||
m_setRefLvalue = start;
|
||||
m_ftaskp = NULL;
|
||||
rootp->accept(*this);
|
||||
nodep->accept(*this);
|
||||
}
|
||||
virtual ~LinkLValueVisitor() {}
|
||||
};
|
||||
@@ -179,5 +179,11 @@ public:
|
||||
|
||||
void V3LinkLValue::linkLValue(AstNetlist* rootp) {
|
||||
UINFO(4,__FUNCTION__<<": "<<endl);
|
||||
LinkLValueVisitor visitor(rootp);
|
||||
LinkLValueVisitor visitor(rootp, false);
|
||||
}
|
||||
void V3LinkLValue::linkLValueSet(AstNode* nodep) {
|
||||
// Called by later link functions when it is known a node needs
|
||||
// to be converted to a lvalue.
|
||||
UINFO(9,__FUNCTION__<<": "<<endl);
|
||||
LinkLValueVisitor visitor(nodep, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user