Fix error with tasks that have output first, bug78.

This commit is contained in:
Wilson Snyder
2009-04-08 14:33:12 -04:00
parent 3d85cbe6b5
commit 86f08a341c
3 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -211,10 +211,10 @@ private:
if (AstVar* portp = stmtp->castVar()) {
if (portp->isIO()) {
if (portp->isInput()) {
pinp->iterateAndNext(*this);
pinp->iterate(*this);
} else { // Output or Inout
m_setRefLvalue = true;
pinp->iterateAndNext(*this);
pinp->iterate(*this);
m_setRefLvalue = false;
}
// Advance pin