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:
Geza Lore 2023-11-05 16:58:22 +00:00 committed by GitHub
parent b110c55993
commit c563175ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}