Tests: Remove unneeded AUTOARGS. No test change.
This commit is contained in:
parent
62d403c060
commit
907047d823
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
// bug1071
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
reg [3:0] array_1 [2:0];
|
||||
reg [3:0] array_2 [2:0];
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//bug991
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
typedef struct {
|
||||
logic [31:0] arr [3:0];
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class Cls;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
Cls cls;
|
||||
int array[10];
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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 = "%%";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
|
|
|
|||
|
|
@ -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};
|
||||
|
|
|
|||
|
|
@ -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[$];
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class Cls;
|
|||
integer imemberb;
|
||||
endclass : Cls
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
initial begin
|
||||
string a [*];
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ class Cls;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t(/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
Cls c;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class BasedB extends Base;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
int i;
|
||||
int a;
|
||||
int ao;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ class Other;
|
|||
endclass
|
||||
enum { ZERO } e;
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
int i;
|
||||
int v;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ endclass
|
|||
class ExbaseB extends Base;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
int i;
|
||||
|
||||
Base b;
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class Cls;
|
|||
int imemberb;
|
||||
endclass : Cls
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
typedef Cls Cls2;
|
||||
|
||||
initial begin
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ endclass
|
|||
|
||||
typedef Cls2 cls2_t;
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
Cls c;
|
||||
Cls2 c2;
|
||||
cls2_t ct2;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class ExtendExtendCls extends ExtendCls;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
typedef ExtendCls ExtendCls_t;
|
||||
|
||||
initial begin
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ endclass
|
|||
class ExtCls1;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
Cls1 c1;
|
||||
Cls2 c2;
|
||||
ExtCls1 ext_c1;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ class Cls;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Cls c;
|
||||
end
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ module Modmixed;
|
|||
int M;
|
||||
endmodule
|
||||
|
||||
module t(/*AUTOARG*/);
|
||||
module t;
|
||||
// verilator no_inline_module
|
||||
|
||||
ModMixed modMixed();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class Cls;
|
|||
bit x = 1;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
Cls obj1;
|
||||
Cls obj2;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class Cls;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
int dict[Cls];
|
||||
Cls c1 = new(1);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@ endclass
|
|||
class Cls extends Base1, Base2;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
endmodule
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ endpackage
|
|||
class Cls12 extends Pkg::Icls1;
|
||||
endclass
|
||||
|
||||
module t(/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
Cls12 cp12;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ endclass
|
|||
class Cls2 extends Pkg::NotFound2; // BAD: not found
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
endmodule
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
class Foo#(type T = logic) extends T;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
$write("*-* All Finished *-*\n");
|
||||
$finish;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,6 @@ class RecursiveExtCls extends RecursiveExtCls;
|
|||
int i;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
RecursiveExtCls cls = new;
|
||||
endmodule
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ class Cls extends Base;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Cls c;
|
||||
c = new;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class Cls extends Base;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Cls c;
|
||||
c = new;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class Cls;
|
|||
int queue;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
initial begin
|
||||
Cls cls = new;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class Cls;
|
|||
endtask
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Cls c;
|
||||
c = new;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ class ClsB;
|
|||
endclass
|
||||
endpackage
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
P::ClsA ca;
|
||||
P::ClsB cb;
|
||||
initial begin
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ endclass
|
|||
|
||||
endpackage
|
||||
|
||||
module t(/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
initial begin
|
||||
uvm_pkg::uvm_reg_field c = new;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ function Cls_report_object get_report_object;
|
|||
return c;
|
||||
endfunction
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
string s;
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class Cls;
|
|||
endtask
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
function int mod_fi();
|
||||
return 10;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class AnotherExtendCls extends Cls;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Cls cls = new;
|
||||
ExtendCls ext_cls = new;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class Ext extends Cls;
|
|||
endtask
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Cls c;
|
||||
Ext e;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class NodeList;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t(/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
NodeList n = new;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -19,5 +19,5 @@ class ClsDup;
|
|||
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
endmodule
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class Cls;
|
|||
endclass
|
||||
endmodule
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
string s;
|
||||
|
||||
initial begin
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ endclass
|
|||
endfunction
|
||||
endmodule
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
string s;
|
||||
|
||||
M m();
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class Outer;
|
|||
endclass
|
||||
|
||||
|
||||
module t(/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
NodeList n = new;
|
||||
NodeList::Node n1 = new;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class Cls2Arg;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
ClsNoArg c1;
|
||||
ClsArg c2;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class ClsArg;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
ClsNoArg c1;
|
||||
ClsNoNew c2;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ endclass
|
|||
function ClsDefFwd::new(default);
|
||||
endfunction
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
// TODO real test
|
||||
$stop;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class Cls extends Base;
|
|||
|
||||
endclass
|
||||
|
||||
module t(/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
initial begin
|
||||
Base b = Cls::generate_txn();
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class ClsParam #(int ADD = 100) extends Base;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Base b;
|
||||
ClsNoArg c1;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class Testcase implements ICls;
|
|||
endfunction
|
||||
endclass
|
||||
|
||||
module t(/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
initial begin
|
||||
Testcase test;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ endclass
|
|||
class :final CClsF extends CBase;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Cls c;
|
||||
CClsF cc;
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ endclass
|
|||
class :final CClsBadExtendsFinal extends CClsF;
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
Cls c;
|
||||
CClsF cc;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ package pkgb;
|
|||
endclass
|
||||
endpackage
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
initial begin
|
||||
pkga::MyClass a;
|
||||
pkgb::MyClass b;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
class Cls #(type PARAMB);
|
||||
endclass
|
||||
|
||||
module t (/*AUTOARG*/);
|
||||
module t;
|
||||
|
||||
Cls c; // Missing type param
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue