Fix scheduling of external force signals (#4668)
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. Fixes #4577
This commit is contained in:
parent
b110c55993
commit
c563175ff0
|
|
@ -283,8 +283,8 @@ class ForceConvertVisitor final : public VNVisitor {
|
||||||
// If this signal is marked externally forceable, create the public force signals
|
// If this signal is marked externally forceable, create the public force signals
|
||||||
if (nodep->varp()->isForceable()) {
|
if (nodep->varp()->isForceable()) {
|
||||||
const ForceComponentsVarScope& fc = getForceComponents(nodep);
|
const ForceComponentsVarScope& fc = getForceComponents(nodep);
|
||||||
fc.m_enVscp->varp()->sigPublic(true);
|
fc.m_enVscp->varp()->sigUserRWPublic(true);
|
||||||
fc.m_valVscp->varp()->sigPublic(true);
|
fc.m_valVscp->varp()->sigUserRWPublic(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue