mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix inverted sync/async message.
This commit is contained in:
+2
-2
@@ -437,9 +437,9 @@ private:
|
||||
if (m_inSenItem) varscp->user2(true);
|
||||
else if (m_activep && m_activep->hasClocked() && !nodep->lvalue()) {
|
||||
if (varscp->user2()) {
|
||||
if (!vvertexp->rstSyncNodep()) vvertexp->rstSyncNodep(nodep);
|
||||
} else {
|
||||
if (!vvertexp->rstAsyncNodep()) vvertexp->rstAsyncNodep(nodep);
|
||||
} else {
|
||||
if (!vvertexp->rstSyncNodep()) vvertexp->rstSyncNodep(nodep);
|
||||
}
|
||||
}
|
||||
// We use weight of one; if we ref the var more than once, when we simplify,
|
||||
|
||||
Reference in New Issue
Block a user