mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Fix error with tasks that have output first, bug78.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user