Skip to content

Commit

Permalink
Fix scheduling of external force signals
Browse files Browse the repository at this point in the history
Used to set the wrong public flag on forceEn/forceVal, which means they
were not included in ICO as necessary, but V3Gate tended to inline them,
so this was hard to hit.
  • Loading branch information
gezalore committed Nov 5, 2023
1 parent dc346b7 commit 4960554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/V3Force.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ class ForceConvertVisitor final : public VNVisitor {
// If this signal is marked externally forceable, create the public force signals
if (nodep->varp()->isForceable()) {
const ForceComponentsVarScope& fc = getForceComponents(nodep);
fc.m_enVscp->varp()->sigPublic(true);
fc.m_valVscp->varp()->sigPublic(true);
fc.m_enVscp->varp()->sigUserRWPublic(true);
fc.m_valVscp->varp()->sigUserRWPublic(true);
}
}

Expand Down

0 comments on commit 4960554

Please sign in to comment.