Skip to content

Commit

Permalink
Do not emit BLKSEQ on suspendable non-sequential process
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Bieganski <[email protected]>
  • Loading branch information
kbieganski committed Jan 8, 2025
1 parent ff244c1 commit 8c61837
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/V3Active.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,9 @@ class ActiveVisitor final : public VNVisitor {

// Warn and convert any delayed assignments
{
ActiveDlyVisitor{nodep, m_clockedProcess ? ActiveDlyVisitor::CT_SEQ
: ActiveDlyVisitor::CT_COMB};
ActiveDlyVisitor{nodep, !m_clockedProcess ? ActiveDlyVisitor::CT_COMB
: oldsensesp ? ActiveDlyVisitor::CT_SEQ
: ActiveDlyVisitor::CT_INITIAL};
}

// check combinational processes for latches
Expand Down

0 comments on commit 8c61837

Please sign in to comment.