Support $monitor and $strobe.

This commit is contained in:
Wilson Snyder
2020-11-29 11:31:38 -05:00
parent 67103d346b
commit 665e8edaff
23 changed files with 548 additions and 22 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ private:
// of the RHS is expected to be deleted by the caller.
AstNode* foldAndUnlink(AstNode* rhsp, bool condTrue) {
if (rhsp->sameTree(m_mgCondp)) {
return new AstConst(rhsp->fileline(), AstConst::BitTrueFalse(), condTrue);
return new AstConst(rhsp->fileline(), AstConst::BitTrue{}, condTrue);
} else if (AstNodeCond* const condp = extractCond(rhsp)) {
AstNode* const resp
= condTrue ? condp->expr1p()->unlinkFrBack() : condp->expr2p()->unlinkFrBack();