Fix some missing E_UNSUPPORTED errors

This commit is contained in:
Wilson Snyder
2025-09-20 08:19:42 -04:00
parent e5e7e844c4
commit f970485e19
12 changed files with 35 additions and 30 deletions
+2 -1
View File
@@ -408,7 +408,8 @@ class ForceReplaceVisitor final : public VNVisitor {
default:
if (!m_inLogic) return;
if (m_state.tryGetForceComponents(nodep) || m_state.getValVscps(nodep)) {
nodep->v3error(
nodep->v3warn(
E_UNSUPPORTED,
"Unsupported: Signals used via read-write reference cannot be forced");
}
break;