diff --git a/test_regress/t/t_array_backw_index_bad.v b/test_regress/t/t_array_backw_index_bad.v index 7056a29fa..266b45820 100644 --- a/test_regress/t/t_array_backw_index_bad.v +++ b/test_regress/t/t_array_backw_index_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2017 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic [31:0] array_assign [3:0]; diff --git a/test_regress/t/t_array_compare.v b/test_regress/t/t_array_compare.v index 6ed1468d1..fd893167b 100644 --- a/test_regress/t/t_array_compare.v +++ b/test_regress/t/t_array_compare.v @@ -6,7 +6,7 @@ // bug1071 -module t (/*AUTOARG*/); +module t; reg [3:0] array_1 [2:0]; reg [3:0] array_2 [2:0]; diff --git a/test_regress/t/t_array_in_struct.v b/test_regress/t/t_array_in_struct.v index 3f8823f92..244ec4c4c 100644 --- a/test_regress/t/t_array_in_struct.v +++ b/test_regress/t/t_array_in_struct.v @@ -5,7 +5,7 @@ // SPDX-License-Identifier: CC0-1.0 //bug991 -module t (/*AUTOARG*/); +module t; typedef struct { logic [31:0] arr [3:0]; diff --git a/test_regress/t/t_array_index_increment.v b/test_regress/t/t_array_index_increment.v index 89adc33a2..4e9e24c88 100644 --- a/test_regress/t/t_array_index_increment.v +++ b/test_regress/t/t_array_index_increment.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; string test_string = "abcd"; diff --git a/test_regress/t/t_array_index_side.v b/test_regress/t/t_array_index_side.v index 679edbe70..c6c38d7fc 100644 --- a/test_regress/t/t_array_index_side.v +++ b/test_regress/t/t_array_index_side.v @@ -22,7 +22,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; Cls cls; int array[10]; diff --git a/test_regress/t/t_array_method_map.v b/test_regress/t/t_array_method_map.v index 6f92b158b..d764ca90c 100644 --- a/test_regress/t/t_array_method_map.v +++ b/test_regress/t/t_array_method_map.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); $stop; end while(0); -module t (/*AUTOARG*/); +module t; initial begin int res[]; diff --git a/test_regress/t/t_array_pattern_2d.v b/test_regress/t/t_array_pattern_2d.v index 051e1f1d8..27e26b5cc 100644 --- a/test_regress/t/t_array_pattern_2d.v +++ b/test_regress/t/t_array_pattern_2d.v @@ -5,7 +5,7 @@ // SPDX-License-Identifier: CC0-1.0 //bug991 -module t (/*AUTOARG*/); +module t; logic [31:0] array_assign [3:0]; logic [31:0] array_other [3:0]; diff --git a/test_regress/t/t_array_pattern_unpacked.v b/test_regress/t/t_array_pattern_unpacked.v index 58cddec25..fd9a99d01 100644 --- a/test_regress/t/t_array_pattern_unpacked.v +++ b/test_regress/t/t_array_pattern_unpacked.v @@ -4,7 +4,7 @@ // without warranty, 2009 by Iztok Jeras. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic [3:0] array_simp [1:0] [3:0]; // descending range array wire [2:0] array_wire [1:0] = '{3'd1, 3'd2}; diff --git a/test_regress/t/t_array_type_methods.v b/test_regress/t/t_array_type_methods.v index f6dd39d8b..d76ebd01e 100644 --- a/test_regress/t/t_array_type_methods.v +++ b/test_regress/t/t_array_type_methods.v @@ -8,7 +8,7 @@ `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); `define checks(gotv,expv) do if ((gotv) != (expv)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; logic [3:0] foo [1:0]; logic [3:0] fooe [1:0]; diff --git a/test_regress/t/t_assert_comp.v b/test_regress/t/t_assert_comp.v index 034541c21..ab85c8e58 100644 --- a/test_regress/t/t_assert_comp.v +++ b/test_regress/t/t_assert_comp.v @@ -4,7 +4,7 @@ // any use, without warranty, 2007 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; localparam TEN = 10; localparam string PCTPCT = "%%"; diff --git a/test_regress/t/t_assign_expr.v b/test_regress/t/t_assign_expr.v index c9789b38f..e2cbf5f4f 100644 --- a/test_regress/t/t_assign_expr.v +++ b/test_regress/t/t_assign_expr.v @@ -7,7 +7,7 @@ `define stop $stop `define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; int a; int b; diff --git a/test_regress/t/t_assoc_method.v b/test_regress/t/t_assoc_method.v index e78370d51..0a75c9a4f 100644 --- a/test_regress/t/t_assoc_method.v +++ b/test_regress/t/t_assoc_method.v @@ -9,7 +9,7 @@ `define checkp(gotv,expv_s) do begin string gotv_s; gotv_s = $sformatf("%p", gotv); if ((gotv_s) != (expv_s)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv_s), (expv_s)); `stop; end end while(0); -module t (/*AUTOARG*/); +module t; typedef struct { int x, y; } point; function automatic int vec_len_squared(point p); diff --git a/test_regress/t/t_assoc_method_bad.v b/test_regress/t/t_assoc_method_bad.v index 9921ef6bd..db44272b9 100644 --- a/test_regress/t/t_assoc_method_bad.v +++ b/test_regress/t/t_assoc_method_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin string a [string]; diff --git a/test_regress/t/t_assoc_method_map.v b/test_regress/t/t_assoc_method_map.v index 4ccf66cbb..673f77d72 100644 --- a/test_regress/t/t_assoc_method_map.v +++ b/test_regress/t/t_assoc_method_map.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); $stop; end while(0); -module t (/*AUTOARG*/); +module t; initial begin int res[]; diff --git a/test_regress/t/t_assoc_nokey_bad.v b/test_regress/t/t_assoc_nokey_bad.v index 6125f52dc..124f9ea60 100644 --- a/test_regress/t/t_assoc_nokey_bad.v +++ b/test_regress/t/t_assoc_nokey_bad.v @@ -6,7 +6,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin int dict[string] = '{1, 2}; diff --git a/test_regress/t/t_assoc_ref_type.v b/test_regress/t/t_assoc_ref_type.v index fe9b110e5..3544ce76e 100644 --- a/test_regress/t/t_assoc_ref_type.v +++ b/test_regress/t/t_assoc_ref_type.v @@ -50,7 +50,7 @@ class Wrapper#(type VAL_T=int); VAL_T value; endclass -module t (/*AUTOARG*/); +module t; typedef WBase wrap_map_t[string]; typedef WBase wrap_queue_t[$]; diff --git a/test_regress/t/t_assoc_wildcard_bad.v b/test_regress/t/t_assoc_wildcard_bad.v index a2325d78c..3246eb72e 100644 --- a/test_regress/t/t_assoc_wildcard_bad.v +++ b/test_regress/t/t_assoc_wildcard_bad.v @@ -11,7 +11,7 @@ class Cls; integer imemberb; endclass : Cls -module t (/*AUTOARG*/); +module t; initial begin string a [*]; diff --git a/test_regress/t/t_assoc_wildcard_map.v b/test_regress/t/t_assoc_wildcard_map.v index 3ab61e1df..6fbcffd38 100644 --- a/test_regress/t/t_assoc_wildcard_map.v +++ b/test_regress/t/t_assoc_wildcard_map.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); $stop; end while(0); -module t (/*AUTOARG*/); +module t; initial begin int res[]; diff --git a/test_regress/t/t_assoc_wildcard_method.v b/test_regress/t/t_assoc_wildcard_method.v index 29d374fee..34d399015 100644 --- a/test_regress/t/t_assoc_wildcard_method.v +++ b/test_regress/t/t_assoc_wildcard_method.v @@ -8,7 +8,7 @@ `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); `define checkp(gotv,expv_s) do begin string gotv_s; gotv_s = $sformatf("%p", gotv); if ((gotv_s) != (expv_s)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv_s), (expv_s)); `stop; end end while(0); -module t (/*AUTOARG*/); +module t; typedef struct { int x, y; } point; function automatic int vec_len_squared(point p); diff --git a/test_regress/t/t_bitsel_concat.v b/test_regress/t/t_bitsel_concat.v index 34c05f8ed..d869271b2 100644 --- a/test_regress/t/t_bitsel_concat.v +++ b/test_regress/t/t_bitsel_concat.v @@ -19,7 +19,7 @@ class Cls; endfunction endclass -module t(/*AUTOARG*/); +module t; Cls c; diff --git a/test_regress/t/t_bitsel_const_bad.v b/test_regress/t/t_bitsel_const_bad.v index 501a30793..cee4e86ea 100644 --- a/test_regress/t/t_bitsel_const_bad.v +++ b/test_regress/t/t_bitsel_const_bad.v @@ -6,7 +6,7 @@ // without warranty, 2012 by Jeremy Bennett. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // Note that if we declare "wire [0:0] b", this works just fine. wire a; diff --git a/test_regress/t/t_bitsel_struct.v b/test_regress/t/t_bitsel_struct.v index ebaac9431..986b1bdf0 100644 --- a/test_regress/t/t_bitsel_struct.v +++ b/test_regress/t/t_bitsel_struct.v @@ -9,7 +9,7 @@ // without warranty, 2012 by Jie Xu. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; typedef struct packed { logic [1:0][15:0] channel; diff --git a/test_regress/t/t_bitsel_struct2.v b/test_regress/t/t_bitsel_struct2.v index 9aa41623a..89dac5789 100644 --- a/test_regress/t/t_bitsel_struct2.v +++ b/test_regress/t/t_bitsel_struct2.v @@ -8,7 +8,7 @@ `define checkb(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='b%x exp='b%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; typedef struct packed { logic [3:2] a; diff --git a/test_regress/t/t_bitsel_struct3.v b/test_regress/t/t_bitsel_struct3.v index 59eb30b0c..b44b5f1ea 100644 --- a/test_regress/t/t_bitsel_struct3.v +++ b/test_regress/t/t_bitsel_struct3.v @@ -12,7 +12,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; typedef struct packed { logic [15:0] channel; diff --git a/test_regress/t/t_bitsel_wire_array_bad.v b/test_regress/t/t_bitsel_wire_array_bad.v index d29828c7e..cf3eca2d2 100644 --- a/test_regress/t/t_bitsel_wire_array_bad.v +++ b/test_regress/t/t_bitsel_wire_array_bad.v @@ -6,7 +6,7 @@ // without warranty, 2012 by Jeremy Bennett. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // a and b are arrays of length 1. wire a[0:0]; // Array of nets diff --git a/test_regress/t/t_c_width_bad.v b/test_regress/t/t_c_width_bad.v index 33ee750ed..04bedf1c2 100644 --- a/test_regress/t/t_c_width_bad.v +++ b/test_regress/t/t_c_width_bad.v @@ -4,7 +4,7 @@ // without warranty, 2025 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; bit [99:0] wide = $c100("0"); diff --git a/test_regress/t/t_case_enum_emptyish.v b/test_regress/t/t_case_enum_emptyish.v index 91fc001bc..98b42103c 100644 --- a/test_regress/t/t_case_enum_emptyish.v +++ b/test_regress/t/t_case_enum_emptyish.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; enum logic [2:0] { e0, diff --git a/test_regress/t/t_case_genx_bad.v b/test_regress/t/t_case_genx_bad.v index ef8e6f47b..00ab51afc 100644 --- a/test_regress/t/t_case_genx_bad.v +++ b/test_regress/t/t_case_genx_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005-2007 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; parameter P = 32'b1000; diff --git a/test_regress/t/t_case_x.v b/test_regress/t/t_case_x.v index 3f06f3e17..c11a57f49 100644 --- a/test_regress/t/t_case_x.v +++ b/test_regress/t/t_case_x.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005-2007 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg [3:0] value; reg [3:0] valuex; diff --git a/test_regress/t/t_cast_stream.v b/test_regress/t/t_cast_stream.v index 8ed483e0f..a2c426d9d 100644 --- a/test_regress/t/t_cast_stream.v +++ b/test_regress/t/t_cast_stream.v @@ -13,7 +13,7 @@ typedef enum { UVM_TLM_IGNORE_COMMAND } uvm_tlm_command_e; -module t(/*AUTOARG*/); +module t; initial begin bit array[] = new [8]; diff --git a/test_regress/t/t_cast_types.v b/test_regress/t/t_cast_types.v index 7867ec85d..955e8bc42 100644 --- a/test_regress/t/t_cast_types.v +++ b/test_regress/t/t_cast_types.v @@ -41,7 +41,7 @@ typedef struct packed { int a; int b; } stpack_t; typedef bit signed [7:0] simple_a_t; typedef bit signed [7:0] simple_a1_t; -module t (/*AUTOARG*/); +module t; real v_real; // IEEE 6.12.2 - by rounding string v_string; diff --git a/test_regress/t/t_castdyn.v b/test_regress/t/t_castdyn.v index faa7d7542..d1b960150 100644 --- a/test_regress/t/t_castdyn.v +++ b/test_regress/t/t_castdyn.v @@ -15,7 +15,7 @@ class BasedB extends Base; endfunction endclass -module t (/*AUTOARG*/); +module t; int i; int a; int ao; diff --git a/test_regress/t/t_castdyn_castconst_bad.v b/test_regress/t/t_castdyn_castconst_bad.v index 3ec97778e..48c8d171d 100644 --- a/test_regress/t/t_castdyn_castconst_bad.v +++ b/test_regress/t/t_castdyn_castconst_bad.v @@ -10,7 +10,7 @@ class Other; endclass enum { ZERO } e; -module t (/*AUTOARG*/); +module t; int i; int v; diff --git a/test_regress/t/t_castdyn_run_bad.v b/test_regress/t/t_castdyn_run_bad.v index 9e8a5260b..26f8b1de1 100644 --- a/test_regress/t/t_castdyn_run_bad.v +++ b/test_regress/t/t_castdyn_run_bad.v @@ -11,7 +11,7 @@ endclass class ExbaseB extends Base; endclass -module t (/*AUTOARG*/); +module t; int i; Base b; diff --git a/test_regress/t/t_castdyn_unsup_bad.v b/test_regress/t/t_castdyn_unsup_bad.v index 26cd436bd..e9aa03530 100644 --- a/test_regress/t/t_castdyn_unsup_bad.v +++ b/test_regress/t/t_castdyn_unsup_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; string q[$]; int aarray[string]; diff --git a/test_regress/t/t_class1.v b/test_regress/t/t_class1.v index c10125c51..22510ac0d 100644 --- a/test_regress/t/t_class1.v +++ b/test_regress/t/t_class1.v @@ -11,7 +11,7 @@ class Cls; int imemberb; endclass : Cls -module t (/*AUTOARG*/); +module t; typedef Cls Cls2; initial begin diff --git a/test_regress/t/t_class2.v b/test_regress/t/t_class2.v index f78b1da05..412443a0e 100644 --- a/test_regress/t/t_class2.v +++ b/test_regress/t/t_class2.v @@ -8,7 +8,7 @@ package Pkg; typedef enum { ENUMP_VAL = 33 } enump_t; endpackage -module t (/*AUTOARG*/); +module t; class Cls; int imembera; int imemberb; diff --git a/test_regress/t/t_class_assign_bad.v b/test_regress/t/t_class_assign_bad.v index af55db08f..97dec5f9e 100644 --- a/test_regress/t/t_class_assign_bad.v +++ b/test_regress/t/t_class_assign_bad.v @@ -15,7 +15,7 @@ endclass typedef Cls2 cls2_t; -module t (/*AUTOARG*/); +module t; Cls c; Cls2 c2; cls2_t ct2; diff --git a/test_regress/t/t_class_assign_cond.v b/test_regress/t/t_class_assign_cond.v index ce4f6c69f..4b60f537c 100644 --- a/test_regress/t/t_class_assign_cond.v +++ b/test_regress/t/t_class_assign_cond.v @@ -29,7 +29,7 @@ class ExtendExtendCls extends ExtendCls; endfunction endclass -module t (/*AUTOARG*/); +module t; typedef ExtendCls ExtendCls_t; initial begin diff --git a/test_regress/t/t_class_assign_cond_bad.v b/test_regress/t/t_class_assign_cond_bad.v index a016c832d..304d6e0ca 100644 --- a/test_regress/t/t_class_assign_cond_bad.v +++ b/test_regress/t/t_class_assign_cond_bad.v @@ -13,7 +13,7 @@ endclass class ExtCls1; endclass -module t (/*AUTOARG*/); +module t; Cls1 c1; Cls2 c2; ExtCls1 ext_c1; diff --git a/test_regress/t/t_class_builtin_bad.v b/test_regress/t/t_class_builtin_bad.v index 54f29e150..343d4a179 100644 --- a/test_regress/t/t_class_builtin_bad.v +++ b/test_regress/t/t_class_builtin_bad.v @@ -13,7 +13,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; end diff --git a/test_regress/t/t_class_capitalization.v b/test_regress/t/t_class_capitalization.v index 8f93cf689..c8ca4e699 100644 --- a/test_regress/t/t_class_capitalization.v +++ b/test_regress/t/t_class_capitalization.v @@ -27,7 +27,7 @@ module Modmixed; int M; endmodule -module t(/*AUTOARG*/); +module t; // verilator no_inline_module ModMixed modMixed(); diff --git a/test_regress/t/t_class_class.v b/test_regress/t/t_class_class.v index 14177f768..a5fe60faa 100644 --- a/test_regress/t/t_class_class.v +++ b/test_regress/t/t_class_class.v @@ -18,7 +18,7 @@ class Cls #(type STORE_T=string); endclass : Cls endpackage : P -module t (/*AUTOARG*/); +module t; P::Cls#(int) c; initial begin c = new; diff --git a/test_regress/t/t_class_copy.v b/test_regress/t/t_class_copy.v index 9fba2e7dd..c540b004b 100644 --- a/test_regress/t/t_class_copy.v +++ b/test_regress/t/t_class_copy.v @@ -9,7 +9,7 @@ class Cls; function int inc_methoda; imembera += 1; return imembera; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c1; Cls c2; diff --git a/test_regress/t/t_class_copy2.v b/test_regress/t/t_class_copy2.v index a923e18c1..bd5e6408f 100644 --- a/test_regress/t/t_class_copy2.v +++ b/test_regress/t/t_class_copy2.v @@ -11,7 +11,7 @@ class Cls; bit x = 1; endclass -module t (/*AUTOARG*/); +module t; Cls obj1; Cls obj2; diff --git a/test_regress/t/t_class_copy_bad.v b/test_regress/t/t_class_copy_bad.v index d94615f08..66a8f0266 100644 --- a/test_regress/t/t_class_copy_bad.v +++ b/test_regress/t/t_class_copy_bad.v @@ -12,7 +12,7 @@ class Cls; function int inc_methoda; imembera += 1; return imembera; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c1; Other co; diff --git a/test_regress/t/t_class_dict.v b/test_regress/t/t_class_dict.v index 40da3f81a..cddb21f8c 100644 --- a/test_regress/t/t_class_dict.v +++ b/test_regress/t/t_class_dict.v @@ -14,7 +14,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin int dict[Cls]; Cls c1 = new(1); diff --git a/test_regress/t/t_class_enum.v b/test_regress/t/t_class_enum.v index c87a0adb1..8b3b6b47f 100644 --- a/test_regress/t/t_class_enum.v +++ b/test_regress/t/t_class_enum.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; class Cls; typedef enum {A = 10, B = 20, C = 30} en_t; diff --git a/test_regress/t/t_class_extends.v b/test_regress/t/t_class_extends.v index f439ede91..0df8dfc09 100644 --- a/test_regress/t/t_class_extends.v +++ b/test_regress/t/t_class_extends.v @@ -38,7 +38,7 @@ class uvm__registry #(type T=int) extends uvm_object_wrapper; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; c = new; diff --git a/test_regress/t/t_class_extends1.v b/test_regress/t/t_class_extends1.v index afe7878d9..35574e614 100644 --- a/test_regress/t/t_class_extends1.v +++ b/test_regress/t/t_class_extends1.v @@ -56,7 +56,7 @@ class Ext extends Base0; function int get_io(); return innerover.innerover; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Ext c; c = new; diff --git a/test_regress/t/t_class_extends2.v b/test_regress/t/t_class_extends2.v index 14d50907b..6031da919 100644 --- a/test_regress/t/t_class_extends2.v +++ b/test_regress/t/t_class_extends2.v @@ -61,7 +61,7 @@ class Ext extends Pkg::Base0; function int get_io(); return innerover.innerover; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Ext c; c = new; diff --git a/test_regress/t/t_class_extends_aliased_real_bad.v b/test_regress/t/t_class_extends_aliased_real_bad.v index a03f8bc93..5e992719e 100644 --- a/test_regress/t/t_class_extends_aliased_real_bad.v +++ b/test_regress/t/t_class_extends_aliased_real_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; class bar #(type T) extends T; endclass diff --git a/test_regress/t/t_class_extends_bad.v b/test_regress/t/t_class_extends_bad.v index 8e16f2484..45f4de459 100644 --- a/test_regress/t/t_class_extends_bad.v +++ b/test_regress/t/t_class_extends_bad.v @@ -13,5 +13,5 @@ endclass class Cls extends Base1, Base2; endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_class_extends_colon.v b/test_regress/t/t_class_extends_colon.v index cf4fea9a0..01186db32 100644 --- a/test_regress/t/t_class_extends_colon.v +++ b/test_regress/t/t_class_extends_colon.v @@ -20,7 +20,7 @@ endpackage class Cls12 extends Pkg::Icls1; endclass -module t(/*AUTOARG*/); +module t; Cls12 cp12; diff --git a/test_regress/t/t_class_extends_default.v b/test_regress/t/t_class_extends_default.v index b66d037bd..fc84c903b 100644 --- a/test_regress/t/t_class_extends_default.v +++ b/test_regress/t/t_class_extends_default.v @@ -15,7 +15,7 @@ class Cls1 extends Base1(default); // Gets new(int def) endclass -module t (/*AUTOARG*/); +module t; initial begin Cls1 c1; Cls1 c5; diff --git a/test_regress/t/t_class_extends_int_param_bad.v b/test_regress/t/t_class_extends_int_param_bad.v index 062bb014c..c28ddb417 100644 --- a/test_regress/t/t_class_extends_int_param_bad.v +++ b/test_regress/t/t_class_extends_int_param_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; class Bar #(type T=int) extends T; endclass diff --git a/test_regress/t/t_class_extends_nf_bad.v b/test_regress/t/t_class_extends_nf_bad.v index 533887e56..bd62fa917 100644 --- a/test_regress/t/t_class_extends_nf_bad.v +++ b/test_regress/t/t_class_extends_nf_bad.v @@ -18,5 +18,5 @@ endclass class Cls2 extends Pkg::NotFound2; // BAD: not found endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_class_extends_param_unused.v b/test_regress/t/t_class_extends_param_unused.v index fcc46a865..b96569e77 100644 --- a/test_regress/t/t_class_extends_param_unused.v +++ b/test_regress/t/t_class_extends_param_unused.v @@ -7,7 +7,7 @@ class Foo#(type T = logic) extends T; endclass -module t (/*AUTOARG*/); +module t; initial begin $write("*-* All Finished *-*\n"); $finish; diff --git a/test_regress/t/t_class_extends_rec_bad.v b/test_regress/t/t_class_extends_rec_bad.v index 2470977f8..87a708c32 100644 --- a/test_regress/t/t_class_extends_rec_bad.v +++ b/test_regress/t/t_class_extends_rec_bad.v @@ -8,6 +8,6 @@ class RecursiveExtCls extends RecursiveExtCls; int i; endclass -module t (/*AUTOARG*/); +module t; RecursiveExtCls cls = new; endmodule diff --git a/test_regress/t/t_class_extends_this.v b/test_regress/t/t_class_extends_this.v index 00fd653b9..8e3506f34 100644 --- a/test_regress/t/t_class_extends_this.v +++ b/test_regress/t/t_class_extends_this.v @@ -68,7 +68,7 @@ class Cls extends Base; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; c = new; diff --git a/test_regress/t/t_class_extends_this3.v b/test_regress/t/t_class_extends_this3.v index 908276e58..29e5303c2 100644 --- a/test_regress/t/t_class_extends_this3.v +++ b/test_regress/t/t_class_extends_this3.v @@ -28,7 +28,7 @@ class Cls extends Base; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; c = new; diff --git a/test_regress/t/t_class_extern.v b/test_regress/t/t_class_extern.v index 3afa91045..7310da8ea 100644 --- a/test_regress/t/t_class_extern.v +++ b/test_regress/t/t_class_extern.v @@ -80,7 +80,7 @@ task Cls::SubCls::ext_t_i(int in); endtask -module t (/*AUTOARG*/); +module t; initial begin Cls c = new; Cls::SubCls subc = new; diff --git a/test_regress/t/t_class_field_name.v b/test_regress/t/t_class_field_name.v index af7a73828..54eb1b5d3 100644 --- a/test_regress/t/t_class_field_name.v +++ b/test_regress/t/t_class_field_name.v @@ -8,7 +8,7 @@ class Cls; int queue; endclass -module t (/*AUTOARG*/); +module t; initial begin Cls cls = new; diff --git a/test_regress/t/t_class_format.v b/test_regress/t/t_class_format.v index 8075e5bc0..ab49286cb 100644 --- a/test_regress/t/t_class_format.v +++ b/test_regress/t/t_class_format.v @@ -23,7 +23,7 @@ class Cls; endtask endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; c = new; diff --git a/test_regress/t/t_class_forward.v b/test_regress/t/t_class_forward.v index 04e95d5b6..9abd6ce39 100644 --- a/test_regress/t/t_class_forward.v +++ b/test_regress/t/t_class_forward.v @@ -16,7 +16,7 @@ class ClsB; endclass endpackage -module t (/*AUTOARG*/); +module t; P::ClsA ca; P::ClsB cb; initial begin diff --git a/test_regress/t/t_class_func_arg_unused.v b/test_regress/t/t_class_func_arg_unused.v index 0907ebe33..df6a1c9ac 100644 --- a/test_regress/t/t_class_func_arg_unused.v +++ b/test_regress/t/t_class_func_arg_unused.v @@ -16,7 +16,7 @@ endclass endpackage -module t(/*AUTOARG*/); +module t; initial begin uvm_pkg::uvm_reg_field c = new; diff --git a/test_regress/t/t_class_func_dot.v b/test_regress/t/t_class_func_dot.v index 4844009a0..e35b5dbd4 100644 --- a/test_regress/t/t_class_func_dot.v +++ b/test_regress/t/t_class_func_dot.v @@ -18,7 +18,7 @@ function Cls_report_object get_report_object; return c; endfunction -module t (/*AUTOARG*/); +module t; string s; diff --git a/test_regress/t/t_class_func_nvoid_bad.v b/test_regress/t/t_class_func_nvoid_bad.v index f8180e69b..f78dcb08e 100644 --- a/test_regress/t/t_class_func_nvoid_bad.v +++ b/test_regress/t/t_class_func_nvoid_bad.v @@ -22,7 +22,7 @@ class Cls; endtask endclass -module t (/*AUTOARG*/); +module t; function int mod_fi(); return 10; diff --git a/test_regress/t/t_class_if_assign.v b/test_regress/t/t_class_if_assign.v index e92a9628b..fda7ce354 100644 --- a/test_regress/t/t_class_if_assign.v +++ b/test_regress/t/t_class_if_assign.v @@ -23,7 +23,7 @@ class AnotherExtendCls extends Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls cls = new; ExtendCls ext_cls = new; diff --git a/test_regress/t/t_class_imp2.v b/test_regress/t/t_class_imp2.v index 36d3922a5..416b8e86d 100644 --- a/test_regress/t/t_class_imp2.v +++ b/test_regress/t/t_class_imp2.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; interface class Courier; pure virtual function void deliver(); diff --git a/test_regress/t/t_class_local.v b/test_regress/t/t_class_local.v index db9d9e975..d04455c68 100644 --- a/test_regress/t/t_class_local.v +++ b/test_regress/t/t_class_local.v @@ -86,7 +86,7 @@ class Ext extends Cls; endclass endclass -module t (/*AUTOARG*/); +module t; const Cls mod_c = new; const Cls::InnerCls imod_c = new; diff --git a/test_regress/t/t_class_local_bad.v b/test_regress/t/t_class_local_bad.v index 636b89f43..1852577cd 100644 --- a/test_regress/t/t_class_local_bad.v +++ b/test_regress/t/t_class_local_bad.v @@ -61,7 +61,7 @@ class Ext extends Cls; endtask endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; Ext e; diff --git a/test_regress/t/t_class_local_nested_bad.v b/test_regress/t/t_class_local_nested_bad.v index f5e7b1155..3403683b5 100644 --- a/test_regress/t/t_class_local_nested_bad.v +++ b/test_regress/t/t_class_local_nested_bad.v @@ -15,7 +15,7 @@ class NodeList; endfunction endclass -module t(/*AUTOARG*/); +module t; initial begin NodeList n = new; diff --git a/test_regress/t/t_class_member_bad.v b/test_regress/t/t_class_member_bad.v index 6a9b8c682..cffa194c5 100644 --- a/test_regress/t/t_class_member_bad.v +++ b/test_regress/t/t_class_member_bad.v @@ -12,7 +12,7 @@ class Cls2 extends Base1; int memb2; endclass -module t (/*AUTOARG*/); +module t; initial begin Cls2 c; c.memb3 = 3; // Not found diff --git a/test_regress/t/t_class_member_bad2.v b/test_regress/t/t_class_member_bad2.v index a8db650e9..70fc483ad 100644 --- a/test_regress/t/t_class_member_bad2.v +++ b/test_regress/t/t_class_member_bad2.v @@ -19,5 +19,5 @@ class ClsDup; endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_class_method.v b/test_regress/t/t_class_method.v index 0ecf6f832..8e49c5fa5 100644 --- a/test_regress/t/t_class_method.v +++ b/test_regress/t/t_class_method.v @@ -13,7 +13,7 @@ class Cls; function void setv_methoda(input int val); imembera = val; endfunction endclass : Cls -module t (/*AUTOARG*/); +module t; initial begin int tmp_i; Cls c; diff --git a/test_regress/t/t_class_method_bad.v b/test_regress/t/t_class_method_bad.v index 1d649080d..f81efaba6 100644 --- a/test_regress/t/t_class_method_bad.v +++ b/test_regress/t/t_class_method_bad.v @@ -12,7 +12,7 @@ class Cls2 extends Base1; task meth2; endtask endclass -module t (/*AUTOARG*/); +module t; initial begin Cls2 c; c.meth3(); // Not found diff --git a/test_regress/t/t_class_method_struct.v b/test_regress/t/t_class_method_struct.v index 5282df207..b8c220727 100644 --- a/test_regress/t/t_class_method_struct.v +++ b/test_regress/t/t_class_method_struct.v @@ -20,7 +20,7 @@ class Cls; endfunction endclass : Cls -module t (/*AUTOARG*/); +module t; initial begin Cls c = new; my_struct s = c.get_struct; diff --git a/test_regress/t/t_class_mod_bad.v b/test_regress/t/t_class_mod_bad.v index 05194f7a6..26c262031 100644 --- a/test_regress/t/t_class_mod_bad.v +++ b/test_regress/t/t_class_mod_bad.v @@ -14,7 +14,7 @@ class Cls; endclass endmodule -module t (/*AUTOARG*/); +module t; string s; initial begin diff --git a/test_regress/t/t_class_module.v b/test_regress/t/t_class_module.v index 483026de2..cda33725b 100644 --- a/test_regress/t/t_class_module.v +++ b/test_regress/t/t_class_module.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; class Cls; class Inner; diff --git a/test_regress/t/t_class_name.v b/test_regress/t/t_class_name.v index cece02916..578092fb2 100644 --- a/test_regress/t/t_class_name.v +++ b/test_regress/t/t_class_name.v @@ -76,7 +76,7 @@ endclass endfunction endmodule -module t (/*AUTOARG*/); +module t; string s; M m(); diff --git a/test_regress/t/t_class_nested.v b/test_regress/t/t_class_nested.v index 4a9e2e74d..93a48d154 100644 --- a/test_regress/t/t_class_nested.v +++ b/test_regress/t/t_class_nested.v @@ -44,7 +44,7 @@ class Outer; endclass -module t(/*AUTOARG*/); +module t; initial begin NodeList n = new; NodeList::Node n1 = new; diff --git a/test_regress/t/t_class_new.v b/test_regress/t/t_class_new.v index 8f4ba17d5..7dc2540c6 100644 --- a/test_regress/t/t_class_new.v +++ b/test_regress/t/t_class_new.v @@ -57,7 +57,7 @@ class Cls2Arg; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin ClsNoArg c1; ClsArg c2; diff --git a/test_regress/t/t_class_new_bad.v b/test_regress/t/t_class_new_bad.v index f07c9e8f8..234cdba25 100644 --- a/test_regress/t/t_class_new_bad.v +++ b/test_regress/t/t_class_new_bad.v @@ -23,7 +23,7 @@ class ClsArg; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin ClsNoArg c1; ClsNoNew c2; diff --git a/test_regress/t/t_class_new_default.v b/test_regress/t/t_class_new_default.v index 49665ac4d..627f3d261 100644 --- a/test_regress/t/t_class_new_default.v +++ b/test_regress/t/t_class_new_default.v @@ -20,7 +20,7 @@ endclass function ClsDefFwd::new(default); endfunction -module t (/*AUTOARG*/); +module t; initial begin // TODO real test $stop; diff --git a/test_regress/t/t_class_new_noparen.v b/test_regress/t/t_class_new_noparen.v index 35916e977..520fa9060 100644 --- a/test_regress/t/t_class_new_noparen.v +++ b/test_regress/t/t_class_new_noparen.v @@ -24,7 +24,7 @@ function u_cache::new(string name="u_cache", u_cache::size_t max_size = 256); this.m_max_size = max_size; endfunction -module t(/*AUTOARG*/); +module t; u_cache #(real, real) obj; diff --git a/test_regress/t/t_class_new_ref_bad.v b/test_regress/t/t_class_new_ref_bad.v index f463fc841..ef02724c6 100644 --- a/test_regress/t/t_class_new_ref_bad.v +++ b/test_regress/t/t_class_new_ref_bad.v @@ -20,7 +20,7 @@ class Cls extends Base; endclass -module t(/*AUTOARG*/); +module t; initial begin Base b = Cls::generate_txn(); diff --git a/test_regress/t/t_class_new_scoped.v b/test_regress/t/t_class_new_scoped.v index e3b503126..79bcef06c 100644 --- a/test_regress/t/t_class_new_scoped.v +++ b/test_regress/t/t_class_new_scoped.v @@ -32,7 +32,7 @@ class ClsParam #(int ADD = 100) extends Base; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Base b; ClsNoArg c1; diff --git a/test_regress/t/t_class_new_this.v b/test_regress/t/t_class_new_this.v index ec3af532e..01e230494 100644 --- a/test_regress/t/t_class_new_this.v +++ b/test_regress/t/t_class_new_this.v @@ -27,7 +27,7 @@ class Testcase implements ICls; endfunction endclass -module t(/*AUTOARG*/); +module t; initial begin Testcase test; diff --git a/test_regress/t/t_class_null_bad.v b/test_regress/t/t_class_null_bad.v index e45c24c10..cd0d60c0c 100644 --- a/test_regress/t/t_class_null_bad.v +++ b/test_regress/t/t_class_null_bad.v @@ -8,7 +8,7 @@ class Cls; int imembera; endclass : Cls -module t (/*AUTOARG*/); +module t; Cls c; initial begin c = null; // Not really required as null is default diff --git a/test_regress/t/t_class_null_struct.v b/test_regress/t/t_class_null_struct.v index c68a382f8..e5fcc585b 100644 --- a/test_regress/t/t_class_null_struct.v +++ b/test_regress/t/t_class_null_struct.v @@ -12,7 +12,7 @@ typedef struct { int number; } str_t; -module t (/*AUTOARG*/); +module t; function automatic str_t func_null(); return '{null, 42}; endfunction diff --git a/test_regress/t/t_class_override.v b/test_regress/t/t_class_override.v index 72acec710..a331e5e1e 100644 --- a/test_regress/t/t_class_override.v +++ b/test_regress/t/t_class_override.v @@ -98,7 +98,7 @@ endclass class :final CClsF extends CBase; endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; CClsF cc; diff --git a/test_regress/t/t_class_override_bad.v b/test_regress/t/t_class_override_bad.v index 27c8f755a..0228cda6c 100644 --- a/test_regress/t/t_class_override_bad.v +++ b/test_regress/t/t_class_override_bad.v @@ -101,7 +101,7 @@ endclass class :final CClsBadExtendsFinal extends CClsF; endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; CClsF cc; diff --git a/test_regress/t/t_class_package.v b/test_regress/t/t_class_package.v index 5cae60a8c..90fbc1029 100644 --- a/test_regress/t/t_class_package.v +++ b/test_regress/t/t_class_package.v @@ -21,7 +21,7 @@ package pkgb; endclass endpackage -module t (/*AUTOARG*/); +module t; initial begin pkga::MyClass a; pkgb::MyClass b; diff --git a/test_regress/t/t_class_param.v b/test_regress/t/t_class_param.v index 38757c1a9..a8c1a7db8 100644 --- a/test_regress/t/t_class_param.v +++ b/test_regress/t/t_class_param.v @@ -134,7 +134,7 @@ endclass typedef ClsParamString#("abcde") cls_param_string_def_t; typedef ClsParamString#("xyz") cls_param_string_not_def_t; -module t (/*AUTOARG*/); +module t; Cls c12; Cls #(.PBASE(4)) c4; diff --git a/test_regress/t/t_class_param_bad1.v b/test_regress/t/t_class_param_bad1.v index ba12815f1..f3b889366 100644 --- a/test_regress/t/t_class_param_bad1.v +++ b/test_regress/t/t_class_param_bad1.v @@ -7,7 +7,7 @@ class Cls #(parameter PARAMB = 12); endclass -module t (/*AUTOARG*/); +module t; Cls #(.PARAMBAD(1)) c; // Bad param name Cls #(13, 1) cd; // Bad param number diff --git a/test_regress/t/t_class_param_bad2.v b/test_regress/t/t_class_param_bad2.v index 9332fdde8..d3f481bed 100644 --- a/test_regress/t/t_class_param_bad2.v +++ b/test_regress/t/t_class_param_bad2.v @@ -7,7 +7,7 @@ class Cls #(type PARAMB); endclass -module t (/*AUTOARG*/); +module t; Cls c; // Missing type param diff --git a/test_regress/t/t_class_param_bad_paren.v b/test_regress/t/t_class_param_bad_paren.v index e81209326..0ba6ff7c2 100644 --- a/test_regress/t/t_class_param_bad_paren.v +++ b/test_regress/t/t_class_param_bad_paren.v @@ -14,7 +14,7 @@ endclass class OtherMaybe extends Cls; // Questionable but others do not warn endclass -module t (/*AUTOARG*/); +module t; typedef Cls#(2) Cls2_t; // Ok typedef Cls ClsNone_t; // Ok diff --git a/test_regress/t/t_class_param_circ_bad.v b/test_regress/t/t_class_param_circ_bad.v index 3ebe10df8..2a8ffd9ee 100644 --- a/test_regress/t/t_class_param_circ_bad.v +++ b/test_regress/t/t_class_param_circ_bad.v @@ -14,7 +14,7 @@ class ClsB #(parameter PARAM = 12); ClsA #(PARAM+1) a; endclass -module t (/*AUTOARG*/); +module t; ClsA #(.PARAM(15)) c; // Bad param name diff --git a/test_regress/t/t_class_param_comma_bad.v b/test_regress/t/t_class_param_comma_bad.v index 9f165b470..77fd71e9c 100644 --- a/test_regress/t/t_class_param_comma_bad.v +++ b/test_regress/t/t_class_param_comma_bad.v @@ -9,7 +9,7 @@ endclass class Cls2 #(parameter PARAMB = 13, parameter PARAMC = 14); endclass -module t (/*AUTOARG*/); +module t; Cls #(.PARAMBAD(1)) c; // Bad param name Cls #(13, 1) cd; // Bad param number diff --git a/test_regress/t/t_class_param_extends.v b/test_regress/t/t_class_param_extends.v index 5e59c09d2..76cc416fe 100644 --- a/test_regress/t/t_class_param_extends.v +++ b/test_regress/t/t_class_param_extends.v @@ -60,7 +60,7 @@ endclass // See also t_class_param_mod.v -module t (/*AUTOARG*/); +module t; Cls #(.P(4)) c4; Cls8_t c8; diff --git a/test_regress/t/t_class_param_func_return.v b/test_regress/t/t_class_param_func_return.v index 9f3185d7c..3cdcfd910 100644 --- a/test_regress/t/t_class_param_func_return.v +++ b/test_regress/t/t_class_param_func_return.v @@ -21,7 +21,7 @@ class Foo #(type T=int); endfunction endclass -module t (/*AUTOARG*/); +module t; Foo f_def1, f_def2; Foo#(bit) f_bit1, f_bit2; diff --git a/test_regress/t/t_class_param_mod.v b/test_regress/t/t_class_param_mod.v index 27200d9b4..cb89a3ff7 100644 --- a/test_regress/t/t_class_param_mod.v +++ b/test_regress/t/t_class_param_mod.v @@ -9,7 +9,7 @@ // See also t_class_param.v -module t (/*AUTOARG*/); +module t; class Cls #(parameter PBASE = 12); bit [PBASE-1:0] member; diff --git a/test_regress/t/t_class_param_nconst_bad.v b/test_regress/t/t_class_param_nconst_bad.v index c7c37437d..64ac0fd70 100644 --- a/test_regress/t/t_class_param_nconst_bad.v +++ b/test_regress/t/t_class_param_nconst_bad.v @@ -7,7 +7,7 @@ class Cls #(parameter PARAM = 12); endclass -module t (/*AUTOARG*/); +module t; Cls #(.PARAM($random)) c; // Bad param name diff --git a/test_regress/t/t_class_param_nested_bad.v b/test_regress/t/t_class_param_nested_bad.v index ec65b3e09..265ff794b 100644 --- a/test_regress/t/t_class_param_nested_bad.v +++ b/test_regress/t/t_class_param_nested_bad.v @@ -41,7 +41,7 @@ endclass typedef Cls#(8) Cls8_t; -module t (/*AUTOARG*/); +module t; Cls c12; Cls #(.PBASE(4)) c4; diff --git a/test_regress/t/t_class_param_noinit.v b/test_regress/t/t_class_param_noinit.v index 92a1f7df6..6baf9c4de 100644 --- a/test_regress/t/t_class_param_noinit.v +++ b/test_regress/t/t_class_param_noinit.v @@ -8,7 +8,7 @@ class Cls #(int A, int B); endclass -module t(/*AUTOARG*/); +module t; initial begin $write("*-* All Finished *-*\n"); $finish; diff --git a/test_regress/t/t_class_param_noinit_bad.v b/test_regress/t/t_class_param_noinit_bad.v index 856842f33..180b6935c 100644 --- a/test_regress/t/t_class_param_noinit_bad.v +++ b/test_regress/t/t_class_param_noinit_bad.v @@ -8,7 +8,7 @@ class Cls #(int A, int B, type T); endclass -module t(/*AUTOARG*/); +module t; initial begin Cls #(1) c; // Bad: missing B $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_class_param_override_local_bad.v b/test_regress/t/t_class_param_override_local_bad.v index a608fbefa..39c89ea99 100644 --- a/test_regress/t/t_class_param_override_local_bad.v +++ b/test_regress/t/t_class_param_override_local_bad.v @@ -23,7 +23,7 @@ endclass class Cls3 implements Icls1#(2), Icls2#(0); endclass -module t (/*AUTOARG*/); +module t; initial begin automatic Cls1#(bit) cls1 = new; diff --git a/test_regress/t/t_class_param_pkg.v b/test_regress/t/t_class_param_pkg.v index 2650a5645..5fe599280 100644 --- a/test_regress/t/t_class_param_pkg.v +++ b/test_regress/t/t_class_param_pkg.v @@ -49,7 +49,7 @@ package Pkg; endpackage -module t (/*AUTOARG*/); +module t; Pkg::Cls c12; Pkg::Cls #(.PBASE(4)) c4; diff --git a/test_regress/t/t_class_param_type.v b/test_regress/t/t_class_param_type.v index 24b7da7a7..d00d1ece4 100644 --- a/test_regress/t/t_class_param_type.v +++ b/test_regress/t/t_class_param_type.v @@ -100,7 +100,7 @@ class GetStaticXVal #(type T = int); endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin automatic ParclsDefaultType#(Cls) pdt1 = new; diff --git a/test_regress/t/t_class_param_unused_default.v b/test_regress/t/t_class_param_unused_default.v index e031fa36f..3ce45727b 100644 --- a/test_regress/t/t_class_param_unused_default.v +++ b/test_regress/t/t_class_param_unused_default.v @@ -15,7 +15,7 @@ class Baz; int x = 1; endclass -module t (/*AUTOARG*/); +module t; initial begin Bar#(Baz) bar_baz = new; if (bar_baz.t.x != 1) $stop; diff --git a/test_regress/t/t_class_ref_bad.v b/test_regress/t/t_class_ref_bad.v index 5f28f6967..c0af601a8 100644 --- a/test_regress/t/t_class_ref_bad.v +++ b/test_regress/t/t_class_ref_bad.v @@ -8,7 +8,7 @@ class ClsRight; string m_s; endclass -module t (/*AUTOARG*/); +module t; string s; initial begin // verilator lint_off PKGNODECL diff --git a/test_regress/t/t_class_ref_ref.v b/test_regress/t/t_class_ref_ref.v index 92cee9e8e..7678dedbe 100644 --- a/test_regress/t/t_class_ref_ref.v +++ b/test_regress/t/t_class_ref_ref.v @@ -7,7 +7,7 @@ class Cls#(type T = bit); endclass -module t(/*AUTOARG*/); +module t; Cls#(bit) cb; diff --git a/test_regress/t/t_class_short_circuit.v b/test_regress/t/t_class_short_circuit.v index dd7477267..b34f863cb 100644 --- a/test_regress/t/t_class_short_circuit.v +++ b/test_regress/t/t_class_short_circuit.v @@ -18,7 +18,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls cls; if (cls != null && cls.x == 10) $stop; diff --git a/test_regress/t/t_class_static.v b/test_regress/t/t_class_static.v index f92c9a68b..9dae39e98 100644 --- a/test_regress/t/t_class_static.v +++ b/test_regress/t/t_class_static.v @@ -30,7 +30,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; Cls a = new; Cls b = new; diff --git a/test_regress/t/t_class_static_default_arg.v b/test_regress/t/t_class_static_default_arg.v index 19ebe5082..b0572a40c 100644 --- a/test_regress/t/t_class_static_default_arg.v +++ b/test_regress/t/t_class_static_default_arg.v @@ -10,7 +10,7 @@ class Foo; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin bit first; diff --git a/test_regress/t/t_class_static_member.v b/test_regress/t/t_class_static_member.v index f6a0be448..d4eef9eb2 100644 --- a/test_regress/t/t_class_static_member.v +++ b/test_regress/t/t_class_static_member.v @@ -30,7 +30,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; Cls a = new; Cls b = new; diff --git a/test_regress/t/t_class_static_member_pkg.v b/test_regress/t/t_class_static_member_pkg.v index 49d320198..a351b183c 100644 --- a/test_regress/t/t_class_static_member_pkg.v +++ b/test_regress/t/t_class_static_member_pkg.v @@ -27,7 +27,7 @@ class Cls; endclass endpackage -module t (/*AUTOARG*/); +module t; Pkg::Cls a = new; Pkg::Cls b = new; diff --git a/test_regress/t/t_class_static_member_sel.v b/test_regress/t/t_class_static_member_sel.v index 2e1594c8b..3071bf50f 100644 --- a/test_regress/t/t_class_static_member_sel.v +++ b/test_regress/t/t_class_static_member_sel.v @@ -54,7 +54,7 @@ class uvm_root; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Foo foo = new; diff --git a/test_regress/t/t_class_static_method.v b/test_regress/t/t_class_static_method.v index 5b518afb3..85ac94d0a 100644 --- a/test_regress/t/t_class_static_method.v +++ b/test_regress/t/t_class_static_method.v @@ -30,7 +30,7 @@ class OCls; endtask endclass -module t (/*AUTOARG*/); +module t; initial begin int x; diff --git a/test_regress/t/t_class_static_order.v b/test_regress/t/t_class_static_order.v index d9fda4eca..f361a8e74 100644 --- a/test_regress/t/t_class_static_order.v +++ b/test_regress/t/t_class_static_order.v @@ -43,7 +43,7 @@ class ClsC; endfunction endclass -module t (/*AUTOARG*/); +module t; function void makec; ClsC c; $display("c = new;"); diff --git a/test_regress/t/t_class_super_bad.v b/test_regress/t/t_class_super_bad.v index 8a9e7c675..cb84dab9c 100644 --- a/test_regress/t/t_class_super_bad.v +++ b/test_regress/t/t_class_super_bad.v @@ -5,7 +5,7 @@ // SPDX-License-Identifier: CC0-1.0 // -module t(/*AUTOARG*/); +module t; bit [3:0] addr; initial begin diff --git a/test_regress/t/t_class_super_new2.v b/test_regress/t/t_class_super_new2.v index 95a01b683..5d5c455f9 100644 --- a/test_regress/t/t_class_super_new2.v +++ b/test_regress/t/t_class_super_new2.v @@ -19,7 +19,7 @@ module dut_unit_test; svunit_testcase svunit_ut = new("dut_ut"); endmodule -module t(/*AUTOARG*/); +module t; dut_unit_test dut_ut(); diff --git a/test_regress/t/t_class_super_new_bad_nfirst.v b/test_regress/t/t_class_super_new_bad_nfirst.v index 8e1197305..7fbac76d4 100644 --- a/test_regress/t/t_class_super_new_bad_nfirst.v +++ b/test_regress/t/t_class_super_new_bad_nfirst.v @@ -19,7 +19,7 @@ class Cls extends Base; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; c = new; diff --git a/test_regress/t/t_class_this_constructor.v b/test_regress/t/t_class_this_constructor.v index 944d737db..1fe870502 100644 --- a/test_regress/t/t_class_this_constructor.v +++ b/test_regress/t/t_class_this_constructor.v @@ -14,7 +14,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; Cls c; initial begin c = new; diff --git a/test_regress/t/t_class_typedef.v b/test_regress/t/t_class_typedef.v index e5034a601..59426c68f 100644 --- a/test_regress/t/t_class_typedef.v +++ b/test_regress/t/t_class_typedef.v @@ -21,7 +21,7 @@ virtual class C#(parameter type T = logic, parameter SIZE = 1); } t_struct; endclass -module t (/*AUTOARG*/); +module t; initial begin uvm_resource_pool pool = new; typedef logic [7:0] t_t0; diff --git a/test_regress/t/t_class_unsup_bad.v b/test_regress/t/t_class_unsup_bad.v index ade12a18e..78e9b771c 100644 --- a/test_regress/t/t_class_unsup_bad.v +++ b/test_regress/t/t_class_unsup_bad.v @@ -35,7 +35,7 @@ endclass virtual class VC; endclass -module t (/*AUTOARG*/); +module t; endmodule typedef class uvm_root; diff --git a/test_regress/t/t_class_uses_this.v b/test_regress/t/t_class_uses_this.v index ac8ac11f1..8d7109866 100644 --- a/test_regress/t/t_class_uses_this.v +++ b/test_regress/t/t_class_uses_this.v @@ -41,7 +41,7 @@ class wrapped_int; endfunction endclass -module t(/*AUTOARG*/); +module t; Cls bar; Cls baz; diff --git a/test_regress/t/t_class_uses_this_bad.v b/test_regress/t/t_class_uses_this_bad.v index 4abd84682..9d6019ed0 100644 --- a/test_regress/t/t_class_uses_this_bad.v +++ b/test_regress/t/t_class_uses_this_bad.v @@ -5,7 +5,7 @@ // SPDX-License-Identifier: CC0-1.0 // -module t(/*AUTOARG*/); +module t; bit [3:0] addr; initial begin this.addr = 2; diff --git a/test_regress/t/t_class_vparam.v b/test_regress/t/t_class_vparam.v index 38d88c7a7..76403f03b 100644 --- a/test_regress/t/t_class_vparam.v +++ b/test_regress/t/t_class_vparam.v @@ -22,7 +22,7 @@ class arg_class_t; int ifield; endclass -module t (/*AUTOARG*/); +module t; vclass vir; paramed_class_t#(arg_class_t) argu; diff --git a/test_regress/t/t_compiler_include_dpi.v b/test_regress/t/t_compiler_include_dpi.v index 69e673621..4cc0c3d84 100644 --- a/test_regress/t/t_compiler_include_dpi.v +++ b/test_regress/t/t_compiler_include_dpi.v @@ -6,7 +6,7 @@ // Version 2.0. // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 -module t (/*AUTOARG*/); +module t; int a = 123; int b = 321; int out; diff --git a/test_regress/t/t_concat_impure.v b/test_regress/t/t_concat_impure.v index 64bb7e0bd..fc7c1e9e3 100644 --- a/test_regress/t/t_concat_impure.v +++ b/test_regress/t/t_concat_impure.v @@ -11,7 +11,7 @@ function int side_effect; return 1; endfunction -module t (/*AUTOARG*/); +module t; reg [15:0] x; reg [15:0] y; initial begin diff --git a/test_regress/t/t_concat_large.v b/test_regress/t/t_concat_large.v index e01f9992d..d95caf46c 100644 --- a/test_regress/t/t_concat_large.v +++ b/test_regress/t/t_concat_large.v @@ -4,7 +4,7 @@ // any use, without warranty, 2015 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg [32767:0] a; diff --git a/test_regress/t/t_concat_large_bad.v b/test_regress/t/t_concat_large_bad.v index 05f19cbcd..5b7309f84 100644 --- a/test_regress/t/t_concat_large_bad.v +++ b/test_regress/t/t_concat_large_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2015 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire [32767:0] a = {32768{1'b1}}; diff --git a/test_regress/t/t_concat_link_bad.v b/test_regress/t/t_concat_link_bad.v index 8b0d87ab7..44f6cf068 100644 --- a/test_regress/t/t_concat_link_bad.v +++ b/test_regress/t/t_concat_link_bad.v @@ -4,7 +4,7 @@ // without warranty, 2019. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef logic [3:0] foo_t; diff --git a/test_regress/t/t_concat_string.v b/test_regress/t/t_concat_string.v index b0538c185..c05655891 100644 --- a/test_regress/t/t_concat_string.v +++ b/test_regress/t/t_concat_string.v @@ -6,7 +6,7 @@ typedef enum {efgh} en; -module t (/*AUTOARG*/); +module t; initial begin en e; string s; diff --git a/test_regress/t/t_const.v b/test_regress/t/t_const.v index 43fa122f7..8c09bd483 100644 --- a/test_regress/t/t_const.v +++ b/test_regress/t/t_const.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin // verilator lint_off WIDTH diff --git a/test_regress/t/t_const_bad.v b/test_regress/t/t_const_bad.v index c1edeaf2c..c8f820d64 100644 --- a/test_regress/t/t_const_bad.v +++ b/test_regress/t/t_const_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin if (32'hxxxxxxxx !== 'hx) $stop; diff --git a/test_regress/t/t_const_dec_mixed_bad.v b/test_regress/t/t_const_dec_mixed_bad.v index d9a6d4780..2e0008627 100644 --- a/test_regress/t/t_const_dec_mixed_bad.v +++ b/test_regress/t/t_const_dec_mixed_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005-2007 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; parameter [200:0] MIXED = 32'dx_1; diff --git a/test_regress/t/t_const_number_bad.v b/test_regress/t/t_const_number_bad.v index 736a4c45e..3d9499dd1 100644 --- a/test_regress/t/t_const_number_bad.v +++ b/test_regress/t/t_const_number_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; parameter integer FOO2 = 32'd-6; // Minus doesn't go here parameter integer FOO3 = 32'd; diff --git a/test_regress/t/t_const_number_v_bad.v b/test_regress/t/t_const_number_v_bad.v index d8b503ba8..6af2b6ec8 100644 --- a/test_regress/t/t_const_number_v_bad.v +++ b/test_regress/t/t_const_number_v_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Ethan Sifferman. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // "unbased_unsized_literal" is SystemVerilog only // Should fail with "NEWERSTD" diff --git a/test_regress/t/t_const_overflow_bad.v b/test_regress/t/t_const_overflow_bad.v index 0217fa4f2..c86566607 100644 --- a/test_regress/t/t_const_overflow_bad.v +++ b/test_regress/t/t_const_overflow_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005-2007 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; parameter [200:0] TOO_SMALL = 94'd123456789012345678901234567890; // One to many digits diff --git a/test_regress/t/t_const_slicesel.v b/test_regress/t/t_const_slicesel.v index c62da7db3..8b5bd8251 100644 --- a/test_regress/t/t_const_slicesel.v +++ b/test_regress/t/t_const_slicesel.v @@ -4,7 +4,7 @@ // any use, without warranty, 2021 by Michael Lefebvre. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; localparam int unsigned A2 [1:0] = '{5,6}; localparam int unsigned A3 [2:0] = '{4,5,6}; diff --git a/test_regress/t/t_constraint.v b/test_regress/t/t_constraint.v index b30f4847a..b3296fc16 100644 --- a/test_regress/t/t_constraint.v +++ b/test_regress/t/t_constraint.v @@ -13,7 +13,7 @@ class Packet; endclass -module t (/*AUTOARG*/); +module t; Packet p; diff --git a/test_regress/t/t_constraint_before_randc_bad.v b/test_regress/t/t_constraint_before_randc_bad.v index effeefd30..e028f9096 100644 --- a/test_regress/t/t_constraint_before_randc_bad.v +++ b/test_regress/t/t_constraint_before_randc_bad.v @@ -11,5 +11,5 @@ class Cls1; constraint raint2_bad { solve b1 before b2; } // BAD no randc vars here endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_constraint_countones.v b/test_regress/t/t_constraint_countones.v index 86bf60772..979f873ea 100644 --- a/test_regress/t/t_constraint_countones.v +++ b/test_regress/t/t_constraint_countones.v @@ -38,7 +38,7 @@ class Rand3; constraint c {$countones(x) == 1;} endclass -module t ( /*AUTOARG*/); +module t; Rand1 r1 = new; Rand2 r2 = new; Rand3 r3 = new; diff --git a/test_regress/t/t_constraint_dist_randc_bad.v b/test_regress/t/t_constraint_dist_randc_bad.v index 40cd2a770..f363b3aa2 100644 --- a/test_regress/t/t_constraint_dist_randc_bad.v +++ b/test_regress/t/t_constraint_dist_randc_bad.v @@ -10,5 +10,5 @@ class Cls1; constraint c_bad { rc dist {3 := 0, 10 := 5}; } // Bad, no dist on randc endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_constraint_extern.v b/test_regress/t/t_constraint_extern.v index ec3888f08..abb7ae2b1 100644 --- a/test_regress/t/t_constraint_extern.v +++ b/test_regress/t/t_constraint_extern.v @@ -22,7 +22,7 @@ constraint Packet::ctwo { two > 1 && two < 3; } function void Packet::f(); endfunction -module t (/*AUTOARG*/); +module t; Packet p; diff --git a/test_regress/t/t_constraint_extern_bad.v b/test_regress/t/t_constraint_extern_bad.v index 743d9f4b1..dd187a08a 100644 --- a/test_regress/t/t_constraint_extern_bad.v +++ b/test_regress/t/t_constraint_extern_bad.v @@ -10,5 +10,5 @@ endclass constraint Packet::missing_extern { } -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_constraint_json_only.v b/test_regress/t/t_constraint_json_only.v index c7abf2703..c455e919d 100644 --- a/test_regress/t/t_constraint_json_only.v +++ b/test_regress/t/t_constraint_json_only.v @@ -64,7 +64,7 @@ class Packet; endclass -module t (/*AUTOARG*/); +module t; Packet p; diff --git a/test_regress/t/t_constraint_method_bad.v b/test_regress/t/t_constraint_method_bad.v index 05f833a5e..ee215fbfd 100644 --- a/test_regress/t/t_constraint_method_bad.v +++ b/test_regress/t/t_constraint_method_bad.v @@ -15,5 +15,5 @@ class Packet; endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_constraint_operators.v b/test_regress/t/t_constraint_operators.v index c4faac203..3a4134f9d 100644 --- a/test_regress/t/t_constraint_operators.v +++ b/test_regress/t/t_constraint_operators.v @@ -67,7 +67,7 @@ class Packet; endclass -module t (/*AUTOARG*/); +module t; Packet p; diff --git a/test_regress/t/t_constraint_soft_randc_bad.v b/test_regress/t/t_constraint_soft_randc_bad.v index f10a49f34..a4b950f8a 100644 --- a/test_regress/t/t_constraint_soft_randc_bad.v +++ b/test_regress/t/t_constraint_soft_randc_bad.v @@ -10,5 +10,5 @@ class Cls1; constraint c_bad { soft rc > 4; } // Bad, no soft on randc endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_constraint_state.v b/test_regress/t/t_constraint_state.v index f89f2819a..ee0a8f103 100644 --- a/test_regress/t/t_constraint_state.v +++ b/test_regress/t/t_constraint_state.v @@ -50,7 +50,7 @@ class Packet; endfunction endclass -module t (/*AUTOARG*/); +module t; Packet p; diff --git a/test_regress/t/t_constraint_xml.v b/test_regress/t/t_constraint_xml.v index c7abf2703..c455e919d 100644 --- a/test_regress/t/t_constraint_xml.v +++ b/test_regress/t/t_constraint_xml.v @@ -64,7 +64,7 @@ class Packet; endclass -module t (/*AUTOARG*/); +module t; Packet p; diff --git a/test_regress/t/t_cover_lib.v b/test_regress/t/t_cover_lib.v index 1d95829b9..252a7d7f5 100644 --- a/test_regress/t/t_cover_lib.v +++ b/test_regress/t/t_cover_lib.v @@ -6,5 +6,5 @@ // Version 2.0. // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_cover_main.v b/test_regress/t/t_cover_main.v index 4f5101d7d..4e23b0870 100644 --- a/test_regress/t/t_cover_main.v +++ b/test_regress/t/t_cover_main.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_debug_graph_test.v b/test_regress/t/t_debug_graph_test.v index ff9763b1b..9a259951f 100644 --- a/test_regress/t/t_debug_graph_test.v +++ b/test_regress/t/t_debug_graph_test.v @@ -5,5 +5,5 @@ // without warranty, 2015 by Todd Strader. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_debug_inputs.py b/test_regress/t/t_debug_inputs.py index eb6b583f6..9033f39b4 100755 --- a/test_regress/t/t_debug_inputs.py +++ b/test_regress/t/t_debug_inputs.py @@ -13,8 +13,8 @@ test.scenarios('vlt') test.lint(v_flags=["--debug --debugi 1 -Wno-MULTITOP t/t_debug_inputs_b.v"]) -test.file_grep(test.obj_dir + "/V" + test.name + "__inputs.vpp", r'module t_debug_inputs ') -test.file_grep(test.obj_dir + "/V" + test.name + "__inputs.vpp", r'module t_debug_inputs_a ') -test.file_grep(test.obj_dir + "/V" + test.name + "__inputs.vpp", r'module t_debug_inputs_b ') +test.file_grep(test.obj_dir + "/V" + test.name + "__inputs.vpp", r'module t_debug_inputs;') +test.file_grep(test.obj_dir + "/V" + test.name + "__inputs.vpp", r'module t_debug_inputs_a;') +test.file_grep(test.obj_dir + "/V" + test.name + "__inputs.vpp", r'module t_debug_inputs_b;') test.passes() diff --git a/test_regress/t/t_debug_inputs.v b/test_regress/t/t_debug_inputs.v index 0e4f4c44d..c80142044 100644 --- a/test_regress/t/t_debug_inputs.v +++ b/test_regress/t/t_debug_inputs.v @@ -7,5 +7,5 @@ `include "t/t_debug_inputs_a.v" -module t_debug_inputs (/*AUTOARG*/); +module t_debug_inputs; endmodule diff --git a/test_regress/t/t_debug_inputs_a.v b/test_regress/t/t_debug_inputs_a.v index 7754ce73a..3af841409 100644 --- a/test_regress/t/t_debug_inputs_a.v +++ b/test_regress/t/t_debug_inputs_a.v @@ -5,5 +5,5 @@ // without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t_debug_inputs_a (/*AUTOARG*/); +module t_debug_inputs_a; endmodule diff --git a/test_regress/t/t_debug_inputs_b.v b/test_regress/t/t_debug_inputs_b.v index 7321188ab..614de7579 100644 --- a/test_regress/t/t_debug_inputs_b.v +++ b/test_regress/t/t_debug_inputs_b.v @@ -5,5 +5,5 @@ // without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t_debug_inputs_b (/*AUTOARG*/); +module t_debug_inputs_b; endmodule diff --git a/test_regress/t/t_disable.v b/test_regress/t/t_disable.v index ebfd707a1..ad52f005d 100644 --- a/test_regress/t/t_disable.v +++ b/test_regress/t/t_disable.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin fork : foo diff --git a/test_regress/t/t_disable_empty.v b/test_regress/t/t_disable_empty.v index aac889913..b11e20be6 100644 --- a/test_regress/t/t_disable_empty.v +++ b/test_regress/t/t_disable_empty.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin if (0) begin : block diff --git a/test_regress/t/t_disable_empty_outside.v b/test_regress/t/t_disable_empty_outside.v index 781ac4709..4b023c1c1 100644 --- a/test_regress/t/t_disable_empty_outside.v +++ b/test_regress/t/t_disable_empty_outside.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin begin : blk int x = 0; diff --git a/test_regress/t/t_disable_func_bad.v b/test_regress/t/t_disable_func_bad.v index 587987cd0..7a1f8ef6a 100644 --- a/test_regress/t/t_disable_func_bad.v +++ b/test_regress/t/t_disable_func_bad.v @@ -11,7 +11,7 @@ function int increment_x; return x; endfunction -module t(/*AUTOARG*/); +module t; initial begin fork diff --git a/test_regress/t/t_disable_genfor2.v b/test_regress/t/t_disable_genfor2.v index eb9382f99..4bb9a4c2e 100644 --- a/test_regress/t/t_disable_genfor2.v +++ b/test_regress/t/t_disable_genfor2.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t ( /*AUTOARG*/); +module t; for (genvar j = 0; j < 3; j++) begin : genblk initial begin : init int i; diff --git a/test_regress/t/t_disable_genfor_unsup.v b/test_regress/t/t_disable_genfor_unsup.v index 0f8e05c16..c1f1e845b 100644 --- a/test_regress/t/t_disable_genfor_unsup.v +++ b/test_regress/t/t_disable_genfor_unsup.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t ( /*AUTOARG*/); +module t; for (genvar j = 0; j < 3; j++) begin : genblk initial begin : init int i; diff --git a/test_regress/t/t_disable_inside.v b/test_regress/t/t_disable_inside.v index 5e4e428e3..61cca422a 100644 --- a/test_regress/t/t_disable_inside.v +++ b/test_regress/t/t_disable_inside.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t ( /*AUTOARG*/); +module t; initial begin int x = 0; fork : fork_blk diff --git a/test_regress/t/t_disable_outside.v b/test_regress/t/t_disable_outside.v index 526c5eaf3..5cca902c5 100644 --- a/test_regress/t/t_disable_outside.v +++ b/test_regress/t/t_disable_outside.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin begin : blk int x = 0; diff --git a/test_regress/t/t_disable_outside2.v b/test_regress/t/t_disable_outside2.v index f4e397359..96f72a544 100644 --- a/test_regress/t/t_disable_outside2.v +++ b/test_regress/t/t_disable_outside2.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin for (int i = 0; i < 3; i++) begin begin : blk diff --git a/test_regress/t/t_disable_outside3.v b/test_regress/t/t_disable_outside3.v index f386699ee..2a4e76636 100644 --- a/test_regress/t/t_disable_outside3.v +++ b/test_regress/t/t_disable_outside3.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin begin : blk int x = 0; diff --git a/test_regress/t/t_disable_outside4.v b/test_regress/t/t_disable_outside4.v index 22c7d9f75..7856abc1d 100644 --- a/test_regress/t/t_disable_outside4.v +++ b/test_regress/t/t_disable_outside4.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin begin : blk int x = 0; diff --git a/test_regress/t/t_disable_task_simple.v b/test_regress/t/t_disable_task_simple.v index cde398fbb..5eb93fbe8 100644 --- a/test_regress/t/t_disable_task_simple.v +++ b/test_regress/t/t_disable_task_simple.v @@ -31,7 +31,7 @@ class Cls; endtask endclass -module t ( /*AUTOARG*/); +module t; initial begin Cls c = new; c.disable_outside_fork(); diff --git a/test_regress/t/t_disable_task_unsup.v b/test_regress/t/t_disable_task_unsup.v index 0ab943842..8cda396f0 100644 --- a/test_regress/t/t_disable_task_unsup.v +++ b/test_regress/t/t_disable_task_unsup.v @@ -12,7 +12,7 @@ task increment_x; x++; endtask -module t(/*AUTOARG*/); +module t; initial begin fork diff --git a/test_regress/t/t_disable_within_task_unsup.v b/test_regress/t/t_disable_within_task_unsup.v index cc7ae4923..c3f3d13e7 100644 --- a/test_regress/t/t_disable_within_task_unsup.v +++ b/test_regress/t/t_disable_within_task_unsup.v @@ -8,7 +8,7 @@ task disable_fork_blk; disable t.init.fork_blk; endtask -module t(/*AUTOARG*/); +module t; initial begin : init int x = 0; diff --git a/test_regress/t/t_display_l.v b/test_regress/t/t_display_l.v index 5bf917591..6fc0ee214 100644 --- a/test_regress/t/t_display_l.v +++ b/test_regress/t/t_display_l.v @@ -4,7 +4,7 @@ // without warranty, 2015 by Todd Strader. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin assert (0 == 0) else $fatal(2, "%l %m : %d", 0); diff --git a/test_regress/t/t_display_merge.v b/test_regress/t/t_display_merge.v index ede4c15eb..e83b987f3 100644 --- a/test_regress/t/t_display_merge.v +++ b/test_regress/t/t_display_merge.v @@ -4,7 +4,7 @@ // any use, without warranty, 2017 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; int one = `ifdef verilator $c32(1) diff --git a/test_regress/t/t_do_while.v b/test_regress/t/t_do_while.v index cf52f432d..0f572a34c 100644 --- a/test_regress/t/t_do_while.v +++ b/test_regress/t/t_do_while.v @@ -13,7 +13,7 @@ function automatic int get_1; return a; endfunction -module t (/*AUTOARG*/); +module t; int a; initial begin if (get_1() != 1) $stop; diff --git a/test_regress/t/t_dpi_lib.v b/test_regress/t/t_dpi_lib.v index 41b6348ef..2b4b54bda 100644 --- a/test_regress/t/t_dpi_lib.v +++ b/test_regress/t/t_dpi_lib.v @@ -6,7 +6,7 @@ // Version 2.0. // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 -module t (/*AUTOARG*/); +module t; import "DPI-C" function int dpii_failure(); import "DPI-C" function void dpii_check(); diff --git a/test_regress/t/t_dpi_open.v b/test_regress/t/t_dpi_open.v index 2aded7a29..80b35cd91 100644 --- a/test_regress/t/t_dpi_open.v +++ b/test_regress/t/t_dpi_open.v @@ -9,7 +9,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; // verilator lint_off UNUSED reg i_rl_p0_u1 [-2:2]; diff --git a/test_regress/t/t_dpi_open_elem.v b/test_regress/t/t_dpi_open_elem.v index 70825de4e..72fd58619 100644 --- a/test_regress/t/t_dpi_open_elem.v +++ b/test_regress/t/t_dpi_open_elem.v @@ -9,7 +9,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; bit i_bit_p0_u1 [2:-2]; bit o_bit_p0_u1 [2:-2]; diff --git a/test_regress/t/t_dpi_open_oob_bad.v b/test_regress/t/t_dpi_open_oob_bad.v index 579ac523e..6218fc2c6 100644 --- a/test_regress/t/t_dpi_open_oob_bad.v +++ b/test_regress/t/t_dpi_open_oob_bad.v @@ -6,7 +6,7 @@ // Version 2.0. // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 -module t (/*AUTOARG*/); +module t; import "DPI-C" function void dpii_nullptr(); diff --git a/test_regress/t/t_dpi_open_vecval.v b/test_regress/t/t_dpi_open_vecval.v index 1542e710e..f3059b9bc 100644 --- a/test_regress/t/t_dpi_open_vecval.v +++ b/test_regress/t/t_dpi_open_vecval.v @@ -9,7 +9,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; // Note that a packed array is required, otherwise some simulators will return bad // results using *ElemVecVal() routines instead of scalar *Elem() routines. diff --git a/test_regress/t/t_dpi_openfirst.v b/test_regress/t/t_dpi_openfirst.v index aad3d32ba..9033e0515 100644 --- a/test_regress/t/t_dpi_openfirst.v +++ b/test_regress/t/t_dpi_openfirst.v @@ -13,7 +13,7 @@ `endif `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; int i_i [2:0]; int o_i [2:0]; diff --git a/test_regress/t/t_dpi_shortcircuit.v b/test_regress/t/t_dpi_shortcircuit.v index 709a8b1cd..3505268a2 100644 --- a/test_regress/t/t_dpi_shortcircuit.v +++ b/test_regress/t/t_dpi_shortcircuit.v @@ -16,7 +16,7 @@ `define NO_SHORTREAL `endif -module t (/*AUTOARG*/); +module t; // Note these are NOT pure. import "DPI-C" function void dpii_clear(); diff --git a/test_regress/t/t_dpi_shortcircuit2.v b/test_regress/t/t_dpi_shortcircuit2.v index 120e3f19e..c5c16bd76 100644 --- a/test_regress/t/t_dpi_shortcircuit2.v +++ b/test_regress/t/t_dpi_shortcircuit2.v @@ -16,7 +16,7 @@ `define NO_SHORTREAL `endif -module t (/*AUTOARG*/); +module t; // Note these are NOT pure. import "DPI-C" function void dpii_clear(); diff --git a/test_regress/t/t_duplicated_gen_blocks_bad.v b/test_regress/t/t_duplicated_gen_blocks_bad.v index 43f7742a9..c8d581b98 100644 --- a/test_regress/t/t_duplicated_gen_blocks_bad.v +++ b/test_regress/t/t_duplicated_gen_blocks_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; parameter X = 2; begin : block end diff --git a/test_regress/t/t_dynarray_bad.v b/test_regress/t/t_dynarray_bad.v index e2533af5a..c14a8ac34 100644 --- a/test_regress/t/t_dynarray_bad.v +++ b/test_regress/t/t_dynarray_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; integer a[]; diff --git a/test_regress/t/t_dynarray_bits.v b/test_regress/t/t_dynarray_bits.v index 1c0e76b15..f3aa78bd5 100644 --- a/test_regress/t/t_dynarray_bits.v +++ b/test_regress/t/t_dynarray_bits.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; integer a[]; diff --git a/test_regress/t/t_dynarray_cast_write.v b/test_regress/t/t_dynarray_cast_write.v index 3cf66f7a8..9df1af50c 100644 --- a/test_regress/t/t_dynarray_cast_write.v +++ b/test_regress/t/t_dynarray_cast_write.v @@ -14,7 +14,7 @@ class Bar extends Foo; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin int sel_bit = 3; Bar bar = new; diff --git a/test_regress/t/t_dynarray_concat.v b/test_regress/t/t_dynarray_concat.v index fd21b3780..6ac0ed946 100644 --- a/test_regress/t/t_dynarray_concat.v +++ b/test_regress/t/t_dynarray_concat.v @@ -11,7 +11,7 @@ `endif `define checkp(gotv,expv_s) do begin string gotv_s; gotv_s = $sformatf("%p", gotv); if ((gotv_s) != (expv_s)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv_s), (expv_s)); `stop; end end while(0); -module t(/*AUTOARG*/); +module t; int da[][2] = '{}; int da2[][2] = '{'{1, 2}}; diff --git a/test_regress/t/t_dynarray_init.v b/test_regress/t/t_dynarray_init.v index 0f69cafc0..df1e1430c 100644 --- a/test_regress/t/t_dynarray_init.v +++ b/test_regress/t/t_dynarray_init.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; int a1[] = '{12, 13}; int a2[] = {14, 15}; diff --git a/test_regress/t/t_dynarray_method.v b/test_regress/t/t_dynarray_method.v index 97c25ca63..c46050d42 100644 --- a/test_regress/t/t_dynarray_method.v +++ b/test_regress/t/t_dynarray_method.v @@ -9,7 +9,7 @@ `define checks(gotv,expv) do if ((gotv) != (expv)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); `define checkp(gotv,expv_s) do begin string gotv_s; gotv_s = $sformatf("%p", gotv); if ((gotv_s) != (expv_s)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv_s), (expv_s)); `stop; end end while(0); -module t (/*AUTOARG*/); +module t; string s[] = { "hello", "sad", "sad", "world" }; diff --git a/test_regress/t/t_dynarray_method_bad.v b/test_regress/t/t_dynarray_method_bad.v index 61c06fa2e..e6d9e2aff 100644 --- a/test_regress/t/t_dynarray_method_bad.v +++ b/test_regress/t/t_dynarray_method_bad.v @@ -9,7 +9,7 @@ `define checks(gotv,expv) do if ((gotv) != (expv)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); `define checkp(gotv,expv_s) do begin string gotv_s; gotv_s = $sformatf("%p", gotv); if ((gotv_s) != (expv_s)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv_s), (expv_s)); `stop; end end while(0); -module t (/*AUTOARG*/); +module t; string s[] = { "hello", "sad", "sad", "world" }; initial begin diff --git a/test_regress/t/t_dynarray_multid.v b/test_regress/t/t_dynarray_multid.v index d8bb20f16..e7c8de884 100644 --- a/test_regress/t/t_dynarray_multid.v +++ b/test_regress/t/t_dynarray_multid.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; integer a1 [][]; integer a2 [2][]; diff --git a/test_regress/t/t_dynarray_param.v b/test_regress/t/t_dynarray_param.v index e16635584..f35a5a3b4 100644 --- a/test_regress/t/t_dynarray_param.v +++ b/test_regress/t/t_dynarray_param.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t(/*AUTOARG*/); +module t; localparam int SIZES [3:0] = '{1,2,3,4}; typedef int calc_sums_t [3:0]; diff --git a/test_regress/t/t_dynarray_unpacked.v b/test_regress/t/t_dynarray_unpacked.v index b5fe7d411..e23e549dc 100644 --- a/test_regress/t/t_dynarray_unpacked.v +++ b/test_regress/t/t_dynarray_unpacked.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; byte dyn [][1:0]; diff --git a/test_regress/t/t_enum.v b/test_regress/t/t_enum.v index 1a4db38b8..747a4500a 100644 --- a/test_regress/t/t_enum.v +++ b/test_regress/t/t_enum.v @@ -11,7 +11,7 @@ typedef enum logic [4:0] BIT2 = 5'd2 } three_t; -module t (/*AUTOARG*/); +module t; localparam FIVE = 5; diff --git a/test_regress/t/t_enum_bad_cell.v b/test_regress/t/t_enum_bad_cell.v index acd66c8ce..d5470bf6a 100644 --- a/test_regress/t/t_enum_bad_cell.v +++ b/test_regress/t/t_enum_bad_cell.v @@ -4,11 +4,11 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; sub s1(); endmodule -module sub (/*AUTOARG*/); +module sub; enum {s0, s1} state; initial begin $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_enum_enumvalue_struct_bad.v b/test_regress/t/t_enum_enumvalue_struct_bad.v index 9b456763f..232f4fc32 100644 --- a/test_regress/t/t_enum_enumvalue_struct_bad.v +++ b/test_regress/t/t_enum_enumvalue_struct_bad.v @@ -24,7 +24,7 @@ package Pkg; endpackage -module t(/*AUTOARG*/); +module t; initial begin //if (sum !== `EXPECTED_SUM) $stop; diff --git a/test_regress/t/t_enum_overlap_bad.v b/test_regress/t/t_enum_overlap_bad.v index ed0e1f64e..69bb89af3 100644 --- a/test_regress/t/t_enum_overlap_bad.v +++ b/test_regress/t/t_enum_overlap_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2009 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; enum { e0, e1, diff --git a/test_regress/t/t_enum_public.v b/test_regress/t/t_enum_public.v index 3944190bd..cb3a1d24e 100644 --- a/test_regress/t/t_enum_public.v +++ b/test_regress/t/t_enum_public.v @@ -24,7 +24,7 @@ package pw; WIDE = 100'h123} ewide_t /*verilator public*/; endpackage -module t (/*AUTOARG*/); +module t; enum integer { EI_A, diff --git a/test_regress/t/t_enum_size.v b/test_regress/t/t_enum_size.v index e69abadba..6231c405e 100644 --- a/test_regress/t/t_enum_size.v +++ b/test_regress/t/t_enum_size.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // verilator lint_off WIDTH typedef enum logic[2:0] {P=0, W=1'b1, E, N, S} Dirs; diff --git a/test_regress/t/t_enum_type_nomethod_bad.v b/test_regress/t/t_enum_type_nomethod_bad.v index c4aceee41..03bfa8e46 100644 --- a/test_regress/t/t_enum_type_nomethod_bad.v +++ b/test_regress/t/t_enum_type_nomethod_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef enum [3:0] { E01 = 1 } my_t; diff --git a/test_regress/t/t_enum_value_assign.v b/test_regress/t/t_enum_value_assign.v index 953245910..ff936d35a 100644 --- a/test_regress/t/t_enum_value_assign.v +++ b/test_regress/t/t_enum_value_assign.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; localparam logic [9:0] V2 = (1 << 2); localparam logic [9:0] V1 = (1 << 1); diff --git a/test_regress/t/t_enum_x_bad.v b/test_regress/t/t_enum_x_bad.v index 9d021d08e..6e2d59774 100644 --- a/test_regress/t/t_enum_x_bad.v +++ b/test_regress/t/t_enum_x_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2009 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; enum bit [1:0] { BADX = 2'b1x } BAD1; diff --git a/test_regress/t/t_eq_wild.v b/test_regress/t/t_eq_wild.v index 7777eb6a3..891945d24 100644 --- a/test_regress/t/t_eq_wild.v +++ b/test_regress/t/t_eq_wild.v @@ -8,7 +8,7 @@ function bit get_1_or_0(bit get_1); return get_1 ? 1'b1 : 1'b0; endfunction -module t (/*AUTOARG*/); +module t; initial begin if (get_1_or_0(0) ==? get_1_or_0(1)) $stop; diff --git a/test_regress/t/t_event_method_bad.v b/test_regress/t/t_event_method_bad.v index 738932118..d3ae6b4d1 100644 --- a/test_regress/t/t_event_method_bad.v +++ b/test_regress/t/t_event_method_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; event e1; diff --git a/test_regress/t/t_exit.v b/test_regress/t/t_exit.v index 6dd666415..1533bb9b0 100644 --- a/test_regress/t/t_exit.v +++ b/test_regress/t/t_exit.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -program t(/*AUTOARG*/); +program t; initial begin $write("*-* All Finished *-*\n"); $exit; // Must be in program block diff --git a/test_regress/t/t_extend_class.v b/test_regress/t/t_extend_class.v index fc00e295b..dba989d06 100644 --- a/test_regress/t/t_extend_class.v +++ b/test_regress/t/t_extend_class.v @@ -43,7 +43,7 @@ inline void `systemc_class_name::my_inline_function() {} endclass -module t (/*AUTOARG*/); +module t; int i; diff --git a/test_regress/t/t_extract_static_const.v b/test_regress/t/t_extract_static_const.v index 2eb35d791..d04d2571f 100644 --- a/test_regress/t/t_extract_static_const.v +++ b/test_regress/t/t_extract_static_const.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Geza Lore. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; bit [255:0] C; initial C = {32'h1111_1111, diff --git a/test_regress/t/t_flag_build_dep_bin.v b/test_regress/t/t_flag_build_dep_bin.v index a56f76564..f6668377e 100644 --- a/test_regress/t/t_flag_build_dep_bin.v +++ b/test_regress/t/t_flag_build_dep_bin.v @@ -4,5 +4,5 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_flag_context_bad.v b/test_regress/t/t_flag_context_bad.v index 055678c3f..89bcf330b 100644 --- a/test_regress/t/t_flag_context_bad.v +++ b/test_regress/t/t_flag_context_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire [2:0] foo = 5'b11111; diff --git a/test_regress/t/t_flag_decoration.v b/test_regress/t/t_flag_decoration.v index d876c9327..260106e4d 100644 --- a/test_regress/t/t_flag_decoration.v +++ b/test_regress/t/t_flag_decoration.v @@ -4,5 +4,5 @@ // any use, without warranty, 2010 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_flag_deprecated_bad.v b/test_regress/t/t_flag_deprecated_bad.v index 582a47b4a..b102cb1b8 100644 --- a/test_regress/t/t_flag_deprecated_bad.v +++ b/test_regress/t/t_flag_deprecated_bad.v @@ -4,5 +4,5 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_flag_errorlimit_bad.v b/test_regress/t/t_flag_errorlimit_bad.v index 112d2a878..1b792181f 100644 --- a/test_regress/t/t_flag_errorlimit_bad.v +++ b/test_regress/t/t_flag_errorlimit_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; int u1; int u1; diff --git a/test_regress/t/t_flag_incdir.v b/test_regress/t/t_flag_incdir.v index 7fbf7d202..1d6b33184 100644 --- a/test_regress/t/t_flag_incdir.v +++ b/test_regress/t/t_flag_incdir.v @@ -10,5 +10,5 @@ `error "No GOT_DEF5" `endif -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_flag_j_hier.v b/test_regress/t/t_flag_j_hier.v index 885f06437..6e3f17aa6 100644 --- a/test_regress/t/t_flag_j_hier.v +++ b/test_regress/t/t_flag_j_hier.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic a; s u_s(.a(a)); endmodule diff --git a/test_regress/t/t_flag_language.v b/test_regress/t/t_flag_language.v index 4ec92c10e..23e4e35c2 100644 --- a/test_regress/t/t_flag_language.v +++ b/test_regress/t/t_flag_language.v @@ -4,7 +4,7 @@ // any use, without warranty, 2008 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // See also t_preproc_kwd.v diff --git a/test_regress/t/t_flag_lib.v b/test_regress/t/t_flag_lib.v index 690c0a3f3..bcc4c2bd0 100644 --- a/test_regress/t/t_flag_lib.v +++ b/test_regress/t/t_flag_lib.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; liblib_a a (); diff --git a/test_regress/t/t_flag_lib_dpi.v b/test_regress/t/t_flag_lib_dpi.v index 2b16948bc..0f77883a6 100644 --- a/test_regress/t/t_flag_lib_dpi.v +++ b/test_regress/t/t_flag_lib_dpi.v @@ -6,7 +6,7 @@ import "DPI-C" function void write_all_finished(); -module t (/*AUTOARG*/); +module t; initial begin write_all_finished; diff --git a/test_regress/t/t_flag_libinc.v b/test_regress/t/t_flag_libinc.v index 09a864841..ddb9d5576 100644 --- a/test_regress/t/t_flag_libinc.v +++ b/test_regress/t/t_flag_libinc.v @@ -4,24 +4,24 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module liblib_a (/*AUTOARG*/); +module liblib_a; liblib_b b (); endmodule -module liblib_b (/*AUTOARG*/); +module liblib_b; initial begin $write("*-* All Finished *-*\n"); $finish; end endmodule -module liblib_c (/*AUTOARG*/); +module liblib_c; // Unused initial $stop; liblib_d d (); endmodule -module liblib_d (/*AUTOARG*/); +module liblib_d; // Unused initial $stop; endmodule diff --git a/test_regress/t/t_flag_main.v b/test_regress/t/t_flag_main.v index cfbfe9164..9acb32a0a 100644 --- a/test_regress/t/t_flag_main.v +++ b/test_regress/t/t_flag_main.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by engr248. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin $write("[%0t] Hello\n", $time); // Check timestamp works $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_flag_no_unlimited_stack.v b/test_regress/t/t_flag_no_unlimited_stack.v index a56f76564..f6668377e 100644 --- a/test_regress/t/t_flag_no_unlimited_stack.v +++ b/test_regress/t/t_flag_no_unlimited_stack.v @@ -4,5 +4,5 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_flag_noop_bad.v b/test_regress/t/t_flag_noop_bad.v index 112d2a878..1b792181f 100644 --- a/test_regress/t/t_flag_noop_bad.v +++ b/test_regress/t/t_flag_noop_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; int u1; int u1; diff --git a/test_regress/t/t_flag_parameter_pkg.v b/test_regress/t/t_flag_parameter_pkg.v index a0187b7d6..5c16cf732 100644 --- a/test_regress/t/t_flag_parameter_pkg.v +++ b/test_regress/t/t_flag_parameter_pkg.v @@ -9,7 +9,7 @@ package pack_a; endpackage : pack_a //module t; -module t (/*AUTOARG*/); +module t; parameter PARAM_A = 0; diff --git a/test_regress/t/t_flag_quiet_stats.v b/test_regress/t/t_flag_quiet_stats.v index f4b6f7852..207a1d8d6 100644 --- a/test_regress/t/t_flag_quiet_stats.v +++ b/test_regress/t/t_flag_quiet_stats.v @@ -4,7 +4,7 @@ // any use, without warranty, 2008 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin $write("*-* All Finished *-*\n"); $finish; diff --git a/test_regress/t/t_flag_werror.v b/test_regress/t/t_flag_werror.v index 6ce736c79..fcf6dd9ac 100644 --- a/test_regress/t/t_flag_werror.v +++ b/test_regress/t/t_flag_werror.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // Width error below wire [3:0] foo = 6'h2e; diff --git a/test_regress/t/t_flag_wfatal.v b/test_regress/t/t_flag_wfatal.v index 6ce736c79..fcf6dd9ac 100644 --- a/test_regress/t/t_flag_wfatal.v +++ b/test_regress/t/t_flag_wfatal.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // Width error below wire [3:0] foo = 6'h2e; diff --git a/test_regress/t/t_flag_wpedantic_bad.v b/test_regress/t/t_flag_wpedantic_bad.v index 5a0f604bc..f0d3ac80a 100644 --- a/test_regress/t/t_flag_wpedantic_bad.v +++ b/test_regress/t/t_flag_wpedantic_bad.v @@ -4,6 +4,6 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg global; endmodule diff --git a/test_regress/t/t_for_assign.v b/test_regress/t/t_for_assign.v index 4db8e7e07..d2631f22a 100644 --- a/test_regress/t/t_for_assign.v +++ b/test_regress/t/t_for_assign.v @@ -7,7 +7,7 @@ `define stop $stop `define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; int a, b; int sum; diff --git a/test_regress/t/t_for_comma.v b/test_regress/t/t_for_comma.v index 81f8f2ddf..b9e35a744 100644 --- a/test_regress/t/t_for_comma.v +++ b/test_regress/t/t_for_comma.v @@ -13,7 +13,7 @@ a=0; b=0; c=0; \ end while(0); -module t (/*AUTOARG*/); +module t; int a, b, c; diff --git a/test_regress/t/t_for_disable_dot.v b/test_regress/t/t_for_disable_dot.v index 5e062b077..f42f72e6c 100644 --- a/test_regress/t/t_for_disable_dot.v +++ b/test_regress/t/t_for_disable_dot.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; int i; diff --git a/test_regress/t/t_force_bad_rw.v b/test_regress/t/t_force_bad_rw.v index b7323431f..ffc7cf31c 100644 --- a/test_regress/t/t_force_bad_rw.v +++ b/test_regress/t/t_force_bad_rw.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; int ass[int]; diff --git a/test_regress/t/t_foreach.v b/test_regress/t/t_foreach.v index 22035e4cd..f9a700064 100644 --- a/test_regress/t/t_foreach.v +++ b/test_regress/t/t_foreach.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; // verilator lint_off ASCRANGE // verilator lint_off WIDTH diff --git a/test_regress/t/t_foreach_bad.v b/test_regress/t/t_foreach_bad.v index ac2d7bd68..971bf6c94 100644 --- a/test_regress/t/t_foreach_bad.v +++ b/test_regress/t/t_foreach_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; integer a, b; diff --git a/test_regress/t/t_foreach_class.v b/test_regress/t/t_foreach_class.v index cc3b767f5..7485c8c0f 100644 --- a/test_regress/t/t_foreach_class.v +++ b/test_regress/t/t_foreach_class.v @@ -16,7 +16,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; int two[5:6]; diff --git a/test_regress/t/t_foreach_const.v b/test_regress/t/t_foreach_const.v index 9a10b7824..29cf8084b 100644 --- a/test_regress/t/t_foreach_const.v +++ b/test_regress/t/t_foreach_const.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; // verilator lint_off ASCRANGE // verilator lint_off WIDTH diff --git a/test_regress/t/t_foreach_nindex_bad.v b/test_regress/t/t_foreach_nindex_bad.v index d15e75e88..125b8ff26 100644 --- a/test_regress/t/t_foreach_nindex_bad.v +++ b/test_regress/t/t_foreach_nindex_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; int array[2][2]; diff --git a/test_regress/t/t_foreach_noivar.v b/test_regress/t/t_foreach_noivar.v index 7646328d6..93a804c49 100644 --- a/test_regress/t/t_foreach_noivar.v +++ b/test_regress/t/t_foreach_noivar.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; reg [63:0] sum; // Checked not in objects reg [2:1] [4:3] array [5:6] [7:8]; diff --git a/test_regress/t/t_foreach_type_bad.v b/test_regress/t/t_foreach_type_bad.v index fbcf3a425..7623abb19 100644 --- a/test_regress/t/t_foreach_type_bad.v +++ b/test_regress/t/t_foreach_type_bad.v @@ -7,7 +7,7 @@ class Cls; endclass -module t (/*AUTOARG*/); +module t; real r; diff --git a/test_regress/t/t_fork.v b/test_regress/t/t_fork.v index 33eb0b485..c7b74933f 100644 --- a/test_regress/t/t_fork.v +++ b/test_regress/t/t_fork.v @@ -4,7 +4,7 @@ // any use, without warranty, 2003 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin fork : fblk diff --git a/test_regress/t/t_fork_bbox.v b/test_regress/t/t_fork_bbox.v index 06f9ed036..4920cb397 100644 --- a/test_regress/t/t_fork_bbox.v +++ b/test_regress/t/t_fork_bbox.v @@ -4,7 +4,7 @@ // any use, without warranty, 2003 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin fork : fblk diff --git a/test_regress/t/t_fork_func2_bad.v b/test_regress/t/t_fork_func2_bad.v index c777a5c58..1b5e29d65 100644 --- a/test_regress/t/t_fork_func2_bad.v +++ b/test_regress/t/t_fork_func2_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; function int f; fork diff --git a/test_regress/t/t_fork_func_bad.v b/test_regress/t/t_fork_func_bad.v index c4a67a6f1..1ecede931 100644 --- a/test_regress/t/t_fork_func_bad.v +++ b/test_regress/t/t_fork_func_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; function int f; fork diff --git a/test_regress/t/t_fork_label.v b/test_regress/t/t_fork_label.v index a5d6112da..60552db4b 100644 --- a/test_regress/t/t_fork_label.v +++ b/test_regress/t/t_fork_label.v @@ -4,7 +4,7 @@ // any use, without warranty, 2003 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin // Label checks diff --git a/test_regress/t/t_fork_none_var.v b/test_regress/t/t_fork_none_var.v index 1dc892b53..5c9085492 100644 --- a/test_regress/t/t_fork_none_var.v +++ b/test_regress/t/t_fork_none_var.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; logic [3:0] m_mask; diff --git a/test_regress/t/t_fork_repeat.v b/test_regress/t/t_fork_repeat.v index 388584070..8eb5100d8 100644 --- a/test_regress/t/t_fork_repeat.v +++ b/test_regress/t/t_fork_repeat.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; bit clk; // Gen Clock diff --git a/test_regress/t/t_func_arg_complex.v b/test_regress/t/t_func_arg_complex.v index e20095fae..a6c365678 100644 --- a/test_regress/t/t_func_arg_complex.v +++ b/test_regress/t/t_func_arg_complex.v @@ -29,7 +29,7 @@ class Cls; endclass -module t(/*AUTOARG*/); +module t; function int mod_trigger(int data=mod_data()); return data; diff --git a/test_regress/t/t_func_call_order.v b/test_regress/t/t_func_call_order.v index 2c3e6b867..91866bb52 100644 --- a/test_regress/t/t_func_call_order.v +++ b/test_regress/t/t_func_call_order.v @@ -7,7 +7,7 @@ `define stop $stop `define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; int a; function int assign5; a = 5; diff --git a/test_regress/t/t_func_default_warn.v b/test_regress/t/t_func_default_warn.v index fcc89134c..a0c5ec436 100644 --- a/test_regress/t/t_func_default_warn.v +++ b/test_regress/t/t_func_default_warn.v @@ -14,7 +14,7 @@ function automatic logic foo return x; endfunction -module t (/*AUTOARG*/); +module t; logic foo_val; initial begin diff --git a/test_regress/t/t_func_defaults.v b/test_regress/t/t_func_defaults.v index 797e6c44d..907e50e92 100644 --- a/test_regress/t/t_func_defaults.v +++ b/test_regress/t/t_func_defaults.v @@ -30,7 +30,7 @@ function int mult2(int x = Foo::get_x()); return 2 * x; endfunction -module t (/*AUTOARG*/); +module t; logic [1:0] foo_val; initial begin diff --git a/test_regress/t/t_func_impure_bad.v b/test_regress/t/t_func_impure_bad.v index fdbffde8a..5081b635b 100644 --- a/test_regress/t/t_func_impure_bad.v +++ b/test_regress/t/t_func_impure_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; int sig; diff --git a/test_regress/t/t_func_inout_bit_sel.v b/test_regress/t/t_func_inout_bit_sel.v index aa1c32a87..926cf14dc 100644 --- a/test_regress/t/t_func_inout_bit_sel.v +++ b/test_regress/t/t_func_inout_bit_sel.v @@ -15,7 +15,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; int a; bit b; Cls cls; diff --git a/test_regress/t/t_func_many_return.v b/test_regress/t/t_func_many_return.v index c8142f24b..b4f1fe8a7 100644 --- a/test_regress/t/t_func_many_return.v +++ b/test_regress/t/t_func_many_return.v @@ -4,7 +4,7 @@ // any use, without warranty, 2013 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; function automatic string get_csr_name(input logic [11:0] csr_addr); // verilator no_inline_task diff --git a/test_regress/t/t_func_named.v b/test_regress/t/t_func_named.v index 065c10f31..4d57317f0 100644 --- a/test_regress/t/t_func_named.v +++ b/test_regress/t/t_func_named.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; function automatic int f( int j = 1, int s = 0 ); return (j<<16) | s; diff --git a/test_regress/t/t_func_no_lifetime_bad.v b/test_regress/t/t_func_no_lifetime_bad.v index 160d40c02..db183549e 100644 --- a/test_regress/t/t_func_no_lifetime_bad.v +++ b/test_regress/t/t_func_no_lifetime_bad.v @@ -21,7 +21,7 @@ task t_dunit_static_ok(input int in_ok = 1); $display("%d", ++cnt_ok); endtask -module t (/*AUTOARG*/); +module t; function int f_implicit_static(); int cnt = 0; diff --git a/test_regress/t/t_func_no_parentheses_bad.v b/test_regress/t/t_func_no_parentheses_bad.v index f8587c71c..0427f1d3d 100644 --- a/test_regress/t/t_func_no_parentheses_bad.v +++ b/test_regress/t/t_func_no_parentheses_bad.v @@ -9,7 +9,7 @@ function static int func(); return ++cnt; endfunction -module t (/*AUTOARG*/); +module t; int a; initial begin diff --git a/test_regress/t/t_func_real_abs.v b/test_regress/t/t_func_real_abs.v index 5f14de2f6..247477e97 100644 --- a/test_regress/t/t_func_real_abs.v +++ b/test_regress/t/t_func_real_abs.v @@ -6,7 +6,7 @@ //bug591 -module t (/*AUTOARG*/); +module t; function real ABS (real num); ABS = (num < 0) ? -num : num; diff --git a/test_regress/t/t_func_ref.v b/test_regress/t/t_func_ref.v index 1559a5d82..3627e76e7 100644 --- a/test_regress/t/t_func_ref.v +++ b/test_regress/t/t_func_ref.v @@ -20,7 +20,7 @@ function int get_val_set_5(ref int x); return y; endfunction -module t (/*AUTOARG*/); +module t; int b; int arr[1]; MyInt mi; diff --git a/test_regress/t/t_func_ref_arg.v b/test_regress/t/t_func_ref_arg.v index 13f819c62..d2c371762 100644 --- a/test_regress/t/t_func_ref_arg.v +++ b/test_regress/t/t_func_ref_arg.v @@ -28,7 +28,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; int a, b; int arr[1]; Cls cls; diff --git a/test_regress/t/t_func_ref_bad.v b/test_regress/t/t_func_ref_bad.v index 22154bb05..50099dd67 100644 --- a/test_regress/t/t_func_ref_bad.v +++ b/test_regress/t/t_func_ref_bad.v @@ -10,7 +10,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; logic [10:0] a; logic b; Cls cls; diff --git a/test_regress/t/t_func_return_bad.v b/test_regress/t/t_func_return_bad.v index bbdcf6ffd..0a3ac1f0c 100644 --- a/test_regress/t/t_func_return_bad.v +++ b/test_regress/t/t_func_return_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2011 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; task t1; return 1; // Shouldn't return value diff --git a/test_regress/t/t_func_task_bad.v b/test_regress/t/t_func_task_bad.v index 2f4887820..dcf2f685d 100644 --- a/test_regress/t/t_func_task_bad.v +++ b/test_regress/t/t_func_task_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2011 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin if (task_as_func(1'b0)) $stop; diff --git a/test_regress/t/t_func_tie_bad.v b/test_regress/t/t_func_tie_bad.v index b31288598..d15bc31e1 100644 --- a/test_regress/t/t_func_tie_bad.v +++ b/test_regress/t/t_func_tie_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2011 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin // verilator lint_off IGNOREDRETURN diff --git a/test_regress/t/t_func_uninit.v b/test_regress/t/t_func_uninit.v index c9eb85468..8e1653fdb 100644 --- a/test_regress/t/t_func_uninit.v +++ b/test_regress/t/t_func_uninit.v @@ -17,7 +17,7 @@ function automatic integer what_bit; end endfunction -module t(/*AUTOARG*/); +module t; parameter ZERO = zeroed(); diff --git a/test_regress/t/t_gate_unsup.v b/test_regress/t/t_gate_unsup.v index d12c44405..ed1e43175 100644 --- a/test_regress/t/t_gate_unsup.v +++ b/test_regress/t/t_gate_unsup.v @@ -4,7 +4,7 @@ // any use, without warranty, 2004 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire d, en, nc, pc; diff --git a/test_regress/t/t_gen_defparam_bad.v b/test_regress/t/t_gen_defparam_bad.v index ec0e08d44..ba1edba9c 100644 --- a/test_regress/t/t_gen_defparam_bad.v +++ b/test_regress/t/t_gen_defparam_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; defparam id_13.id_14 = -id_13, id_15 = id_14; diff --git a/test_regress/t/t_gen_defparam_nfound_bad.v b/test_regress/t/t_gen_defparam_nfound_bad.v index 85c1017c6..0ad34d49b 100644 --- a/test_regress/t/t_gen_defparam_nfound_bad.v +++ b/test_regress/t/t_gen_defparam_nfound_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; a a (); defparam z.W = 3; // Bad endmodule diff --git a/test_regress/t/t_gen_for_overlap.v b/test_regress/t/t_gen_for_overlap.v index 1a0bdcc8a..7c72bd1ca 100644 --- a/test_regress/t/t_gen_for_overlap.v +++ b/test_regress/t/t_gen_for_overlap.v @@ -33,7 +33,7 @@ module t (/*AUTOARG*/ end endmodule -module sub1 (/*AUTOARG*/); +module sub1; parameter [31:0] IN = 99; parameter FLAVOR = 1; `ifdef TEST_VERBOSE @@ -41,7 +41,7 @@ module sub1 (/*AUTOARG*/); `endif endmodule -module sub2 (/*AUTOARG*/); +module sub2; parameter [31:0] IN = 99; parameter FLAVOR = 2; `ifdef TEST_VERBOSE diff --git a/test_regress/t/t_gen_mislevel.v b/test_regress/t/t_gen_mislevel.v index 9e16e9096..671f2b00f 100644 --- a/test_regress/t/t_gen_mislevel.v +++ b/test_regress/t/t_gen_mislevel.v @@ -33,7 +33,7 @@ module a; endgenerate endmodule -module t (/*AUTOARG*/); +module t; a a1 (); diff --git a/test_regress/t/t_gen_missing_bad2.v b/test_regress/t/t_gen_missing_bad2.v index d8714fb72..6f8b9a350 100644 --- a/test_regress/t/t_gen_missing_bad2.v +++ b/test_regress/t/t_gen_missing_bad2.v @@ -4,7 +4,7 @@ // any use, without warranty, 2012 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; if ($test$plusargs("BAD-non-constant")) begin initial $stop; end diff --git a/test_regress/t/t_gen_nonconst_bad.v b/test_regress/t/t_gen_nonconst_bad.v index fc2aff4cf..c4edbc3e4 100644 --- a/test_regress/t/t_gen_nonconst_bad.v +++ b/test_regress/t/t_gen_nonconst_bad.v @@ -4,6 +4,6 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; nfound nfound(); endmodule diff --git a/test_regress/t/t_genfor_hier.v b/test_regress/t/t_genfor_hier.v index 87292a4fa..4832aaef1 100644 --- a/test_regress/t/t_genfor_hier.v +++ b/test_regress/t/t_genfor_hier.v @@ -9,7 +9,7 @@ module m1(); logic v1; endmodule -module t (/*AUTOARG*/); +module t; for (genvar the_genvar = 0; the_genvar < 4; the_genvar++) begin : m1_b m1 m1_inst(); end diff --git a/test_regress/t/t_genfor_init_o0.v b/test_regress/t/t_genfor_init_o0.v index ec334dc9a..93318168b 100644 --- a/test_regress/t/t_genfor_init_o0.v +++ b/test_regress/t/t_genfor_init_o0.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; genvar i; for (i = 0; i < 0; i = i + 1) begin end endmodule diff --git a/test_regress/t/t_implements.v b/test_regress/t/t_implements.v index caad29c82..f4f07c56d 100644 --- a/test_regress/t/t_implements.v +++ b/test_regress/t/t_implements.v @@ -45,7 +45,7 @@ class Cls extends Base; endfunction endclass -module t(/*AUTOARG*/); +module t; Cls c; Iext1 i1; diff --git a/test_regress/t/t_implements_collision.v b/test_regress/t/t_implements_collision.v index d0032ade0..b8929a2ce 100644 --- a/test_regress/t/t_implements_collision.v +++ b/test_regress/t/t_implements_collision.v @@ -22,7 +22,7 @@ class Cls implements IclsBoth; endfunction endclass -module t(/*AUTOARG*/); +module t; Cls c; diff --git a/test_regress/t/t_implements_collision_bad.v b/test_regress/t/t_implements_collision_bad.v index 9767d8677..c45f9967c 100644 --- a/test_regress/t/t_implements_collision_bad.v +++ b/test_regress/t/t_implements_collision_bad.v @@ -37,6 +37,6 @@ interface class Ic3 extends Ic1, Ic2; endclass -module t (/*AUTOARG*/); +module t; Cls c; endmodule diff --git a/test_regress/t/t_implements_contents_bad.v b/test_regress/t/t_implements_contents_bad.v index 4106c7ed4..3931423e8 100644 --- a/test_regress/t/t_implements_contents_bad.v +++ b/test_regress/t/t_implements_contents_bad.v @@ -10,5 +10,5 @@ interface class Icls; endtask endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_implements_missing_bad.v b/test_regress/t/t_implements_missing_bad.v index f84eb6ae3..b15e4ba9f 100644 --- a/test_regress/t/t_implements_missing_bad.v +++ b/test_regress/t/t_implements_missing_bad.v @@ -16,6 +16,6 @@ class Cls implements Icls1; // Bad missing icf2 endclass -module t (/*AUTOARG*/); +module t; Cls c; endmodule diff --git a/test_regress/t/t_implements_nested.v b/test_regress/t/t_implements_nested.v index 87fc8d603..b02b2684f 100644 --- a/test_regress/t/t_implements_nested.v +++ b/test_regress/t/t_implements_nested.v @@ -11,6 +11,6 @@ class Cls; endclass endclass -module t (/*AUTOARG*/); +module t; Cls c; endmodule diff --git a/test_regress/t/t_implements_nested_bad.v b/test_regress/t/t_implements_nested_bad.v index be483fb27..b2ee8ef0f 100644 --- a/test_regress/t/t_implements_nested_bad.v +++ b/test_regress/t/t_implements_nested_bad.v @@ -11,6 +11,6 @@ class Cls; endclass endclass -module t (/*AUTOARG*/); +module t; Cls c; endmodule diff --git a/test_regress/t/t_implements_new_bad.v b/test_regress/t/t_implements_new_bad.v index 950039100..00c1a22a6 100644 --- a/test_regress/t/t_implements_new_bad.v +++ b/test_regress/t/t_implements_new_bad.v @@ -7,7 +7,7 @@ interface class Icls; endclass -module t (/*AUTOARG*/); +module t; Icls c; initial begin c = new; // Bad diff --git a/test_regress/t/t_implements_noinherit_bad.v b/test_regress/t/t_implements_noinherit_bad.v index 8726e86fc..2ab770043 100644 --- a/test_regress/t/t_implements_noinherit_bad.v +++ b/test_regress/t/t_implements_noinherit_bad.v @@ -15,6 +15,6 @@ class Cls implements Icls; endfunction endclass -module t (/*AUTOARG*/); +module t; Cls c; endmodule diff --git a/test_regress/t/t_implements_noninterface_bad.v b/test_regress/t/t_implements_noninterface_bad.v index 51c036928..72a37e765 100644 --- a/test_regress/t/t_implements_noninterface_bad.v +++ b/test_regress/t/t_implements_noninterface_bad.v @@ -16,6 +16,6 @@ endclass class ClsBad2 extends Icls; endclass -module t (/*AUTOARG*/); +module t; ClsBad2 c; endmodule diff --git a/test_regress/t/t_implements_notfound_bad.v b/test_regress/t/t_implements_notfound_bad.v index 66a3bef0f..605a8db5d 100644 --- a/test_regress/t/t_implements_notfound_bad.v +++ b/test_regress/t/t_implements_notfound_bad.v @@ -7,6 +7,6 @@ class ClsI implements Inotfound; endclass -module t (/*AUTOARG*/); +module t; ClsI ci; endmodule diff --git a/test_regress/t/t_implements_typed.v b/test_regress/t/t_implements_typed.v index 128e3c7cd..ce733d0fc 100644 --- a/test_regress/t/t_implements_typed.v +++ b/test_regress/t/t_implements_typed.v @@ -26,7 +26,7 @@ endclass // endfunction // endclass -module t(/*AUTOARG*/); +module t; IclsImp i1; diff --git a/test_regress/t/t_initarray_nonarray.v b/test_regress/t/t_initarray_nonarray.v index 16cb697da..71da30cfc 100644 --- a/test_regress/t/t_initarray_nonarray.v +++ b/test_regress/t/t_initarray_nonarray.v @@ -13,7 +13,7 @@ typedef logic [7:0] mask_t [7:0]; parameter mask_t IMP_MASK = '{8'hE1, 8'h03, 8'h07, 8'h3F, 8'h33, 8'hC3, 8'hC3, 8'h37}; -module t (/*AUTOARG*/); +module t; mask_t a; //logic [7:0] a[7:0]; diff --git a/test_regress/t/t_inside_assoc_unsup.v b/test_regress/t/t_inside_assoc_unsup.v index c5b261233..2b85a11f5 100644 --- a/test_regress/t/t_inside_assoc_unsup.v +++ b/test_regress/t/t_inside_assoc_unsup.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; int assoc[int]; bit m; diff --git a/test_regress/t/t_inside_extend.v b/test_regress/t/t_inside_extend.v index e388cdb58..df754b3fc 100644 --- a/test_regress/t/t_inside_extend.v +++ b/test_regress/t/t_inside_extend.v @@ -9,7 +9,7 @@ class Cls; my_enum sp = V0; endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c = new; int i = 0; diff --git a/test_regress/t/t_inside_queue_elem.v b/test_regress/t/t_inside_queue_elem.v index 2854757bd..782514ee1 100644 --- a/test_regress/t/t_inside_queue_elem.v +++ b/test_regress/t/t_inside_queue_elem.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin int q[$] = {1, 2}; diff --git a/test_regress/t/t_inst_2star_bad.v b/test_regress/t/t_inst_2star_bad.v index 74e527c9d..ccf3e4990 100644 --- a/test_regress/t/t_inst_2star_bad.v +++ b/test_regress/t/t_inst_2star_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire foo; wire bar; diff --git a/test_regress/t/t_inst_array_bad.v b/test_regress/t/t_inst_array_bad.v index 669d2e92d..f156c68bf 100644 --- a/test_regress/t/t_inst_array_bad.v +++ b/test_regress/t/t_inst_array_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire [7:0] bitout; reg [7:0] allbits; diff --git a/test_regress/t/t_inst_misarray2_bad.v b/test_regress/t/t_inst_misarray2_bad.v index dc55dcad4..863762523 100644 --- a/test_regress/t/t_inst_misarray2_bad.v +++ b/test_regress/t/t_inst_misarray2_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire signed [16:0] fft_oQ [6:0]; round round( .i_data(fft_oQ[6:0]) diff --git a/test_regress/t/t_inst_missing.v b/test_regress/t/t_inst_missing.v index 081be8f5d..fcd25cd16 100644 --- a/test_regress/t/t_inst_missing.v +++ b/test_regress/t/t_inst_missing.v @@ -4,7 +4,7 @@ // any use, without warranty, 2012 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire ok = 1'b0; // verilator lint_off UNDRIVEN wire nc; diff --git a/test_regress/t/t_inst_missing_bad.v b/test_regress/t/t_inst_missing_bad.v index 2d0c703fe..91408c57f 100644 --- a/test_regress/t/t_inst_missing_bad.v +++ b/test_regress/t/t_inst_missing_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2012 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire ok = 1'b0; // verilator lint_off UNDRIVEN wire nc; diff --git a/test_regress/t/t_inst_param_comma_bad.v b/test_regress/t/t_inst_param_comma_bad.v index 1ef73846d..08bb665b0 100644 --- a/test_regress/t/t_inst_param_comma_bad.v +++ b/test_regress/t/t_inst_param_comma_bad.v @@ -23,7 +23,7 @@ module N #( assign o = i; endmodule -module t (/*AUTOARG*/); +module t; wire i1, o1, i2, o2, i3, o3, i4, o4, i5, o5, i6, o6; diff --git a/test_regress/t/t_inst_paren_bad.out b/test_regress/t/t_inst_paren_bad.out index f50638471..fe6d0d327 100644 --- a/test_regress/t/t_inst_paren_bad.out +++ b/test_regress/t/t_inst_paren_bad.out @@ -6,7 +6,7 @@ 7 | module sub; | ^~~ : ... Top module 't' - 10 | module t( ); + 10 | module t; | ^ %Error: t/t_inst_paren_bad.v:11:4: Can't find typedef/interface: 'sub' 11 | sub sub_inst; diff --git a/test_regress/t/t_inst_paren_bad.v b/test_regress/t/t_inst_paren_bad.v index c7f6c7775..86e5b6181 100644 --- a/test_regress/t/t_inst_paren_bad.v +++ b/test_regress/t/t_inst_paren_bad.v @@ -7,6 +7,6 @@ module sub; endmodule -module t(/*AUTOARG*/); +module t; sub sub_inst; // No () endmodule diff --git a/test_regress/t/t_inst_public.v b/test_regress/t/t_inst_public.v index 4b30fab8f..7dec1c060 100644 --- a/test_regress/t/t_inst_public.v +++ b/test_regress/t/t_inst_public.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; Pub pub(); diff --git a/test_regress/t/t_inst_recurse2_bad.out b/test_regress/t/t_inst_recurse2_bad.out index 1bbb101cb..96cdcd9a5 100644 --- a/test_regress/t/t_inst_recurse2_bad.out +++ b/test_regress/t/t_inst_recurse2_bad.out @@ -1,6 +1,6 @@ %Error-UNSUPPORTED: t/t_inst_recurse2_bad.v:13:8: Unsupported: Identically recursive module (module instantiates itself, without changing parameters): 'looped' : ... note: In instance 't.looped.looped.looped' - 13 | module looped ( ); + 13 | module looped; | ^~~~~~ ... For error description see https://verilator.org/warn/UNSUPPORTED?v=latest %Error: Exiting due to diff --git a/test_regress/t/t_inst_recurse2_bad.v b/test_regress/t/t_inst_recurse2_bad.v index 08713ef5d..abf4dbf8f 100644 --- a/test_regress/t/t_inst_recurse2_bad.v +++ b/test_regress/t/t_inst_recurse2_bad.v @@ -4,12 +4,12 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; looped looped (); endmodule -module looped (/*AUTOARG*/); +module looped; looped looped (); endmodule diff --git a/test_regress/t/t_inst_recurse_bad.out b/test_regress/t/t_inst_recurse_bad.out index 43e9442f1..e3d83f493 100644 --- a/test_regress/t/t_inst_recurse_bad.out +++ b/test_regress/t/t_inst_recurse_bad.out @@ -1,6 +1,6 @@ %Error-UNSUPPORTED: t/t_inst_recurse_bad.v:13:8: Unsupported: Recursive multiple modules (module instantiates something leading back to itself): 'looped' : ... note: self-recursion (module instantiating itself directly) is supported. - 13 | module looped ( ); + 13 | module looped; | ^~~~~~ ... For error description see https://verilator.org/warn/UNSUPPORTED?v=latest %Error: Exiting due to diff --git a/test_regress/t/t_inst_recurse_bad.v b/test_regress/t/t_inst_recurse_bad.v index b525e8902..400bb1be9 100644 --- a/test_regress/t/t_inst_recurse_bad.v +++ b/test_regress/t/t_inst_recurse_bad.v @@ -4,16 +4,16 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; looped looped (); endmodule -module looped (/*AUTOARG*/); +module looped; looped2 looped2 (); endmodule -module looped2 (/*AUTOARG*/); +module looped2; looped looped (); endmodule diff --git a/test_regress/t/t_interconnect.v b/test_regress/t/t_interconnect.v index 56560484a..0196adab1 100644 --- a/test_regress/t/t_interconnect.v +++ b/test_regress/t/t_interconnect.v @@ -7,7 +7,7 @@ // Note: Other simulator's support for interconnect seems rare, the below might // not be correct code. -module t(/*AUTOARG*/); +module t; interconnect a; interconnect b; diff --git a/test_regress/t/t_interconnect_bad.v b/test_regress/t/t_interconnect_bad.v index 92fb8f940..c709239e7 100644 --- a/test_regress/t/t_interconnect_bad.v +++ b/test_regress/t/t_interconnect_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; interconnect a; diff --git a/test_regress/t/t_interface_array_bad.v b/test_regress/t/t_interface_array_bad.v index b37c0b4d3..adac88196 100644 --- a/test_regress/t/t_interface_array_bad.v +++ b/test_regress/t/t_interface_array_bad.v @@ -12,7 +12,7 @@ function integer the_other_func (input integer val); return val; endfunction -module t (/*AUTOARG*/); +module t; localparam N = 4; diff --git a/test_regress/t/t_interface_array_modport.v b/test_regress/t/t_interface_array_modport.v index 5ed00a76f..c3317b5e3 100644 --- a/test_regress/t/t_interface_array_modport.v +++ b/test_regress/t/t_interface_array_modport.v @@ -17,7 +17,7 @@ module foo_mod ); endmodule -module t (/*AUTOARG*/); +module t; localparam N = 4; diff --git a/test_regress/t/t_interface_asvar_bad.v b/test_regress/t/t_interface_asvar_bad.v index 3238103d4..d0dea01a0 100644 --- a/test_regress/t/t_interface_asvar_bad.v +++ b/test_regress/t/t_interface_asvar_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; counter_if iface(); diff --git a/test_regress/t/t_interface_mismodport_bad.v b/test_regress/t/t_interface_mismodport_bad.v index 0b45e53d8..f0b6994bd 100644 --- a/test_regress/t/t_interface_mismodport_bad.v +++ b/test_regress/t/t_interface_mismodport_bad.v @@ -10,7 +10,7 @@ interface ifc; modport out_modport (output ok); endinterface -module t (/*AUTOARG*/); +module t; integer cyc=1; diff --git a/test_regress/t/t_interface_missing_bad.v b/test_regress/t/t_interface_missing_bad.v index eb03718e2..062d6f459 100644 --- a/test_regress/t/t_interface_missing_bad.v +++ b/test_regress/t/t_interface_missing_bad.v @@ -15,7 +15,7 @@ module foo_mod ); endmodule -module t (/*AUTOARG*/); +module t; foo_intf the_foo (); diff --git a/test_regress/t/t_interface_modport_bad.v b/test_regress/t/t_interface_modport_bad.v index 8d9efffc9..3f9c52fcb 100644 --- a/test_regress/t/t_interface_modport_bad.v +++ b/test_regress/t/t_interface_modport_bad.v @@ -9,7 +9,7 @@ interface ifc; modport out_modport (output ok); endinterface -module t (/*AUTOARG*/); +module t; ifc itop(); diff --git a/test_regress/t/t_interface_parent_scope_bad.v b/test_regress/t/t_interface_parent_scope_bad.v index 029f7e6cd..05c999eb9 100644 --- a/test_regress/t/t_interface_parent_scope_bad.v +++ b/test_regress/t/t_interface_parent_scope_bad.v @@ -17,7 +17,7 @@ module Baz(); Bar bar(); endmodule -module t (/*AUTOARG*/); +module t; Baz baz(); diff --git a/test_regress/t/t_interface_size_bad.v b/test_regress/t/t_interface_size_bad.v index bdccf5c84..e7ea7b153 100644 --- a/test_regress/t/t_interface_size_bad.v +++ b/test_regress/t/t_interface_size_bad.v @@ -8,7 +8,7 @@ interface foo_intf; logic a; endinterface -module t (/*AUTOARG*/); +module t; localparam N = 4; foo_intf foo4 [N-1:0] (); foo_intf foo6 [5:0] (); diff --git a/test_regress/t/t_interface_typo_bad.v b/test_regress/t/t_interface_typo_bad.v index 542715b91..73c08f3fc 100644 --- a/test_regress/t/t_interface_typo_bad.v +++ b/test_regress/t/t_interface_typo_bad.v @@ -16,7 +16,7 @@ module submod endmodule -module t (/*AUTOARG*/); +module t; // Intentional typo, compiler should point this out, or that fo_intf does // not match foo_intf on the submod port map fo_intf the_foo(); diff --git a/test_regress/t/t_interface_virtual.v b/test_regress/t/t_interface_virtual.v index abb9e7d51..7a034b7ab 100644 --- a/test_regress/t/t_interface_virtual.v +++ b/test_regress/t/t_interface_virtual.v @@ -23,7 +23,7 @@ class Clsgen#(type T = logic); T x[0:3]; endclass -module t (/*AUTOARG*/); +module t; PBus ia(), ib(); virtual PBus va, vb; diff --git a/test_regress/t/t_interface_virtual_bad.v b/test_regress/t/t_interface_virtual_bad.v index 55c99e285..ebd0449d9 100644 --- a/test_regress/t/t_interface_virtual_bad.v +++ b/test_regress/t/t_interface_virtual_bad.v @@ -17,7 +17,7 @@ endinterface typedef virtual PBus vpbus_t; -module t (/*AUTOARG*/); +module t; PBus p8(); QBus q8(); diff --git a/test_regress/t/t_interface_virtual_missing_bad.v b/test_regress/t/t_interface_virtual_missing_bad.v index 321539f28..9fee9bcb2 100644 --- a/test_regress/t/t_interface_virtual_missing_bad.v +++ b/test_regress/t/t_interface_virtual_missing_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; virtual foo vif; diff --git a/test_regress/t/t_interface_virtual_unused.v b/test_regress/t/t_interface_virtual_unused.v index df22a29fd..225514872 100644 --- a/test_regress/t/t_interface_virtual_unused.v +++ b/test_regress/t/t_interface_virtual_unused.v @@ -9,7 +9,7 @@ interface QBus(); endinterface -module t (/*AUTOARG*/); +module t; virtual QBus q8; diff --git a/test_regress/t/t_interface_virtual_unused2.v b/test_regress/t/t_interface_virtual_unused2.v index 81502e650..5a0a08099 100644 --- a/test_regress/t/t_interface_virtual_unused2.v +++ b/test_regress/t/t_interface_virtual_unused2.v @@ -16,7 +16,7 @@ class cls; endfunction endclass -module t (/*AUTOARG*/); +module t; cls bar; diff --git a/test_regress/t/t_interface_wrong_bad.v b/test_regress/t/t_interface_wrong_bad.v index 374844072..63ed412a4 100644 --- a/test_regress/t/t_interface_wrong_bad.v +++ b/test_regress/t/t_interface_wrong_bad.v @@ -19,7 +19,7 @@ module foo_mod (foo_intf foo_port); // end endmodule -module t (/*AUTOARG*/); +module t; foo_intf foo (); bar_intf bar (); diff --git a/test_regress/t/t_let.v b/test_regress/t/t_let.v index 3eb6a403c..9406912ba 100644 --- a/test_regress/t/t_let.v +++ b/test_regress/t/t_let.v @@ -9,7 +9,7 @@ package Pkg; let PP(a) = 30 + a; endpackage -module t(/*AUTOARG*/); +module t; let A = 10; let B() = 20; diff --git a/test_regress/t/t_let_arg_bad.v b/test_regress/t/t_let_arg_bad.v index 6b8781e5d..5a21b803a 100644 --- a/test_regress/t/t_let_arg_bad.v +++ b/test_regress/t/t_let_arg_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; let NO_ARG = 10; let ONE_ARG(a) = 10; diff --git a/test_regress/t/t_let_recurse_bad.v b/test_regress/t/t_let_recurse_bad.v index a362df127..d1bd712e6 100644 --- a/test_regress/t/t_let_recurse_bad.v +++ b/test_regress/t/t_let_recurse_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; let RECURSE(a) = (a == 1) ? 1 : RECURSE(a - 1); // BAD no recursion per IEEE 1800-2023 11.12 diff --git a/test_regress/t/t_let_unsup.v b/test_regress/t/t_let_unsup.v index 2a5859cdc..c4e1f0d27 100644 --- a/test_regress/t/t_let_unsup.v +++ b/test_regress/t/t_let_unsup.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; let F(untyped a) = 30 + a; let G(int a) = 30 + a; diff --git a/test_regress/t/t_lint_block_redecl_bad.v b/test_regress/t/t_lint_block_redecl_bad.v index fac1d041e..11e5df1f6 100644 --- a/test_regress/t/t_lint_block_redecl_bad.v +++ b/test_regress/t/t_lint_block_redecl_bad.v @@ -6,7 +6,7 @@ //bug485, but see t_gen_forif.v for an OK example. -module t (/*AUTOARG*/); +module t; always_comb begin integer i; diff --git a/test_regress/t/t_lint_cmpconst_bad.v b/test_regress/t/t_lint_cmpconst_bad.v index 07b736171..6ee64837f 100644 --- a/test_regress/t/t_lint_cmpconst_bad.v +++ b/test_regress/t/t_lint_cmpconst_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; bit [2:0] uns; diff --git a/test_regress/t/t_lint_genunnamed_bad.v b/test_regress/t/t_lint_genunnamed_bad.v index 44c701abb..ad7d7da85 100644 --- a/test_regress/t/t_lint_genunnamed_bad.v +++ b/test_regress/t/t_lint_genunnamed_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; parameter P = 1; diff --git a/test_regress/t/t_lint_misindent_bad.v b/test_regress/t/t_lint_misindent_bad.v index c97160497..7cc2752f8 100644 --- a/test_regress/t/t_lint_misindent_bad.v +++ b/test_regress/t/t_lint_misindent_bad.v @@ -8,7 +8,7 @@ // verilator lint_off UNUSEDLOOP -module t (/*AUTOARG*/); +module t; initial begin if (0) diff --git a/test_regress/t/t_lint_sideeffect_bad.v b/test_regress/t/t_lint_sideeffect_bad.v index d153b846e..8864653a2 100644 --- a/test_regress/t/t_lint_sideeffect_bad.v +++ b/test_regress/t/t_lint_sideeffect_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic [63:0] array = 64'hfeedf00d12345678; diff --git a/test_regress/t/t_lint_stmtdly_bad.v b/test_regress/t/t_lint_stmtdly_bad.v index f32ff0dda..47ecd9c71 100644 --- a/test_regress/t/t_lint_stmtdly_bad.v +++ b/test_regress/t/t_lint_stmtdly_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2012 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t ( /*AUTOARG*/); +module t; initial begin #100 $finish; //<--- Warning diff --git a/test_regress/t/t_lint_unsigned_bad.v b/test_regress/t/t_lint_unsigned_bad.v index d81366e43..8b7cb0c48 100644 --- a/test_regress/t/t_lint_unsigned_bad.v +++ b/test_regress/t/t_lint_unsigned_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; bit [2:0] uns; diff --git a/test_regress/t/t_lint_unused_bad.v b/test_regress/t/t_lint_unused_bad.v index abcd94e51..47a8d7804 100644 --- a/test_regress/t/t_lint_unused_bad.v +++ b/test_regress/t/t_lint_unused_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2010 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; sub sub (); diff --git a/test_regress/t/t_lint_unused_iface_bad.v b/test_regress/t/t_lint_unused_iface_bad.v index 7a46a8cc2..5331ab7e6 100644 --- a/test_regress/t/t_lint_unused_iface_bad.v +++ b/test_regress/t/t_lint_unused_iface_bad.v @@ -18,7 +18,7 @@ module sub endmodule -module t (/*AUTOARG*/); +module t; dummy_if dummy (); diff --git a/test_regress/t/t_lint_vcmarker_bad.v b/test_regress/t/t_lint_vcmarker_bad.v index 83a318ad2..be2bf8ecf 100644 --- a/test_regress/t/t_lint_vcmarker_bad.v +++ b/test_regress/t/t_lint_vcmarker_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; <<<<<<< HEAD // Intentional test: This conflict marker should be here initial $display("Hello"); diff --git a/test_regress/t/t_lint_width_cast.v b/test_regress/t/t_lint_width_cast.v index 80413b2a2..d05151cda 100644 --- a/test_regress/t/t_lint_width_cast.v +++ b/test_regress/t/t_lint_width_cast.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; wire [5:0] b1 = 6'b101101; wire [5:0] b2 = 6'b011110; diff --git a/test_regress/t/t_mailbox.v b/test_regress/t/t_mailbox.v index e4402f606..0921acb5b 100644 --- a/test_regress/t/t_mailbox.v +++ b/test_regress/t/t_mailbox.v @@ -21,7 +21,7 @@ `endif // verilator lint_off DECLFILENAME -module t(/*AUTOARG*/); +module t; `MAILBOX_T #(int) m; int msg; int out; diff --git a/test_regress/t/t_mailbox_bad.v b/test_regress/t/t_mailbox_bad.v index a8bcb84fc..0f32e04d6 100644 --- a/test_regress/t/t_mailbox_bad.v +++ b/test_regress/t/t_mailbox_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; mailbox #(int) m; initial begin diff --git a/test_regress/t/t_mailbox_notiming.v b/test_regress/t/t_mailbox_notiming.v index a4a2cc749..f081d12d5 100644 --- a/test_regress/t/t_mailbox_notiming.v +++ b/test_regress/t/t_mailbox_notiming.v @@ -21,7 +21,7 @@ `endif // verilator lint_off DECLFILENAME -module t(/*AUTOARG*/); +module t; `MAILBOX_T #(int) m; initial begin diff --git a/test_regress/t/t_mailbox_unbounded.v b/test_regress/t/t_mailbox_unbounded.v index 94c9d03cc..4168321ae 100644 --- a/test_regress/t/t_mailbox_unbounded.v +++ b/test_regress/t/t_mailbox_unbounded.v @@ -5,7 +5,7 @@ // SPDX-License-Identifier: CC0-1.0 // verilator lint_off DECLFILENAME -module t(/*AUTOARG*/); +module t; mailbox #(int) m; int msg = 0; int out = 0; diff --git a/test_regress/t/t_math_countbits_bad.v b/test_regress/t/t_math_countbits_bad.v index 95cc4a443..0cf10d11b 100644 --- a/test_regress/t/t_math_countbits_bad.v +++ b/test_regress/t/t_math_countbits_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 Yossi Nivin. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; integer count; assign count = $countbits(32'h123456, '0, '1, 'x, 'z); diff --git a/test_regress/t/t_math_divw.v b/test_regress/t/t_math_divw.v index 7d2f852fa..e96b50467 100644 --- a/test_regress/t/t_math_divw.v +++ b/test_regress/t/t_math_divw.v @@ -4,7 +4,7 @@ // any use, without warranty, 2004 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // verilator lint_off WIDTH diff --git a/test_regress/t/t_math_eq_bad.v b/test_regress/t/t_math_eq_bad.v index a54b3acae..941519a74 100644 --- a/test_regress/t/t_math_eq_bad.v +++ b/test_regress/t/t_math_eq_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic [31:0] a; diff --git a/test_regress/t/t_math_pow3.v b/test_regress/t/t_math_pow3.v index d06344289..aeaba1b0d 100644 --- a/test_regress/t/t_math_pow3.v +++ b/test_regress/t/t_math_pow3.v @@ -6,7 +6,7 @@ `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); fail=1; end while(0) -module t (/*AUTOARG*/); +module t; bit fail; diff --git a/test_regress/t/t_math_repl_bad.v b/test_regress/t/t_math_repl_bad.v index 788c7239c..bb83d9ad5 100644 --- a/test_regress/t/t_math_repl_bad.v +++ b/test_regress/t/t_math_repl_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic [31:0] o; diff --git a/test_regress/t/t_math_shift_extend.v b/test_regress/t/t_math_shift_extend.v index 8e40234c0..787c3afca 100644 --- a/test_regress/t/t_math_shift_extend.v +++ b/test_regress/t/t_math_shift_extend.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic in1 = 1; logic [1:0] in2 = 2'b11; diff --git a/test_regress/t/t_math_shift_side.v b/test_regress/t/t_math_shift_side.v index fe3c66924..46eb2915c 100644 --- a/test_regress/t/t_math_shift_side.v +++ b/test_regress/t/t_math_shift_side.v @@ -13,7 +13,7 @@ class Cls; endclass -module t(/*AUTOARG*/); +module t; int i; diff --git a/test_regress/t/t_math_shortreal_unsup_bad.v b/test_regress/t/t_math_shortreal_unsup_bad.v index a1b356ba5..2e13b26d4 100644 --- a/test_regress/t/t_math_shortreal_unsup_bad.v +++ b/test_regress/t/t_math_shortreal_unsup_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2016 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; shortreal s; diff --git a/test_regress/t/t_math_sign_extend.v b/test_regress/t/t_math_sign_extend.v index 10b6aed61..fd00fc46b 100644 --- a/test_regress/t/t_math_sign_extend.v +++ b/test_regress/t/t_math_sign_extend.v @@ -7,7 +7,7 @@ // without warranty, 2015 by Mike Thyer. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; localparam [ 0:0] one1_lp = 1; localparam [ 1:0] one2_lp = 1; diff --git a/test_regress/t/t_math_signed3.v b/test_regress/t/t_math_signed3.v index ffb2a358e..98d008aaf 100644 --- a/test_regress/t/t_math_signed3.v +++ b/test_regress/t/t_math_signed3.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; // verilator lint_off WIDTH wire [1:0] bug729_au = ~0; diff --git a/test_regress/t/t_math_signed4.v b/test_regress/t/t_math_signed4.v index 31021e729..30e267209 100644 --- a/test_regress/t/t_math_signed4.v +++ b/test_regress/t/t_math_signed4.v @@ -7,7 +7,7 @@ `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); fail='1; end while(0) `define checkf(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%f exp=%f\n", `__FILE__,`__LINE__, (gotv), (expv)); fail='1; end while(0) -module t (/*AUTOARG*/); +module t; bit fail; diff --git a/test_regress/t/t_math_signed6.v b/test_regress/t/t_math_signed6.v index a58651950..891823838 100644 --- a/test_regress/t/t_math_signed6.v +++ b/test_regress/t/t_math_signed6.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) - module t (/*AUTOARG*/); + module t; // signed source logic signed [8-1:0] src; diff --git a/test_regress/t/t_math_strwidth.v b/test_regress/t/t_math_strwidth.v index 37a58925b..c03bd9375 100644 --- a/test_regress/t/t_math_strwidth.v +++ b/test_regress/t/t_math_strwidth.v @@ -4,7 +4,7 @@ // any use, without warranty, 2008-2008 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg [4*8:1] strg; diff --git a/test_regress/t/t_math_tri.v b/test_regress/t/t_math_tri.v index eb32a4895..462a430c6 100644 --- a/test_regress/t/t_math_tri.v +++ b/test_regress/t/t_math_tri.v @@ -4,7 +4,7 @@ // any use, without warranty, 2003 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg [3:0] a; reg [99:0] x; diff --git a/test_regress/t/t_mem_banks.v b/test_regress/t/t_mem_banks.v index 01f6204ca..cef449442 100644 --- a/test_regress/t/t_mem_banks.v +++ b/test_regress/t/t_mem_banks.v @@ -4,7 +4,7 @@ // any use, without warranty, 2017 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg [5:0] addr; diff --git a/test_regress/t/t_mem_bound_bad.v b/test_regress/t/t_mem_bound_bad.v index c2ec5fa16..61919afbe 100644 --- a/test_regress/t/t_mem_bound_bad.v +++ b/test_regress/t/t_mem_bound_bad.v @@ -4,7 +4,7 @@ // without warranty, 2014 by Jie Xu // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; logic [1:0][31:0] tt; logic [31:0] a; logic [31:0] b; diff --git a/test_regress/t/t_mem_multi_ref_bad.v b/test_regress/t/t_mem_multi_ref_bad.v index 8cc98a544..293aad9ae 100644 --- a/test_regress/t/t_mem_multi_ref_bad.v +++ b/test_regress/t/t_mem_multi_ref_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2005 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg dimn; reg [1:0] dim0; reg [1:0] dim1 [1:0]; diff --git a/test_regress/t/t_mod_automatic.v b/test_regress/t/t_mod_automatic.v index c3ffb868a..517216789 100644 --- a/test_regress/t/t_mod_automatic.v +++ b/test_regress/t/t_mod_automatic.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module automatic t(/*AUTOARG*/); +module automatic t; task static accum_s(input integer value, output integer result); static int acc = 1; diff --git a/test_regress/t/t_mod_dollar$.v b/test_regress/t/t_mod_dollar$.v index ee7d6ad75..3eaadfd6d 100644 --- a/test_regress/t/t_mod_dollar$.v +++ b/test_regress/t/t_mod_dollar$.v @@ -4,9 +4,9 @@ // any use, without warranty, 2020 by engr248. // SPDX-License-Identifier: CC0-1.0 -module \foo$bar (/*AUTOARG*/); - initial begin - $write("*-* All Finished *-*\n"); - $finish; - end +module \foo$bar ; + initial begin + $write("*-* All Finished *-*\n"); + $finish; + end endmodule diff --git a/test_regress/t/t_mod_dot.v b/test_regress/t/t_mod_dot.v index c86095ba0..411b012b5 100644 --- a/test_regress/t/t_mod_dot.v +++ b/test_regress/t/t_mod_dot.v @@ -4,9 +4,9 @@ // any use, without warranty, 2020 by engr248. // SPDX-License-Identifier: CC0-1.0 -module \foo.bar (/*AUTOARG*/); - initial begin - $write("*-* All Finished *-*\n"); - $finish; - end +module \foo.bar ; + initial begin + $write("*-* All Finished *-*\n"); + $finish; + end endmodule diff --git a/test_regress/t/t_mod_recurse1.v b/test_regress/t/t_mod_recurse1.v index 1c0c742d5..423d7eea0 100644 --- a/test_regress/t/t_mod_recurse1.v +++ b/test_regress/t/t_mod_recurse1.v @@ -4,7 +4,7 @@ // without warranty, 2013 by Sean Moore. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; rec rec (); diff --git a/test_regress/t/t_mod_uselib.v b/test_regress/t/t_mod_uselib.v index f51299a04..c761f0a78 100644 --- a/test_regress/t/t_mod_uselib.v +++ b/test_regress/t/t_mod_uselib.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // // `uselib {dir= | file= | libext= | lib= `uselib libext=.v s s (); diff --git a/test_regress/t/t_module_class_static_method.v b/test_regress/t/t_module_class_static_method.v index 393c0e541..e1e75a1aa 100644 --- a/test_regress/t/t_module_class_static_method.v +++ b/test_regress/t/t_module_class_static_method.v @@ -5,7 +5,7 @@ // SPDX-License-Identifier: CC0-1.0 // -module t (/*AUTOARG*/); +module t; class Cls; diff --git a/test_regress/t/t_nettype.v b/test_regress/t/t_nettype.v index c81792601..1614c76de 100644 --- a/test_regress/t/t_nettype.v +++ b/test_regress/t/t_nettype.v @@ -15,7 +15,7 @@ package Pkg; endfunction endpackage -module t(/*AUTOARG*/); +module t; function automatic real local_resolver(input real drivers[]); local_resolver = 0.0; diff --git a/test_regress/t/t_no_std_bad.v b/test_regress/t/t_no_std_bad.v index 3dbac71e6..9bce31e77 100644 --- a/test_regress/t/t_no_std_bad.v +++ b/test_regress/t/t_no_std_bad.v @@ -5,6 +5,6 @@ // SPDX-License-Identifier: CC0-1.0 // verilator lint_off DECLFILENAME -module t(/*AUTOARG*/); +module t; import std::*; endmodule diff --git a/test_regress/t/t_opt_dead.v b/test_regress/t/t_opt_dead.v index 28e75d3ad..4fb804739 100644 --- a/test_regress/t/t_opt_dead.v +++ b/test_regress/t/t_opt_dead.v @@ -15,7 +15,7 @@ endmodule //TODO dead check with class extends -module t (/*AUTOARG*/); +module t; generate if (0) begin diff --git a/test_regress/t/t_opt_dead_nocells.v b/test_regress/t/t_opt_dead_nocells.v index b22bf2575..0ee6431ab 100644 --- a/test_regress/t/t_opt_dead_nocells.v +++ b/test_regress/t/t_opt_dead_nocells.v @@ -7,7 +7,7 @@ module Mod_Dead; endmodule -module t (/*AUTOARG*/); +module t; Mod_Dead cell_keptdead(); diff --git a/test_regress/t/t_opt_inline_funcs.v b/test_regress/t/t_opt_inline_funcs.v index 0fb2c6e2b..26cdceab5 100644 --- a/test_regress/t/t_opt_inline_funcs.v +++ b/test_regress/t/t_opt_inline_funcs.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; function void allfin; $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_package_dimport.v b/test_regress/t/t_package_dimport.v index 1efb1e5b2..a4dd4fd07 100644 --- a/test_regress/t/t_package_dimport.v +++ b/test_regress/t/t_package_dimport.v @@ -38,7 +38,7 @@ module sub(); endmodule -module t(/*AUTOARG*/); +module t; import defs::*; diff --git a/test_regress/t/t_package_dot.v b/test_regress/t/t_package_dot.v index fe345dfe8..39fa6b1a9 100644 --- a/test_regress/t/t_package_dot.v +++ b/test_regress/t/t_package_dot.v @@ -16,7 +16,7 @@ package csr_pkg; localparam reg_t REG_RST = 8'h34; endpackage -module t (/*AUTOARG*/); +module t; initial begin if (csr_pkg::REG_RST.msk != 4'h3) $stop; $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_package_dup_bad.v b/test_regress/t/t_package_dup_bad.v index 7a118fa59..89d9e7edd 100644 --- a/test_regress/t/t_package_dup_bad.v +++ b/test_regress/t/t_package_dup_bad.v @@ -22,7 +22,7 @@ endpackage package pkg; endpackage -module t (/*AUTOARG*/); +module t; sub sub (); initial begin $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_package_export.v b/test_regress/t/t_package_export.v index 1aa9af4bd..342f98eda 100644 --- a/test_regress/t/t_package_export.v +++ b/test_regress/t/t_package_export.v @@ -50,7 +50,7 @@ package pkg31; import pkg30::*; endpackage -module t (/*AUTOARG*/); +module t; reg [pkg11::PARAM1 : 0] bus11; reg [pkg11::PARAM2 : 0] bus12; diff --git a/test_regress/t/t_package_export_bad2.v b/test_regress/t/t_package_export_bad2.v index e2075d7a9..ae1ac13fe 100644 --- a/test_regress/t/t_package_export_bad2.v +++ b/test_regress/t/t_package_export_bad2.v @@ -12,5 +12,5 @@ package Pkg10; export Pkg1b::*; // BAD - typo in package name endpackage -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_package_import_bad2.v b/test_regress/t/t_package_import_bad2.v index fd8501c51..b2d4d0c36 100644 --- a/test_regress/t/t_package_import_bad2.v +++ b/test_regress/t/t_package_import_bad2.v @@ -12,5 +12,5 @@ package Pkg10; import Pkg1b::*; // BAD - typo in package name endpackage -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_package_local_bad.v b/test_regress/t/t_package_local_bad.v index a004a8cd0..99ff3ede4 100644 --- a/test_regress/t/t_package_local_bad.v +++ b/test_regress/t/t_package_local_bad.v @@ -4,7 +4,7 @@ // without warranty, 2024 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin $display(local::x); $finish; diff --git a/test_regress/t/t_package_struct.v b/test_regress/t/t_package_struct.v index 445bfd541..9e9a93393 100644 --- a/test_regress/t/t_package_struct.v +++ b/test_regress/t/t_package_struct.v @@ -13,7 +13,7 @@ package pkg; } strings; endpackage -module t (/*AUTOARG*/); +module t; initial begin pkg::strings stct; stct.a = "hello"; diff --git a/test_regress/t/t_package_twodeep.v b/test_regress/t/t_package_twodeep.v index 0593ae060..49dc83568 100644 --- a/test_regress/t/t_package_twodeep.v +++ b/test_regress/t/t_package_twodeep.v @@ -17,7 +17,7 @@ endpackage // pkg1 module t import pkg1::*; // Test SV 2012 import format - (/*AUTOARG*/); +; reg [PARAM1:0] bus1; diff --git a/test_regress/t/t_packed_concat.v b/test_regress/t/t_packed_concat.v index 1ce2a3eee..02b309750 100644 --- a/test_regress/t/t_packed_concat.v +++ b/test_regress/t/t_packed_concat.v @@ -4,7 +4,7 @@ // without warranty, 2019 by Driss Hafdi // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef logic [15:0] count_t; typedef bit [31:0] bit_int_t; diff --git a/test_regress/t/t_packed_concat_bad.v b/test_regress/t/t_packed_concat_bad.v index fb7c04b7a..37e2d381b 100644 --- a/test_regress/t/t_packed_concat_bad.v +++ b/test_regress/t/t_packed_concat_bad.v @@ -4,7 +4,7 @@ // without warranty, 2019 by Driss Hafdi // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef logic [15:0] count_t; typedef bit [31:0] bit_int_t; diff --git a/test_regress/t/t_param_array.v b/test_regress/t/t_param_array.v index 7b9805c88..f98ad281b 100644 --- a/test_regress/t/t_param_array.v +++ b/test_regress/t/t_param_array.v @@ -4,7 +4,7 @@ // without warranty, 2013 by Jeremy Bennett. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef enum int { PADTYPE_DEFAULT = 32'd0, diff --git a/test_regress/t/t_param_ceil.v b/test_regress/t/t_param_ceil.v index 645c5104b..d6e7766ca 100644 --- a/test_regress/t/t_param_ceil.v +++ b/test_regress/t/t_param_ceil.v @@ -4,7 +4,7 @@ // any use, without warranty, 2010 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; /*AUTOWIRE*/ // Beginning of automatic wires (for undeclared instantiated-module outputs) diff --git a/test_regress/t/t_param_chain.v b/test_regress/t/t_param_chain.v index a74a93ef3..3b10a889c 100644 --- a/test_regress/t/t_param_chain.v +++ b/test_regress/t/t_param_chain.v @@ -4,7 +4,7 @@ // any use, without warranty, 2013 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; function integer max2; input integer x; diff --git a/test_regress/t/t_param_circ_bad.v b/test_regress/t/t_param_circ_bad.v index f27e73f29..f56a36a26 100644 --- a/test_regress/t/t_param_circ_bad.v +++ b/test_regress/t/t_param_circ_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2011 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; sub sub (); endmodule diff --git a/test_regress/t/t_param_default.v b/test_regress/t/t_param_default.v index d4655bccc..5928e4c49 100644 --- a/test_regress/t/t_param_default.v +++ b/test_regress/t/t_param_default.v @@ -7,7 +7,7 @@ module m #(parameter int Foo); endmodule -module t (/*AUTOARG*/); +module t; m #(10) foo(); diff --git a/test_regress/t/t_param_default_bad.v b/test_regress/t/t_param_default_bad.v index d2a8d4fc6..44e40af0a 100644 --- a/test_regress/t/t_param_default_bad.v +++ b/test_regress/t/t_param_default_bad.v @@ -7,7 +7,7 @@ module m #(parameter int Foo); endmodule -module t (/*AUTOARG*/); +module t; m foo(); diff --git a/test_regress/t/t_param_in_func.v b/test_regress/t/t_param_in_func.v index 2b04e675c..7300965b8 100644 --- a/test_regress/t/t_param_in_func.v +++ b/test_regress/t/t_param_in_func.v @@ -4,7 +4,7 @@ // without warranty, 2019 by Driss Hafdi. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin if (getUnpacked($c("0")) != "0") $stop; if (getUnpacked($c("1")) != "1") $stop; diff --git a/test_regress/t/t_param_mintypmax.v b/test_regress/t/t_param_mintypmax.v index dfc793551..05fb78d89 100644 --- a/test_regress/t/t_param_mintypmax.v +++ b/test_regress/t/t_param_mintypmax.v @@ -4,7 +4,7 @@ // without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; parameter MTM = (1:2:3); diff --git a/test_regress/t/t_param_public.v b/test_regress/t/t_param_public.v index 325b4ff74..a2db80ceb 100644 --- a/test_regress/t/t_param_public.v +++ b/test_regress/t/t_param_public.v @@ -6,7 +6,7 @@ //bug505 -module t (/*AUTOARG*/); +module t; parameter TOP_PARAM /*verilator public*/ = 20; diff --git a/test_regress/t/t_param_type_fwd_bad.v b/test_regress/t/t_param_type_fwd_bad.v index 5a9e1820f..e623b9ca0 100644 --- a/test_regress/t/t_param_type_fwd_bad.v +++ b/test_regress/t/t_param_type_fwd_bad.v @@ -21,7 +21,7 @@ class Cls #(parameter type enum E_t, parameter type interface class IC_t); endclass -module t (/*AUTOARG*/); +module t; sub #(.E_t(int_t), .S_t(int_t), .U_t(int_t), .C_t(int_t), .IC_t(int_t)) sub(); Cls #(.E_t(int_t), .S_t(int_t), .U_t(int_t), .C_t(int_t), .IC_t(int_t)) c; initial begin diff --git a/test_regress/t/t_param_value.v b/test_regress/t/t_param_value.v index c74e18db7..ac745a993 100644 --- a/test_regress/t/t_param_value.v +++ b/test_regress/t/t_param_value.v @@ -6,7 +6,7 @@ // Version 2.0. // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 -module t (/*AUTOARG*/); +module t; `define ASSERT(x) initial if (!(x)) $stop // See IEEE 6.20.2 on value parameters diff --git a/test_regress/t/t_param_while.v b/test_regress/t/t_param_while.v index ac13302af..188bff4d2 100644 --- a/test_regress/t/t_param_while.v +++ b/test_regress/t/t_param_while.v @@ -6,7 +6,7 @@ //bug505 -module t (/*AUTOARG*/); +module t; parameter WIDTH = 33; localparam MAX_WIDTH = 11; diff --git a/test_regress/t/t_param_width_loc_bad.v b/test_regress/t/t_param_width_loc_bad.v index 1e0b5ad4d..1f0a65166 100644 --- a/test_regress/t/t_param_width_loc_bad.v +++ b/test_regress/t/t_param_width_loc_bad.v @@ -4,7 +4,7 @@ // without warranty, 2019 by Driss Hafdi. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // bug1624 test #(.PARAM(32'd0)) test_i(); diff --git a/test_regress/t/t_parse_delay.v b/test_regress/t/t_parse_delay.v index 2b8711734..32733163a 100644 --- a/test_regress/t/t_parse_delay.v +++ b/test_regress/t/t_parse_delay.v @@ -4,7 +4,7 @@ // any use, without warranty, 2014 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // verilator lint_off WIDTH reg [6:0] myreg1; diff --git a/test_regress/t/t_preproc_ifdef.v b/test_regress/t/t_preproc_ifdef.v index 4708eadef..d333a7767 100644 --- a/test_regress/t/t_preproc_ifdef.v +++ b/test_regress/t/t_preproc_ifdef.v @@ -4,7 +4,7 @@ // any use, without warranty, 2007 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; integer num; initial begin num = 0; diff --git a/test_regress/t/t_preproc_kwd.v b/test_regress/t/t_preproc_kwd.v index bb3afe655..6b11486ea 100644 --- a/test_regress/t/t_preproc_kwd.v +++ b/test_regress/t/t_preproc_kwd.v @@ -4,7 +4,7 @@ // any use, without warranty, 2007 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; v95 v95 (); v01nc v01nc (); diff --git a/test_regress/t/t_probdist.v b/test_regress/t/t_probdist.v index 517c6f7b1..3547b3cfc 100644 --- a/test_regress/t/t_probdist.v +++ b/test_regress/t/t_probdist.v @@ -7,7 +7,7 @@ `define stop $stop `define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; integer seed; integer r; diff --git a/test_regress/t/t_probdist_bad.v b/test_regress/t/t_probdist_bad.v index d5f1a1752..4c1e55881 100644 --- a/test_regress/t/t_probdist_bad.v +++ b/test_regress/t/t_probdist_bad.v @@ -7,7 +7,7 @@ `define stop $stop `define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; integer seed; integer r; diff --git a/test_regress/t/t_process.v b/test_regress/t/t_process.v index 63844225e..81d3f8017 100644 --- a/test_regress/t/t_process.v +++ b/test_regress/t/t_process.v @@ -18,7 +18,7 @@ // function void set_randstate( string state ); // Operate on all proceses for now? // endclass -module t(/*AUTOARG*/); +module t; process p; initial begin diff --git a/test_regress/t/t_process_bad.v b/test_regress/t/t_process_bad.v index d32afb72b..c336e912e 100644 --- a/test_regress/t/t_process_bad.v +++ b/test_regress/t/t_process_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; process p; initial begin diff --git a/test_regress/t/t_program_anonymous.v b/test_regress/t/t_program_anonymous.v index 5df52f197..2fb5ec90d 100644 --- a/test_regress/t/t_program_anonymous.v +++ b/test_regress/t/t_program_anonymous.v @@ -15,7 +15,7 @@ class acls; endclass endprogram -program t(/*AUTOARG*/); +program t; int i; diff --git a/test_regress/t/t_program_extern.v b/test_regress/t/t_program_extern.v index 8389ad211..be637049d 100644 --- a/test_regress/t/t_program_extern.v +++ b/test_regress/t/t_program_extern.v @@ -8,7 +8,7 @@ extern program ex_pgm; extern interface ex_ifc; extern module ex_mod; -module t(/*AUTOARG*/); +module t; ex_pgm u_pgm(); ex_ifc u_ifc(); diff --git a/test_regress/t/t_protect_ids_bad.v b/test_regress/t/t_protect_ids_bad.v index 582a47b4a..b102cb1b8 100644 --- a/test_regress/t/t_protect_ids_bad.v +++ b/test_regress/t/t_protect_ids_bad.v @@ -4,5 +4,5 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_queue_arg.v b/test_regress/t/t_queue_arg.v index f80aa7f39..03e0be8e5 100644 --- a/test_regress/t/t_queue_arg.v +++ b/test_regress/t/t_queue_arg.v @@ -20,7 +20,7 @@ class uvm_queue; endfunction endclass -module t(/*AUTOARG*/); +module t; uvm_queue q; diff --git a/test_regress/t/t_queue_back.v b/test_regress/t/t_queue_back.v index ed940f469..48e60ae22 100644 --- a/test_regress/t/t_queue_back.v +++ b/test_regress/t/t_queue_back.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; int q[$]; int r; diff --git a/test_regress/t/t_queue_bounded.v b/test_regress/t/t_queue_bounded.v index 60a62378b..1b1241ec6 100644 --- a/test_regress/t/t_queue_bounded.v +++ b/test_regress/t/t_queue_bounded.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; localparam TWO = 2; diff --git a/test_regress/t/t_queue_class.v b/test_regress/t/t_queue_class.v index 8dcede315..efacb958f 100644 --- a/test_regress/t/t_queue_class.v +++ b/test_regress/t/t_queue_class.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; class Cls; int que[$]; diff --git a/test_regress/t/t_queue_concat_assign.v b/test_regress/t/t_queue_concat_assign.v index 3e4478420..4422f6164 100644 --- a/test_regress/t/t_queue_concat_assign.v +++ b/test_regress/t/t_queue_concat_assign.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t ( /*AUTOARG*/); +module t; initial begin bit q1[$] = {1'b1}; diff --git a/test_regress/t/t_queue_empty_bad.v b/test_regress/t/t_queue_empty_bad.v index 09695b14a..a92590a67 100644 --- a/test_regress/t/t_queue_empty_bad.v +++ b/test_regress/t/t_queue_empty_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin int i; diff --git a/test_regress/t/t_queue_empty_pin.v b/test_regress/t/t_queue_empty_pin.v index 77788c96e..4d7f97e7d 100644 --- a/test_regress/t/t_queue_empty_pin.v +++ b/test_regress/t/t_queue_empty_pin.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; task tsk(int q[] = {}); if (q.size != 0) $stop; endtask diff --git a/test_regress/t/t_queue_init.v b/test_regress/t/t_queue_init.v index cc22d9747..3efd86bcf 100644 --- a/test_regress/t/t_queue_init.v +++ b/test_regress/t/t_queue_init.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; int a1[$] = '{12, 13}; int a2[$] = {14, 15}; diff --git a/test_regress/t/t_queue_method.v b/test_regress/t/t_queue_method.v index 40798c065..fb98bb5a7 100644 --- a/test_regress/t/t_queue_method.v +++ b/test_regress/t/t_queue_method.v @@ -16,7 +16,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; typedef struct packed { int x, y; } point; typedef struct packed { point p; int z; } point_3d; initial begin diff --git a/test_regress/t/t_queue_method2_bad.v b/test_regress/t/t_queue_method2_bad.v index b6ce89d8c..3b0b51087 100644 --- a/test_regress/t/t_queue_method2_bad.v +++ b/test_regress/t/t_queue_method2_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin int q[$]; int qe[$]; // Empty diff --git a/test_regress/t/t_queue_method3_bad.v b/test_regress/t/t_queue_method3_bad.v index 274690022..cb68fd7e2 100644 --- a/test_regress/t/t_queue_method3_bad.v +++ b/test_regress/t/t_queue_method3_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef struct packed { int x, y; } point; initial begin point points_q[$]; diff --git a/test_regress/t/t_queue_method_bad.v b/test_regress/t/t_queue_method_bad.v index e9e0089a6..c57d4e06c 100644 --- a/test_regress/t/t_queue_method_bad.v +++ b/test_regress/t/t_queue_method_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2019 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin int q[$]; int qe[$]; // Empty diff --git a/test_regress/t/t_queue_output_func.v b/test_regress/t/t_queue_output_func.v index eb92638ab..e873e163c 100644 --- a/test_regress/t/t_queue_output_func.v +++ b/test_regress/t/t_queue_output_func.v @@ -13,7 +13,7 @@ task init_set_2 (output Cls c); c.x = 2; endtask -module t (/*AUTOARG*/); +module t; initial begin Cls cls_q[$]; diff --git a/test_regress/t/t_queue_persistence.v b/test_regress/t/t_queue_persistence.v index 2327e7530..46f5f397c 100644 --- a/test_regress/t/t_queue_persistence.v +++ b/test_regress/t/t_queue_persistence.v @@ -7,7 +7,7 @@ `define stop $stop `define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; int qdel[$]; int qkept[$]; diff --git a/test_regress/t/t_queue_slice.v b/test_regress/t/t_queue_slice.v index bc622669e..6fa42a402 100644 --- a/test_regress/t/t_queue_slice.v +++ b/test_regress/t/t_queue_slice.v @@ -9,7 +9,7 @@ `define checks(gotv,expv) do if ((gotv) != (expv)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); `define checkp(gotv,expv_s) do begin string gotv_s; gotv_s = $sformatf("%p", gotv); if ((gotv_s) != (expv_s)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv_s), (expv_s)); `stop; end end while(0); -module t (/*AUTOARG*/); +module t; initial begin typedef string q_t[$]; q_t q; diff --git a/test_regress/t/t_queue_struct.v b/test_regress/t/t_queue_struct.v index 59bf57120..cd8ca43e5 100644 --- a/test_regress/t/t_queue_struct.v +++ b/test_regress/t/t_queue_struct.v @@ -7,7 +7,7 @@ `define stop $stop `define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; typedef struct { int b[$]; diff --git a/test_regress/t/t_queue_unpacked.v b/test_regress/t/t_queue_unpacked.v index 30c3b41f9..ba8ffd2ee 100644 --- a/test_regress/t/t_queue_unpacked.v +++ b/test_regress/t/t_queue_unpacked.v @@ -7,7 +7,7 @@ `define stop $stop `define checks(gotv,expv) do if ((gotv) != (expv)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; typedef string sarray_t[2]; typedef sarray_t q_sarray_t[$]; diff --git a/test_regress/t/t_randc.v b/test_regress/t/t_randc.v index 683cb996c..41011814f 100644 --- a/test_regress/t/t_randc.v +++ b/test_regress/t/t_randc.v @@ -99,7 +99,7 @@ class ClsEnum; endclass -module t (/*AUTOARG*/); +module t; ClsNarrow #(1) c1; // Degenerate case ClsNarrow #(2) c2; diff --git a/test_regress/t/t_randc_oversize_bad.v b/test_regress/t/t_randc_oversize_bad.v index c687f61df..3b35d752c 100644 --- a/test_regress/t/t_randc_oversize_bad.v +++ b/test_regress/t/t_randc_oversize_bad.v @@ -8,7 +8,7 @@ class Cls; randc bit [37:0] i; endclass -module t (/*AUTOARG*/); +module t; Cls c; initial begin c = new; diff --git a/test_regress/t/t_randcase.v b/test_regress/t/t_randcase.v index 8d30eb0a6..ee4fb6f68 100644 --- a/test_regress/t/t_randcase.v +++ b/test_regress/t/t_randcase.v @@ -8,7 +8,7 @@ `define check_range(gotv,minv,maxv) do if ((gotv) < (minv) || (gotv) > (maxv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d-%0d\n", `__FILE__,`__LINE__, (gotv), (minv), (maxv)); `stop; end while(0); `define check_within_30_percent(gotv,val) `check_range((gotv), (val) * 70 / 100, (val) * 130 / 100) -module t (/*AUTOARG*/); +module t; localparam int COUNT = 1000; diff --git a/test_regress/t/t_randcase_bad.v b/test_regress/t/t_randcase_bad.v index d6bba0df1..c40d63879 100644 --- a/test_regress/t/t_randcase_bad.v +++ b/test_regress/t/t_randcase_bad.v @@ -6,7 +6,7 @@ // without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin randcase // Bad all zero weights diff --git a/test_regress/t/t_randomize.v b/test_regress/t/t_randomize.v index 11beaf399..fe5243a86 100644 --- a/test_regress/t/t_randomize.v +++ b/test_regress/t/t_randomize.v @@ -50,7 +50,7 @@ class Packet; endclass -module t (/*AUTOARG*/); +module t; Packet p; diff --git a/test_regress/t/t_randomize_method.v b/test_regress/t/t_randomize_method.v index 1663f26ad..5e7ee09b7 100644 --- a/test_regress/t/t_randomize_method.v +++ b/test_regress/t/t_randomize_method.v @@ -155,7 +155,7 @@ class ClsContainUsedOnlyHere; endfunction endclass -module t (/*AUTOARG*/); +module t; DerivedCls1 derived1; DerivedCls2 derived2; diff --git a/test_regress/t/t_randomize_method_bad.v b/test_regress/t/t_randomize_method_bad.v index cae21a9b9..f7112eb3e 100644 --- a/test_regress/t/t_randomize_method_bad.v +++ b/test_regress/t/t_randomize_method_bad.v @@ -17,5 +17,5 @@ class Cls2; endfunction endclass -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_randomize_method_complex_bad.v b/test_regress/t/t_randomize_method_complex_bad.v index 92d21189f..e2e360204 100644 --- a/test_regress/t/t_randomize_method_complex_bad.v +++ b/test_regress/t/t_randomize_method_complex_bad.v @@ -8,7 +8,7 @@ class Cls; Cls f; rand int r; endclass -module t (/*AUTOARG*/); +module t; Cls x = new; int i; initial $display( diff --git a/test_regress/t/t_randomize_method_constraints.v b/test_regress/t/t_randomize_method_constraints.v index 23a1f7b05..f7f310f3b 100644 --- a/test_regress/t/t_randomize_method_constraints.v +++ b/test_regress/t/t_randomize_method_constraints.v @@ -34,7 +34,7 @@ class Cls; endclass -module t (/*AUTOARG*/); +module t; Cls obj; initial begin diff --git a/test_regress/t/t_randomize_method_nclass_bad.v b/test_regress/t/t_randomize_method_nclass_bad.v index 6b58cf27f..2f0acbc0f 100644 --- a/test_regress/t/t_randomize_method_nclass_bad.v +++ b/test_regress/t/t_randomize_method_nclass_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin randomize(1); srandom(1); diff --git a/test_regress/t/t_randomize_method_std.v b/test_regress/t/t_randomize_method_std.v index 2e1d991cb..7ed03f894 100644 --- a/test_regress/t/t_randomize_method_std.v +++ b/test_regress/t/t_randomize_method_std.v @@ -12,7 +12,7 @@ class C; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin C c = new; diff --git a/test_regress/t/t_randomize_method_types_unsup.v b/test_regress/t/t_randomize_method_types_unsup.v index f100eeac9..67210c627 100644 --- a/test_regress/t/t_randomize_method_types_unsup.v +++ b/test_regress/t/t_randomize_method_types_unsup.v @@ -32,7 +32,7 @@ class Cls; } endclass -module t (/*AUTOARG*/); +module t; Cls obj; int res; diff --git a/test_regress/t/t_randomize_method_with_scoping.v b/test_regress/t/t_randomize_method_with_scoping.v index 35c156abb..3f2deada5 100644 --- a/test_regress/t/t_randomize_method_with_scoping.v +++ b/test_regress/t/t_randomize_method_with_scoping.v @@ -104,7 +104,7 @@ class SubC extends SubB; endfunction endclass -module t (/*AUTOARG*/); +module t; SubC obj = new; initial begin diff --git a/test_regress/t/t_randomize_prepost.v b/test_regress/t/t_randomize_prepost.v index 204881f52..85cee7ad5 100644 --- a/test_regress/t/t_randomize_prepost.v +++ b/test_regress/t/t_randomize_prepost.v @@ -45,7 +45,7 @@ class Cls extends Base; endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Cls c; diff --git a/test_regress/t/t_randomize_rand_mode.v b/test_regress/t/t_randomize_rand_mode.v index 80a0ca50d..9e3e7e59e 100644 --- a/test_regress/t/t_randomize_rand_mode.v +++ b/test_regress/t/t_randomize_rand_mode.v @@ -79,7 +79,7 @@ class Packet extends Base; endclass -module t (/*AUTOARG*/); +module t; Packet p; diff --git a/test_regress/t/t_randomize_srandom.v b/test_regress/t/t_randomize_srandom.v index 218565138..cf6c32530 100644 --- a/test_regress/t/t_randomize_srandom.v +++ b/test_regress/t/t_randomize_srandom.v @@ -79,7 +79,7 @@ class Bar extends Foo; endfunction endclass -module t(/*AUTOARG*/); +module t; Cls ca; Cls cb; diff --git a/test_regress/t/t_randomize_this.v b/test_regress/t/t_randomize_this.v index 8ce0869af..658a52c2f 100644 --- a/test_regress/t/t_randomize_this.v +++ b/test_regress/t/t_randomize_this.v @@ -33,7 +33,7 @@ class Cls; endfunction endclass -module t(/*AUTOARG*/); +module t; initial begin Cls c; diff --git a/test_regress/t/t_randsequence.v b/test_regress/t/t_randsequence.v index 3fd5a9ec8..9c1b31b62 100644 --- a/test_regress/t/t_randsequence.v +++ b/test_regress/t/t_randsequence.v @@ -11,7 +11,7 @@ `define check_range(gotv,minv,maxv) do if ((gotv) < (minv) || (gotv) > (maxv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d-%0d\n", `__FILE__,`__LINE__, (gotv), (minv), (maxv)); `stop; end while(0); `define check_within_30_percent(gotv,val) `check_range((gotv), (val) * 70 / 100, (val) * 130 / 100) -module t(/*AUTOARG*/); +module t; localparam int COUNT = 1000; diff --git a/test_regress/t/t_randsequence_bad.v b/test_regress/t/t_randsequence_bad.v index 5e335f237..9d30e6241 100644 --- a/test_regress/t/t_randsequence_bad.v +++ b/test_regress/t/t_randsequence_bad.v @@ -6,7 +6,7 @@ // Version 2.0. // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 -module t(/*AUTOARG*/); +module t; initial begin; randsequence(no_such_production) // Bad diff --git a/test_regress/t/t_randstate_func.v b/test_regress/t/t_randstate_func.v index 87563d1f4..6f486052c 100644 --- a/test_regress/t/t_randstate_func.v +++ b/test_regress/t/t_randstate_func.v @@ -32,7 +32,7 @@ class Cls; endfunction endclass -module t(/*AUTOARG*/); +module t; automatic int rand_result, v1, v2; automatic string s; diff --git a/test_regress/t/t_randstate_obj.v b/test_regress/t/t_randstate_obj.v index bc5255913..aaf07a1b3 100644 --- a/test_regress/t/t_randstate_obj.v +++ b/test_regress/t/t_randstate_obj.v @@ -8,7 +8,7 @@ class Cls; rand int length; endclass -module t(/*AUTOARG*/); +module t; automatic int rand_result, v1, v2; automatic string s; diff --git a/test_regress/t/t_randstate_seed_bad.v b/test_regress/t/t_randstate_seed_bad.v index 1762e72a1..a15b415d4 100644 --- a/test_regress/t/t_randstate_seed_bad.v +++ b/test_regress/t/t_randstate_seed_bad.v @@ -17,7 +17,7 @@ class Cls; endfunction endclass -module t(/*AUTOARG*/); +module t; initial begin Cls c; diff --git a/test_regress/t/t_recursive_method.v b/test_regress/t/t_recursive_method.v index d89d27a29..2e0e84268 100644 --- a/test_regress/t/t_recursive_method.v +++ b/test_regress/t/t_recursive_method.v @@ -43,7 +43,7 @@ class Getter3 #(int T=5); endfunction endclass -module t (/*AUTOARG*/); +module t; initial begin Fib fib = new; diff --git a/test_regress/t/t_reloop_offset.v b/test_regress/t/t_reloop_offset.v index b4bfc4198..fff96064a 100644 --- a/test_regress/t/t_reloop_offset.v +++ b/test_regress/t/t_reloop_offset.v @@ -6,7 +6,7 @@ `define show(x) $display("oarray[%2d] is %2d", x, oarray[x]) -module t (/*AUTOARG*/); +module t; int iarray [63:0]; int oarray [63:0]; diff --git a/test_regress/t/t_repeat.v b/test_regress/t/t_repeat.v index 54c20c4d9..3e557ee40 100644 --- a/test_regress/t/t_repeat.v +++ b/test_regress/t/t_repeat.v @@ -4,7 +4,7 @@ // any use, without warranty, 2009 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg signed [2:0] negcnt; integer times; diff --git a/test_regress/t/t_savable_class_bad.v b/test_regress/t/t_savable_class_bad.v index 08efffcfd..ef64829b3 100644 --- a/test_regress/t/t_savable_class_bad.v +++ b/test_regress/t/t_savable_class_bad.v @@ -8,7 +8,7 @@ class Cls; int imembera; endclass : Cls -module t (/*AUTOARG*/); +module t; initial begin Cls c; if (c != null) $stop; diff --git a/test_regress/t/t_savable_coverage_bad.v b/test_regress/t/t_savable_coverage_bad.v index ec0ba931d..0f1777e05 100644 --- a/test_regress/t/t_savable_coverage_bad.v +++ b/test_regress/t/t_savable_coverage_bad.v @@ -4,5 +4,5 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; endmodule diff --git a/test_regress/t/t_select_bad_tri.v b/test_regress/t/t_select_bad_tri.v index 1e272a53e..5a0c02f3f 100644 --- a/test_regress/t/t_select_bad_tri.v +++ b/test_regress/t/t_select_bad_tri.v @@ -4,7 +4,7 @@ // any use, without warranty, 2008 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg [72:1] in; initial begin diff --git a/test_regress/t/t_select_bad_width0.v b/test_regress/t/t_select_bad_width0.v index 671bb14ab..0acd395a3 100644 --- a/test_regress/t/t_select_bad_width0.v +++ b/test_regress/t/t_select_bad_width0.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; parameter int ZERO = 0; diff --git a/test_regress/t/t_select_crazy.v b/test_regress/t/t_select_crazy.v index a39637524..ff33ddd6e 100644 --- a/test_regress/t/t_select_crazy.v +++ b/test_regress/t/t_select_crazy.v @@ -13,7 +13,7 @@ function integer the_other_func (input integer val); return val; endfunction -module t (/*AUTOARG*/); +module t; genvar the_genvar; generate for (the_genvar = 0; the_genvar < 4; the_genvar++) begin: foo_loop diff --git a/test_regress/t/t_select_index2.v b/test_regress/t/t_select_index2.v index f0b711c48..6255a2e65 100644 --- a/test_regress/t/t_select_index2.v +++ b/test_regress/t/t_select_index2.v @@ -4,7 +4,7 @@ // any use, without warranty, 2013 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg [7:0] x; wire [3:0] en; diff --git a/test_regress/t/t_select_little_pack.v b/test_regress/t/t_select_little_pack.v index bd0e7f397..b2bec2b51 100644 --- a/test_regress/t/t_select_little_pack.v +++ b/test_regress/t/t_select_little_pack.v @@ -4,7 +4,7 @@ // any use, without warranty, 2009 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // No ascending range warning here reg [7:0] pack [3:0]; diff --git a/test_regress/t/t_semaphore.v b/test_regress/t/t_semaphore.v index 6635cff9d..4c271bf59 100644 --- a/test_regress/t/t_semaphore.v +++ b/test_regress/t/t_semaphore.v @@ -17,7 +17,7 @@ `endif // verilator lint_off DECLFILENAME -module t(/*AUTOARG*/); +module t; // From UVM: `SEMAPHORE_T s; `SEMAPHORE_T s2; diff --git a/test_regress/t/t_semaphore_bad.v b/test_regress/t/t_semaphore_bad.v index 68e6ee38b..e3d2c8974 100644 --- a/test_regress/t/t_semaphore_bad.v +++ b/test_regress/t/t_semaphore_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; semaphore s; initial begin diff --git a/test_regress/t/t_slice_cmp.v b/test_regress/t/t_slice_cmp.v index 322c389b6..15d3ccba6 100644 --- a/test_regress/t/t_slice_cmp.v +++ b/test_regress/t/t_slice_cmp.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; bit a [5:0]; bit b [5:0]; diff --git a/test_regress/t/t_slice_cond_2d_side_effect.v b/test_regress/t/t_slice_cond_2d_side_effect.v index 06f150340..ff3d3575a 100644 --- a/test_regress/t/t_slice_cond_2d_side_effect.v +++ b/test_regress/t/t_slice_cond_2d_side_effect.v @@ -16,7 +16,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; Cls c = new; initial begin arr_t arr; diff --git a/test_regress/t/t_slice_cond_side_effect.v b/test_regress/t/t_slice_cond_side_effect.v index 4c2bc092e..e9d9d556f 100644 --- a/test_regress/t/t_slice_cond_side_effect.v +++ b/test_regress/t/t_slice_cond_side_effect.v @@ -16,7 +16,7 @@ class Cls; endfunction endclass -module t (/*AUTOARG*/); +module t; Cls c = new; initial begin arr_t arr; diff --git a/test_regress/t/t_stack_check.v b/test_regress/t/t_stack_check.v index e95f4535f..b545d8961 100644 --- a/test_regress/t/t_stack_check.v +++ b/test_regress/t/t_stack_check.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_static_elab.v b/test_regress/t/t_static_elab.v index afb29e374..d845db15c 100644 --- a/test_regress/t/t_static_elab.v +++ b/test_regress/t/t_static_elab.v @@ -4,7 +4,7 @@ // without warranty, 2015 by Todd Strader. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef struct packed { logic [ 31 : 0 ] _five; diff --git a/test_regress/t/t_static_function_in_class.v b/test_regress/t/t_static_function_in_class.v index 10a0b6e73..7911e81fe 100644 --- a/test_regress/t/t_static_function_in_class.v +++ b/test_regress/t/t_static_function_in_class.v @@ -42,7 +42,7 @@ class filter; endfunction // new endclass // filter -module t (/*AUTOARG*/); +module t; const filter _filter = filter::get(); initial begin $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_stream5.v b/test_regress/t/t_stream5.v index 8ece51a8f..6f02169d5 100644 --- a/test_regress/t/t_stream5.v +++ b/test_regress/t/t_stream5.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; logic [15:0] i16; logic [15:0] o16; diff --git a/test_regress/t/t_stream_dynamic.v b/test_regress/t/t_stream_dynamic.v index ab6cfaa4d..bae9c6007 100644 --- a/test_regress/t/t_stream_dynamic.v +++ b/test_regress/t/t_stream_dynamic.v @@ -13,7 +13,7 @@ typedef enum bit [5:0] { B = 6,b111111 } enum_t; -module t (/*AUTOARG*/); +module t; task test1; bit arr[]; bit [1:0] arr2[$]; diff --git a/test_regress/t/t_stream_integer_type.v b/test_regress/t/t_stream_integer_type.v index 9d3a463e6..8c8f8a747 100644 --- a/test_regress/t/t_stream_integer_type.v +++ b/test_regress/t/t_stream_integer_type.v @@ -15,7 +15,7 @@ // any use, without warranty, 2020 by Victor Besyakov. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic [31:0] packed_data_32; logic [31:0] packed_data_32_ref; diff --git a/test_regress/t/t_stream_unpack.v b/test_regress/t/t_stream_unpack.v index 571c96eda..2f3a4ac5b 100644 --- a/test_regress/t/t_stream_unpack.v +++ b/test_regress/t/t_stream_unpack.v @@ -13,7 +13,7 @@ typedef enum bit [5:0] { B = 6,b111111 } enum_t; -module t (/*AUTOARG*/); +module t; initial begin typedef bit [5:0] bit6_t; typedef bit bit6_unpacked_t[6]; diff --git a/test_regress/t/t_stream_unpack_wider.v b/test_regress/t/t_stream_unpack_wider.v index e3c5643ed..e63ff89bd 100644 --- a/test_regress/t/t_stream_unpack_wider.v +++ b/test_regress/t/t_stream_unpack_wider.v @@ -8,7 +8,7 @@ `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); `define checks(gotv,expv) do if ((gotv) != (expv)) begin $write("%%Error: %s:%0d: got='%s' exp='%s'\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; initial begin logic [7:0] src_1 = 8'b1010_0011; // 8 bits wide source logic [1:0] dst_1 [3]; // 6 bits wide target diff --git a/test_regress/t/t_strength_assignments_constants.v b/test_regress/t/t_strength_assignments_constants.v index c91b7104f..1f0164e07 100644 --- a/test_regress/t/t_strength_assignments_constants.v +++ b/test_regress/t/t_strength_assignments_constants.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire a; assign (weak0, weak1) a = 1; assign (weak0, supply1) a = 1; diff --git a/test_regress/t/t_strength_bufif1.v b/test_regress/t/t_strength_bufif1.v index 0a78b107c..51984da31 100644 --- a/test_regress/t/t_strength_bufif1.v +++ b/test_regress/t/t_strength_bufif1.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire a; bufif1 (strong0, strong1) (a, 1'b1, 1'b1); diff --git a/test_regress/t/t_strength_highz.v b/test_regress/t/t_strength_highz.v index 340723aba..723b23e8d 100644 --- a/test_regress/t/t_strength_highz.v +++ b/test_regress/t/t_strength_highz.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire (weak0, highz1) a = 1; wire (strong1, highz0) b = 0; wire (highz0, pull1) c = 0; diff --git a/test_regress/t/t_strength_strong1_strong1_bad.v b/test_regress/t/t_strength_strong1_strong1_bad.v index ab84216cc..b4308138f 100644 --- a/test_regress/t/t_strength_strong1_strong1_bad.v +++ b/test_regress/t/t_strength_strong1_strong1_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire (strong1, strong1) a = 1; initial begin $stop; diff --git a/test_regress/t/t_string_byte.v b/test_regress/t/t_string_byte.v index f7170e088..fa289507d 100644 --- a/test_regress/t/t_string_byte.v +++ b/test_regress/t/t_string_byte.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; // Unpacked byte from string IEEE 1800-2023 5.9 byte bh[3:0] = "hi2"; diff --git a/test_regress/t/t_string_sel.v b/test_regress/t/t_string_sel.v index acf7478e9..969d5a726 100644 --- a/test_regress/t/t_string_sel.v +++ b/test_regress/t/t_string_sel.v @@ -18,7 +18,7 @@ class c; endfunction endclass -module t (/*AUTOARG*/); +module t; string str = "bar"; function string get_str(); diff --git a/test_regress/t/t_string_type_methods_bad.v b/test_regress/t/t_string_type_methods_bad.v index ca6f819e7..c355e93b5 100644 --- a/test_regress/t/t_string_type_methods_bad.v +++ b/test_regress/t/t_string_type_methods_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2014 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; string s; integer i; diff --git a/test_regress/t/t_struct_assign.v b/test_regress/t/t_struct_assign.v index 75939c37b..1c54ef06c 100644 --- a/test_regress/t/t_struct_assign.v +++ b/test_regress/t/t_struct_assign.v @@ -4,7 +4,7 @@ // without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef struct { int fst, snd; } pair_t; diff --git a/test_regress/t/t_struct_contents.v b/test_regress/t/t_struct_contents.v index 1fe6f8a04..3bd2113a2 100644 --- a/test_regress/t/t_struct_contents.v +++ b/test_regress/t/t_struct_contents.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; typedef enum logic [1:0] { ZERO, ONE } enum_t; diff --git a/test_regress/t/t_struct_contents_bad.v b/test_regress/t/t_struct_contents_bad.v index b31734a07..c8efa323d 100644 --- a/test_regress/t/t_struct_contents_bad.v +++ b/test_regress/t/t_struct_contents_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; typedef enum logic [1:0] { ZERO, ONE } enum_t; diff --git a/test_regress/t/t_struct_nest_uarray.v b/test_regress/t/t_struct_nest_uarray.v index a1884398e..3556b33d5 100644 --- a/test_regress/t/t_struct_nest_uarray.v +++ b/test_regress/t/t_struct_nest_uarray.v @@ -15,7 +15,7 @@ typedef struct { } el[1]; } pstr_t; -module t (/*AUTOARG*/); +module t; typedef struct { struct { diff --git a/test_regress/t/t_struct_notfound_bad.v b/test_regress/t/t_struct_notfound_bad.v index bf264fe38..f56c9a3a4 100644 --- a/test_regress/t/t_struct_notfound_bad.v +++ b/test_regress/t/t_struct_notfound_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2012 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef struct packed { bit m; } struct_t; struct_t s; diff --git a/test_regress/t/t_struct_packed_init_bad.v b/test_regress/t/t_struct_packed_init_bad.v index 98d81d2f0..00b4f4d42 100644 --- a/test_regress/t/t_struct_packed_init_bad.v +++ b/test_regress/t/t_struct_packed_init_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; parameter P = 4'h5; diff --git a/test_regress/t/t_struct_pat.v b/test_regress/t/t_struct_pat.v index 7b9660935..c393fd664 100644 --- a/test_regress/t/t_struct_pat.v +++ b/test_regress/t/t_struct_pat.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; typedef struct { int a; diff --git a/test_regress/t/t_struct_type_bad.v b/test_regress/t/t_struct_type_bad.v index 8bda6e66d..0993aa7fc 100644 --- a/test_regress/t/t_struct_type_bad.v +++ b/test_regress/t/t_struct_type_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2012 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; int i; diff --git a/test_regress/t/t_struct_unpacked_init.v b/test_regress/t/t_struct_unpacked_init.v index 5518ab9e3..4c5c43d8f 100644 --- a/test_regress/t/t_struct_unpacked_init.v +++ b/test_regress/t/t_struct_unpacked_init.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; parameter P = 4'h5; diff --git a/test_regress/t/t_sys_delta_monitor.v b/test_regress/t/t_sys_delta_monitor.v index 69ef3982f..829c21385 100644 --- a/test_regress/t/t_sys_delta_monitor.v +++ b/test_regress/t/t_sys_delta_monitor.v @@ -3,7 +3,7 @@ // This file ONLY is placed under the Creative Commons Public Domain, for // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; logic [31:0] tmp; logic [31:0] tmp2; logic [31:0] tmp3; diff --git a/test_regress/t/t_tagged.v b/test_regress/t/t_tagged.v index 6a8f5375f..23637250c 100644 --- a/test_regress/t/t_tagged.v +++ b/test_regress/t/t_tagged.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; typedef union tagged { void m_invalid; diff --git a/test_regress/t/t_timing_clkgen1.v b/test_regress/t/t_timing_clkgen1.v index 12cc19a41..d1560f205 100644 --- a/test_regress/t/t_timing_clkgen1.v +++ b/test_regress/t/t_timing_clkgen1.v @@ -13,7 +13,7 @@ module clkgen(output bit clk); end endmodule -module t(/*AUTOARG*/); +module t; wire logic clk; clkgen clkgen (.clk); diff --git a/test_regress/t/t_timing_func_bad.v b/test_regress/t/t_timing_func_bad.v index 0e8f13b78..1fe88b211 100644 --- a/test_regress/t/t_timing_func_bad.v +++ b/test_regress/t/t_timing_func_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; function int f1; #1 $stop; diff --git a/test_regress/t/t_timing_func_fork.v b/test_regress/t/t_timing_func_fork.v index 898c680d6..60888a89a 100644 --- a/test_regress/t/t_timing_func_fork.v +++ b/test_regress/t/t_timing_func_fork.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; function int f1; fork begin diff --git a/test_regress/t/t_timing_func_fork_bad.v b/test_regress/t/t_timing_func_fork_bad.v index 67c2d6455..bbb7aefd9 100644 --- a/test_regress/t/t_timing_func_fork_bad.v +++ b/test_regress/t/t_timing_func_fork_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Antmicro. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; function int f1(output int o1); fork begin diff --git a/test_regress/t/t_timing_func_join.v b/test_regress/t/t_timing_func_join.v index e8b6b6816..ad8111232 100644 --- a/test_regress/t/t_timing_func_join.v +++ b/test_regress/t/t_timing_func_join.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; function int fun(int val); fork $display("abc"); diff --git a/test_regress/t/t_timing_reentry.v b/test_regress/t/t_timing_reentry.v index c3a7bb16d..209aa6011 100644 --- a/test_regress/t/t_timing_reentry.v +++ b/test_regress/t/t_timing_reentry.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; event a, b; int order = 0; diff --git a/test_regress/t/t_timing_strobe.v b/test_regress/t/t_timing_strobe.v index bc69c89e1..f3ddfbca5 100644 --- a/test_regress/t/t_timing_strobe.v +++ b/test_regress/t/t_timing_strobe.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; event e1; event e2; diff --git a/test_regress/t/t_trace_binary.v b/test_regress/t/t_trace_binary.v index b25c30841..8534536f5 100644 --- a/test_regress/t/t_trace_binary.v +++ b/test_regress/t/t_trace_binary.v @@ -6,7 +6,7 @@ `define STRINGIFY(x) `"x`" -module t(/*AUTOARG*/); +module t; int sig; initial begin sig = 10; diff --git a/test_regress/t/t_trace_dumporder_bad.v b/test_regress/t/t_trace_dumporder_bad.v index 9eea149ee..e6715ab83 100644 --- a/test_regress/t/t_trace_dumporder_bad.v +++ b/test_regress/t/t_trace_dumporder_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin // Check error when this missing: $dumpfile("/should/not/be/opened"); $dumpvars; diff --git a/test_regress/t/t_trace_event.v b/test_regress/t/t_trace_event.v index 64950188b..c6f471bf7 100644 --- a/test_regress/t/t_trace_event.v +++ b/test_regress/t/t_trace_event.v @@ -6,7 +6,7 @@ `define STRINGIFY(x) `"x`" -module t(/*AUTOARG*/); +module t; event ev_test; diff --git a/test_regress/t/t_trace_flag_off.v b/test_regress/t/t_trace_flag_off.v index dc9079720..50319e6f6 100644 --- a/test_regress/t/t_trace_flag_off.v +++ b/test_regress/t/t_trace_flag_off.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin $dumpfile("/should/not/be/opened"); $dumpvars(); diff --git a/test_regress/t/t_trace_noflag_bad.v b/test_regress/t/t_trace_noflag_bad.v index fc9beb176..a5a2b8e9b 100644 --- a/test_regress/t/t_trace_noflag_bad.v +++ b/test_regress/t/t_trace_noflag_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; int i; initial begin i = 10; diff --git a/test_regress/t/t_trace_param_override.v b/test_regress/t/t_trace_param_override.v index fb5798f0a..627cf285a 100644 --- a/test_regress/t/t_trace_param_override.v +++ b/test_regress/t/t_trace_param_override.v @@ -9,7 +9,7 @@ module t #( parameter int POVERRODE = 16, parameter int PORIG = 16 - ) (/*AUTOARG*/); + ); initial begin $dumpfile(`STRINGIFY(`TEST_DUMPFILE)); diff --git a/test_regress/t/t_trace_timing1.v b/test_regress/t/t_trace_timing1.v index 57afab182..51afa7871 100644 --- a/test_regress/t/t_trace_timing1.v +++ b/test_regress/t/t_trace_timing1.v @@ -6,7 +6,7 @@ `define STRINGIFY(x) `"x`" -module t(/*AUTOARG*/); +module t; localparam CLOCK_CYCLE = 10; diff --git a/test_regress/t/t_tri_pull_implicit.v b/test_regress/t/t_tri_pull_implicit.v index c0c45e4d6..5f15c006f 100644 --- a/test_regress/t/t_tri_pull_implicit.v +++ b/test_regress/t/t_tri_pull_implicit.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // verilator lint_off IMPLICIT pulldown (pd); diff --git a/test_regress/t/t_tri_select_eqcase.v b/test_regress/t/t_tri_select_eqcase.v index c70688c0f..e2b33fb83 100644 --- a/test_regress/t/t_tri_select_eqcase.v +++ b/test_regress/t/t_tri_select_eqcase.v @@ -4,7 +4,7 @@ // any use, without warranty, 2022 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire [3:0] a = 4'b11z1; logic b = 1'bz === a[1]; logic c = 1'bz === a[2]; diff --git a/test_regress/t/t_type.v b/test_regress/t/t_type.v index b5f6c2e7f..e48807d5d 100644 --- a/test_regress/t/t_type.v +++ b/test_regress/t/t_type.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; real x; real y; diff --git a/test_regress/t/t_type_array.v b/test_regress/t/t_type_array.v index e2b7ac40e..2c38d64b2 100644 --- a/test_regress/t/t_type_array.v +++ b/test_regress/t/t_type_array.v @@ -4,7 +4,7 @@ // any use, without warranty, 2025 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; typedef int arr_t [5]; arr_t arr; diff --git a/test_regress/t/t_typedef_no_bad.v b/test_regress/t/t_typedef_no_bad.v index 61cc81209..11da87f92 100644 --- a/test_regress/t/t_typedef_no_bad.v +++ b/test_regress/t/t_typedef_no_bad.v @@ -6,6 +6,6 @@ typedef sometype; -module t(/*AUTOARG*/); +module t; sometype p; endmodule diff --git a/test_regress/t/t_typedef_package.v b/test_regress/t/t_typedef_package.v index d3ce84cca..ae40ba79b 100644 --- a/test_regress/t/t_typedef_package.v +++ b/test_regress/t/t_typedef_package.v @@ -15,7 +15,7 @@ package pkg2; } opts; endpackage -module t (/*AUTOARG*/); +module t; initial begin $display("%d", pkg2::a); $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_typename.v b/test_regress/t/t_typename.v index ea6c2d088..6ba9f4930 100644 --- a/test_regress/t/t_typename.v +++ b/test_regress/t/t_typename.v @@ -27,7 +27,7 @@ import A::*; // AB_t AB[10]; // "struct{bit A;bit B;}top.AB_t$[0:9]" // endmodule -module t(/*AUTOARG*/); +module t; real r; logic l; diff --git a/test_regress/t/t_udp_bad.v b/test_regress/t/t_udp_bad.v index a17fa461d..d61212c02 100644 --- a/test_regress/t/t_udp_bad.v +++ b/test_regress/t/t_udp_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2009 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire a, b; udp_x x (a, b); diff --git a/test_regress/t/t_union_hard_bad.v b/test_regress/t/t_union_hard_bad.v index b21a31a49..2322a39e6 100644 --- a/test_regress/t/t_union_hard_bad.v +++ b/test_regress/t/t_union_hard_bad.v @@ -5,7 +5,7 @@ // SPDX-License-Identifier: CC0-1.0 module t - (/*AUTOARG*/); +; union packed { bit [7 : 0] val1; diff --git a/test_regress/t/t_union_soft.v b/test_regress/t/t_union_soft.v index f5f3e5db2..f926fc432 100644 --- a/test_regress/t/t_union_soft.v +++ b/test_regress/t/t_union_soft.v @@ -4,7 +4,7 @@ // any use, without warranty, 2024 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; union soft { bit [7:0] val1; diff --git a/test_regress/t/t_union_unpacked.v b/test_regress/t/t_union_unpacked.v index 1cc8d341b..817e69541 100644 --- a/test_regress/t/t_union_unpacked.v +++ b/test_regress/t/t_union_unpacked.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; union { bit [7:0] val1; diff --git a/test_regress/t/t_unpacked_array_p_fmt.v b/test_regress/t/t_unpacked_array_p_fmt.v index 64ee8a33a..da364084c 100644 --- a/test_regress/t/t_unpacked_array_p_fmt.v +++ b/test_regress/t/t_unpacked_array_p_fmt.v @@ -4,7 +4,7 @@ // without warranty, 2023 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; reg arr [15:0]; reg mat [3:0] [3:0]; diff --git a/test_regress/t/t_unpacked_concat.v b/test_regress/t/t_unpacked_concat.v index f1ca793b5..fe1b06ddb 100644 --- a/test_regress/t/t_unpacked_concat.v +++ b/test_regress/t/t_unpacked_concat.v @@ -4,7 +4,7 @@ // without warranty, 2023 by Yutetsu TAKATSUKASA. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef int ai3_t[1:3]; ai3_t a3; diff --git a/test_regress/t/t_unpacked_concat_bad.v b/test_regress/t/t_unpacked_concat_bad.v index bcd1780cc..3e947f5f9 100644 --- a/test_regress/t/t_unpacked_concat_bad.v +++ b/test_regress/t/t_unpacked_concat_bad.v @@ -4,7 +4,7 @@ // without warranty, 2019 by Driss Hafdi. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; typedef logic [15:0] count_t; typedef bit [31:0] bit_int_t; diff --git a/test_regress/t/t_unpacked_concat_bad2.v b/test_regress/t/t_unpacked_concat_bad2.v index c487916f3..8f40928ec 100644 --- a/test_regress/t/t_unpacked_concat_bad2.v +++ b/test_regress/t/t_unpacked_concat_bad2.v @@ -4,7 +4,7 @@ // without warranty, 2023 by Yutetsu TAKATSUKASA. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; logic [7:0] s0; logic [7:0] s1[1:2]; diff --git a/test_regress/t/t_unpacked_concat_bad3.v b/test_regress/t/t_unpacked_concat_bad3.v index 1efdb08a5..abc818c05 100644 --- a/test_regress/t/t_unpacked_concat_bad3.v +++ b/test_regress/t/t_unpacked_concat_bad3.v @@ -4,7 +4,7 @@ // without warranty, 2019 by Driss Hafdi. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; localparam logic [7:0] TOO_FEW [5] = '{0, 1, 2**8-1}; // Bad diff --git a/test_regress/t/t_unpacked_init.v b/test_regress/t/t_unpacked_init.v index e9d052a51..6a09955a7 100644 --- a/test_regress/t/t_unpacked_init.v +++ b/test_regress/t/t_unpacked_init.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; int a1[2] = '{12, 13}; int a2[2] = {14, 15}; diff --git a/test_regress/t/t_unpacked_slice.v b/test_regress/t/t_unpacked_slice.v index b4a506145..5a899733e 100644 --- a/test_regress/t/t_unpacked_slice.v +++ b/test_regress/t/t_unpacked_slice.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; parameter int sliceddn[4:-3] = '{'h100, 'h101, 'h102, 'h103, 'h104, 'h105, 'h106, 'h107}; parameter int slicedup[-3:4] = '{'h100, 'h101, 'h102, 'h103, 'h104, 'h105, 'h106, 'h107}; diff --git a/test_regress/t/t_unpacked_str_init2.v b/test_regress/t/t_unpacked_str_init2.v index 3d31cb54d..ea164825f 100644 --- a/test_regress/t/t_unpacked_str_init2.v +++ b/test_regress/t/t_unpacked_str_init2.v @@ -6,7 +6,7 @@ // issue2895 -module t (/*AUTOARG*/); +module t; localparam string REG_X [0:31] = '{"zero", "ra", "sp", "gp", "tp", "t0", "t1", "t2", "s0/fp", "s1", "a0", "a1", diff --git a/test_regress/t/t_unpacked_struct_sel.v b/test_regress/t/t_unpacked_struct_sel.v index b9e410d5b..acdfcc328 100644 --- a/test_regress/t/t_unpacked_struct_sel.v +++ b/test_regress/t/t_unpacked_struct_sel.v @@ -8,7 +8,7 @@ typedef struct { bit [3:0] byte_en; } my_struct; -module t (/*AUTOARG*/); +module t; initial begin my_struct ms; ms.byte_en[0] = 1; diff --git a/test_regress/t/t_unroll_delay.v b/test_regress/t/t_unroll_delay.v index 70cc6d5f0..778e99980 100644 --- a/test_regress/t/t_unroll_delay.v +++ b/test_regress/t/t_unroll_delay.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; integer i; integer j; diff --git a/test_regress/t/t_unroll_genf.v b/test_regress/t/t_unroll_genf.v index 3d89bdeb9..d1c0b459f 100644 --- a/test_regress/t/t_unroll_genf.v +++ b/test_regress/t/t_unroll_genf.v @@ -14,7 +14,7 @@ function integer cdiv(input integer x); end endfunction -module t (/*AUTOARG*/); +module t; genvar j; generate diff --git a/test_regress/t/t_unroll_pragma.v b/test_regress/t/t_unroll_pragma.v index c57af7909..ac8381298 100644 --- a/test_regress/t/t_unroll_pragma.v +++ b/test_regress/t/t_unroll_pragma.v @@ -12,7 +12,7 @@ `define PRAGMA `endif -module t (/*AUTOARG*/); +module t; int i, j; diff --git a/test_regress/t/t_urandom.v b/test_regress/t/t_urandom.v index 99285b5c8..e8a1bc5c6 100644 --- a/test_regress/t/t_urandom.v +++ b/test_regress/t/t_urandom.v @@ -9,7 +9,7 @@ // function int unsigned $urandom_range( int unsigned maxval, // int unsigned minval = 0 ); -module t(/*AUTOARG*/); +module t; `ifndef VERILATOR `define PROC `endif diff --git a/test_regress/t/t_uvm_all.v b/test_regress/t/t_uvm_all.v index 8ecaba7ed..e3b6a54ee 100644 --- a/test_regress/t/t_uvm_all.v +++ b/test_regress/t/t_uvm_all.v @@ -8,7 +8,7 @@ `include "uvm_pkg_all.svh" -module t(/*AUTOARG*/); +module t; initial begin $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_uvm_todo.v b/test_regress/t/t_uvm_todo.v index e77550344..a106a02cc 100644 --- a/test_regress/t/t_uvm_todo.v +++ b/test_regress/t/t_uvm_todo.v @@ -8,7 +8,7 @@ `include "uvm_pkg_todo.svh" -module t(/*AUTOARG*/); +module t; initial begin $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_vams_basic.v b/test_regress/t/t_vams_basic.v index 624eb2bb5..e805206fd 100644 --- a/test_regress/t/t_vams_basic.v +++ b/test_regress/t/t_vams_basic.v @@ -6,7 +6,7 @@ `begin_keywords "VAMS-2.3" -module t (/*AUTOARG*/); +module t; task check (integer line, real got, real expec); real delta; diff --git a/test_regress/t/t_vams_kwd_bad.v b/test_regress/t/t_vams_kwd_bad.v index 822d68bd8..e21f9889a 100644 --- a/test_regress/t/t_vams_kwd_bad.v +++ b/test_regress/t/t_vams_kwd_bad.v @@ -6,7 +6,7 @@ `begin_keywords "VAMS-2.3" -module t (/*AUTOARG*/); +module t; // Just get errors on bad keywords (for code coverage) int above; diff --git a/test_regress/t/t_var_dotted2.v b/test_regress/t/t_var_dotted2.v index ca34202a5..b15546752 100644 --- a/test_regress/t/t_var_dotted2.v +++ b/test_regress/t/t_var_dotted2.v @@ -10,7 +10,7 @@ `define INLINE_MODULE /*verilator public_module*/ `endif -module t (/*AUTOARG*/); +module t; `define DRAM1(bank) mem.mem_bank[bank].dccm.dccm_bank.ram_core `define DRAM2(bank) mem.mem_bank2[bank].dccm.dccm_bank.ram_core diff --git a/test_regress/t/t_var_dotted_dup_bad.v b/test_regress/t/t_var_dotted_dup_bad.v index a4e3eba44..e4a4eff8a 100644 --- a/test_regress/t/t_var_dotted_dup_bad.v +++ b/test_regress/t/t_var_dotted_dup_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; generate begin diff --git a/test_regress/t/t_var_notfound_bad.v b/test_regress/t/t_var_notfound_bad.v index 34580ad38..c0fae653b 100644 --- a/test_regress/t/t_var_notfound_bad.v +++ b/test_regress/t/t_var_notfound_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2012 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; integer i; integer a_var; diff --git a/test_regress/t/t_var_ref_bad1.v b/test_regress/t/t_var_ref_bad1.v index 1cc34567e..20149514b 100644 --- a/test_regress/t/t_var_ref_bad1.v +++ b/test_regress/t/t_var_ref_bad1.v @@ -7,7 +7,7 @@ // Make sure type errors aren't suppressable // verilator lint_off WIDTH -module t(/*AUTOARG*/); +module t; bit bad_parent; sub sub diff --git a/test_regress/t/t_var_ref_bad2.v b/test_regress/t/t_var_ref_bad2.v index c6ce5e267..307880832 100644 --- a/test_regress/t/t_var_ref_bad2.v +++ b/test_regress/t/t_var_ref_bad2.v @@ -7,7 +7,7 @@ // Make sure type errors aren't suppressable // verilator lint_off WIDTH -module t(/*AUTOARG*/); +module t; task checkset(const ref int bad_const_set); bad_const_set = 32'h4567; // Bad setting const diff --git a/test_regress/t/t_var_ref_bad3.out b/test_regress/t/t_var_ref_bad3.out index d71495978..9734599c6 100644 --- a/test_regress/t/t_var_ref_bad3.out +++ b/test_regress/t/t_var_ref_bad3.out @@ -1,5 +1,5 @@ %Error-UNSUPPORTED: t/t_var_ref_bad3.v:10:18: Unsupported: ref/const ref as primary input/output: 'bad_primary_ref' - 10 | module t(ref int bad_primary_ref + 10 | module t(ref int bad_primary_ref); | ^~~~~~~~~~~~~~~ ... For error description see https://verilator.org/warn/UNSUPPORTED?v=latest %Error: Exiting due to diff --git a/test_regress/t/t_var_ref_bad3.v b/test_regress/t/t_var_ref_bad3.v index 36db55697..f6fc60143 100644 --- a/test_regress/t/t_var_ref_bad3.v +++ b/test_regress/t/t_var_ref_bad3.v @@ -7,6 +7,5 @@ // Make sure type errors aren't suppressable // verilator lint_off WIDTH -module t(ref int bad_primary_ref - /*AUTOARG*/); +module t(ref int bad_primary_ref); endmodule diff --git a/test_regress/t/t_var_static_param.v b/test_regress/t/t_var_static_param.v index ba1fc3aca..72b989329 100644 --- a/test_regress/t/t_var_static_param.v +++ b/test_regress/t/t_var_static_param.v @@ -7,7 +7,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0) -module t (/*AUTOARG*/); +module t; sub #(.P(1)) suba (); sub #(.P(10)) subb (); diff --git a/test_regress/t/t_var_types.v b/test_regress/t/t_var_types.v index cde93080b..40d05d94e 100644 --- a/test_regress/t/t_var_types.v +++ b/test_regress/t/t_var_types.v @@ -4,7 +4,7 @@ // any use, without warranty, 2009 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // IEEE: integer_atom_type byte d_byte; diff --git a/test_regress/t/t_var_types_bad.v b/test_regress/t/t_var_types_bad.v index 7d6341d33..2f307d898 100644 --- a/test_regress/t/t_var_types_bad.v +++ b/test_regress/t/t_var_types_bad.v @@ -4,7 +4,7 @@ // any use, without warranty, 2009 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; // IEEE: integer_atom_type byte d_byte; diff --git a/test_regress/t/t_verilated_header.v b/test_regress/t/t_verilated_header.v index bb8213275..0081c4644 100644 --- a/test_regress/t/t_verilated_header.v +++ b/test_regress/t/t_verilated_header.v @@ -6,7 +6,7 @@ `include "verilated.v" -module t (/*AUTOARG*/); +module t; initial begin `verilator_file_descriptor i; diff --git a/test_regress/t/t_virtual_interface_method.v b/test_regress/t/t_virtual_interface_method.v index 886e20e2c..28e8c6003 100644 --- a/test_regress/t/t_virtual_interface_method.v +++ b/test_regress/t/t_virtual_interface_method.v @@ -108,7 +108,7 @@ interface example_if(); endtask: wait_for_result endinterface: example_if -module t(/*AUTOARG*/); +module t; example_if example_if_inst(); diff --git a/test_regress/t/t_virtual_interface_method_bad.v b/test_regress/t/t_virtual_interface_method_bad.v index 972d60943..3b789011a 100644 --- a/test_regress/t/t_virtual_interface_method_bad.v +++ b/test_regress/t/t_virtual_interface_method_bad.v @@ -22,7 +22,7 @@ interface example_if(); logic[7:0] x; endinterface: example_if -module t(/*AUTOARG*/); +module t; example_if example_if_inst(); diff --git a/test_regress/t/t_vpi_finish.v b/test_regress/t/t_vpi_finish.v index 4b211d63c..dcde332c8 100644 --- a/test_regress/t/t_vpi_finish.v +++ b/test_regress/t/t_vpi_finish.v @@ -6,7 +6,7 @@ // Version 2.0. // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 -module t (/*AUTOARG*/); +module t; import "DPI-C" function void dpii_test(); diff --git a/test_regress/t/t_vpi_release_dup_bad.v b/test_regress/t/t_vpi_release_dup_bad.v index 1ba1097e0..7a54f1b06 100644 --- a/test_regress/t/t_vpi_release_dup_bad.v +++ b/test_regress/t/t_vpi_release_dup_bad.v @@ -6,7 +6,7 @@ import "DPI-C" context function void dpii_check(); -module t (/*AUTOARG*/); +module t; initial begin dpii_check(); $write("*-* All Finished *-*\n"); diff --git a/test_regress/t/t_vpi_stop_bad.v b/test_regress/t/t_vpi_stop_bad.v index 655f52880..4028992ff 100644 --- a/test_regress/t/t_vpi_stop_bad.v +++ b/test_regress/t/t_vpi_stop_bad.v @@ -6,7 +6,7 @@ // Version 2.0. // SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 -module t (/*AUTOARG*/); +module t; import "DPI-C" function void dpii_test(); diff --git a/test_regress/t/t_wait.v b/test_regress/t/t_wait.v index ce59deadc..91a271a86 100644 --- a/test_regress/t/t_wait.v +++ b/test_regress/t/t_wait.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; int value; diff --git a/test_regress/t/t_wait_const.v b/test_regress/t/t_wait_const.v index 69e5de16e..a1972bb22 100644 --- a/test_regress/t/t_wait_const.v +++ b/test_regress/t/t_wait_const.v @@ -4,7 +4,7 @@ // any use, without warranty, 2023 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; initial begin // This test is separate from t_wait.v because we needed a process with diff --git a/test_regress/t/t_wait_fork.v b/test_regress/t/t_wait_fork.v index 65fbff20a..159087ffa 100644 --- a/test_regress/t/t_wait_fork.v +++ b/test_regress/t/t_wait_fork.v @@ -4,7 +4,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t(/*AUTOARG*/); +module t; logic never; diff --git a/test_regress/t/t_wait_order.v b/test_regress/t/t_wait_order.v index 9986d87e9..910454ade 100644 --- a/test_regress/t/t_wait_order.v +++ b/test_regress/t/t_wait_order.v @@ -7,7 +7,7 @@ `define stop $stop `define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t(/*AUTOARG*/); +module t; event a, b, c; bit wif[10], welse[10]; diff --git a/test_regress/t/t_wire_self_bad.v b/test_regress/t/t_wire_self_bad.v index be5c1b5ee..a35cad9c4 100644 --- a/test_regress/t/t_wire_self_bad.v +++ b/test_regress/t/t_wire_self_bad.v @@ -6,7 +6,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; wire myself = myself; diff --git a/test_regress/t/t_wire_trireg_unsup.v b/test_regress/t/t_wire_trireg_unsup.v index 45ba915e4..1f24693bb 100644 --- a/test_regress/t/t_wire_trireg_unsup.v +++ b/test_regress/t/t_wire_trireg_unsup.v @@ -6,7 +6,7 @@ // any use, without warranty, 2025 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; trireg unsup; diff --git a/test_regress/t/t_with.v b/test_regress/t/t_with.v index 64f6485c5..fc2dd928a 100644 --- a/test_regress/t/t_with.v +++ b/test_regress/t/t_with.v @@ -9,7 +9,7 @@ `define stop $stop `define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got='h%x exp='h%x\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0); -module t (/*AUTOARG*/); +module t; initial begin int tofind; diff --git a/test_regress/t/t_with_suggest_bad.v b/test_regress/t/t_with_suggest_bad.v index 144f18dbb..3d7a4f77a 100644 --- a/test_regress/t/t_with_suggest_bad.v +++ b/test_regress/t/t_with_suggest_bad.v @@ -6,7 +6,7 @@ // any use, without warranty, 2020 by Wilson Snyder. // SPDX-License-Identifier: CC0-1.0 -module t (/*AUTOARG*/); +module t; initial begin int q[$];