From c4939825111d0ed2e565dc53c702ea745c4a4751 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 8 Nov 2025 16:09:45 -0500 Subject: [PATCH] Spelling fixes --- src/V3SchedTrigger.cpp | 2 +- src/V3Udp.cpp | 2 +- src/V3Width.cpp | 2 +- test_regress/t/t_class_extern_args_bad.out | 6 +++--- ...omize_neasted_unsup.out => t_randomize_nested_unsup.out} | 2 +- ...ndomize_neasted_unsup.py => t_randomize_nested_unsup.py} | 0 ...randomize_neasted_unsup.v => t_randomize_nested_unsup.v} | 0 test_regress/t/t_udp_bad_illegal_output.out | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) rename test_regress/t/{t_randomize_neasted_unsup.out => t_randomize_nested_unsup.out} (67%) rename test_regress/t/{t_randomize_neasted_unsup.py => t_randomize_nested_unsup.py} (100%) rename test_regress/t/{t_randomize_neasted_unsup.v => t_randomize_nested_unsup.v} (100%) diff --git a/src/V3SchedTrigger.cpp b/src/V3SchedTrigger.cpp index f5384d0ba..06731880b 100644 --- a/src/V3SchedTrigger.cpp +++ b/src/V3SchedTrigger.cpp @@ -462,7 +462,7 @@ TriggerKit TriggerKit::create(AstNetlist* netlistp, // // List of unique SenItems used by all 'senTreeps' std::vector senItemps; - // Map from SenItem to tigger bit standing for that SenItem. There might + // Map from SenItem to trigger bit standing for that SenItem. There might // be duplicate SenItems, we map all of them to the same index. std::unordered_map, size_t> senItem2TrigIdx; diff --git a/src/V3Udp.cpp b/src/V3Udp.cpp index 814195633..f811077ab 100644 --- a/src/V3Udp.cpp +++ b/src/V3Udp.cpp @@ -126,7 +126,7 @@ class UdpVisitor final : public VNVisitor { "There should not be a edge trigger for combinational UDP table line"); } if (edgetrigp) { - linevalp->v3error("There can be only one edge tigger signal"); + linevalp->v3error("There can be only one edge trigger signal"); VL_DO_DANGLING(pushDeletep(edgetrigp), edgetrigp); } edgetrigp = new AstSenTree{ diff --git a/src/V3Width.cpp b/src/V3Width.cpp index c4d00710a..f5ee52f4e 100644 --- a/src/V3Width.cpp +++ b/src/V3Width.cpp @@ -6378,7 +6378,7 @@ class WidthVisitor final : public VNVisitor { PROTOTYPEMIS, "In prototype for " << nodep->prettyNameQ() - << ", the argumement counts do not match the out-of-block declaration" + << ", the argument counts do not match the out-of-block declaration" << " (IEEE 1800-2023 8.24)\n" << protop->warnContextPrimary() << '\n' << nodep->warnOther() << "... Location of out-of-block declaration\n" diff --git a/test_regress/t/t_class_extern_args_bad.out b/test_regress/t/t_class_extern_args_bad.out index 25980be22..1de9b1f36 100644 --- a/test_regress/t/t_class_extern_args_bad.out +++ b/test_regress/t/t_class_extern_args_bad.out @@ -44,21 +44,21 @@ t/t_class_extern_args_bad.v:32:30: ... Location of out-of-block declaration 32 | function void Cls::f1bit_bad(bit a); | ^~~ -%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:13:24: In prototype for 'f2args1_bad', the argumement counts do not match the out-of-block declaration (IEEE 1800-2023 8.24) +%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:13:24: In prototype for 'f2args1_bad', the argument counts do not match the out-of-block declaration (IEEE 1800-2023 8.24) : ... note: In instance 't' 13 | extern function void f2args1_bad(bit a); | ^~~~~~~~~~~ t/t_class_extern_args_bad.v:35:15: ... Location of out-of-block declaration 35 | function void Cls::f2args1_bad(bit a, bit b); | ^~~ -%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:14:24: In prototype for 'f2args2', the argumement counts do not match the out-of-block declaration (IEEE 1800-2023 8.24) +%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:14:24: In prototype for 'f2args2', the argument counts do not match the out-of-block declaration (IEEE 1800-2023 8.24) : ... note: In instance 't' 14 | extern function void f2args2(bit a); | ^~~~~~~ t/t_class_extern_args_bad.v:38:15: ... Location of out-of-block declaration 38 | function void Cls::f2args2(bit a, bit b); | ^~~ -%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:15:24: In prototype for 'f2args3_bad', the argumement counts do not match the out-of-block declaration (IEEE 1800-2023 8.24) +%Error-PROTOTYPEMIS: t/t_class_extern_args_bad.v:15:24: In prototype for 'f2args3_bad', the argument counts do not match the out-of-block declaration (IEEE 1800-2023 8.24) : ... note: In instance 't' 15 | extern function void f2args3_bad(bit a, bit b, bit c); | ^~~~~~~~~~~ diff --git a/test_regress/t/t_randomize_neasted_unsup.out b/test_regress/t/t_randomize_nested_unsup.out similarity index 67% rename from test_regress/t/t_randomize_neasted_unsup.out rename to test_regress/t/t_randomize_nested_unsup.out index 61a5c5a27..f8d432abe 100644 --- a/test_regress/t/t_randomize_neasted_unsup.out +++ b/test_regress/t/t_randomize_nested_unsup.out @@ -1,4 +1,4 @@ -%Error-UNSUPPORTED: t/t_randomize_neasted_unsup.v:17:41: Unsupported: randomize() nested in inline randomize() constraints +%Error-UNSUPPORTED: t/t_randomize_nested_unsup.v:17:41: Unsupported: randomize() nested in inline randomize() constraints 17 | if (a.randomize() with {rdata == aa.randomize();} == 0) $stop; | ^~~~~~~~~ ... For error description see https://verilator.org/warn/UNSUPPORTED?v=latest diff --git a/test_regress/t/t_randomize_neasted_unsup.py b/test_regress/t/t_randomize_nested_unsup.py similarity index 100% rename from test_regress/t/t_randomize_neasted_unsup.py rename to test_regress/t/t_randomize_nested_unsup.py diff --git a/test_regress/t/t_randomize_neasted_unsup.v b/test_regress/t/t_randomize_nested_unsup.v similarity index 100% rename from test_regress/t/t_randomize_neasted_unsup.v rename to test_regress/t/t_randomize_nested_unsup.v diff --git a/test_regress/t/t_udp_bad_illegal_output.out b/test_regress/t/t_udp_bad_illegal_output.out index de5221ff9..a6ee8b651 100644 --- a/test_regress/t/t_udp_bad_illegal_output.out +++ b/test_regress/t/t_udp_bad_illegal_output.out @@ -7,7 +7,7 @@ : ... note: In instance 'top' 16 | 1 1 ? : ?: *; | ^ -%Error: t/t_udp_bad_illegal_output.v:17:11: There can be only one edge tigger signal +%Error: t/t_udp_bad_illegal_output.v:17:11: There can be only one edge trigger signal : ... note: In instance 'top' 17 | f r 0 : ?: 0; | ^