Fix IEEE version number

This commit is contained in:
Wilson Snyder 2024-10-04 05:22:09 -04:00
parent 85909f02b3
commit 8638e46cb7
2 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ class LinkResolveVisitor final : public VNVisitor {
// just gross errors of using genvar outside any generate
if (nodep->varp() && nodep->varp()->isGenVar() && !m_underGenFor) {
nodep->v3error("Genvar " << nodep->prettyNameQ()
<< " used outside generate for loop (IEEE 1800-2024 27.4)");
<< " used outside generate for loop (IEEE 1800-2023 27.4)");
}
iterateChildren(nodep);
}

View File

@ -1,7 +1,7 @@
%Error: t/t_genvar_misuse_bad.v:16:31: Genvar 'i' used outside generate for loop (IEEE 1800-2024 27.4)
%Error: t/t_genvar_misuse_bad.v:16:31: Genvar 'i' used outside generate for loop (IEEE 1800-2023 27.4)
16 | assign q[i] = d[i];
| ^
%Error: t/t_genvar_misuse_bad.v:16:24: Genvar 'i' used outside generate for loop (IEEE 1800-2024 27.4)
%Error: t/t_genvar_misuse_bad.v:16:24: Genvar 'i' used outside generate for loop (IEEE 1800-2023 27.4)
16 | assign q[i] = d[i];
| ^
%Error: Exiting due to