From 8638e46cb79ffad0ba21fcba689ddf03cdbdbf43 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 4 Oct 2024 05:22:09 -0400 Subject: [PATCH] Fix IEEE version number --- src/V3LinkResolve.cpp | 2 +- test_regress/t/t_genvar_misuse_bad.out | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/V3LinkResolve.cpp b/src/V3LinkResolve.cpp index 2dd3fe9c9..426d7b1ca 100644 --- a/src/V3LinkResolve.cpp +++ b/src/V3LinkResolve.cpp @@ -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); } diff --git a/test_regress/t/t_genvar_misuse_bad.out b/test_regress/t/t_genvar_misuse_bad.out index ba60dec03..a8147de52 100644 --- a/test_regress/t/t_genvar_misuse_bad.out +++ b/test_regress/t/t_genvar_misuse_bad.out @@ -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