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.
|
// any use, without warranty, 2017 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
logic [31:0] array_assign [3:0];
|
logic [31:0] array_assign [3:0];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
// bug1071
|
// bug1071
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
reg [3:0] array_1 [2:0];
|
reg [3:0] array_1 [2:0];
|
||||||
reg [3:0] array_2 [2:0];
|
reg [3:0] array_2 [2:0];
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
//bug991
|
//bug991
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
logic [31:0] arr [3:0];
|
logic [31:0] arr [3:0];
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2020 by Wilson Snyder.
|
// any use, without warranty, 2020 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
string test_string = "abcd";
|
string test_string = "abcd";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ class Cls;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
Cls cls;
|
Cls cls;
|
||||||
int array[10];
|
int array[10];
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
`define stop $stop
|
`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);
|
`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
|
initial begin
|
||||||
int res[];
|
int res[];
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
//bug991
|
//bug991
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
logic [31:0] array_assign [3:0];
|
logic [31:0] array_assign [3:0];
|
||||||
logic [31:0] array_other [3:0];
|
logic [31:0] array_other [3:0];
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// without warranty, 2009 by Iztok Jeras.
|
// without warranty, 2009 by Iztok Jeras.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
logic [3:0] array_simp [1:0] [3:0]; // descending range array
|
logic [3:0] array_simp [1:0] [3:0]; // descending range array
|
||||||
wire [2:0] array_wire [1:0] = '{3'd1, 3'd2};
|
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 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);
|
`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] foo [1:0];
|
||||||
logic [3:0] fooe [1:0];
|
logic [3:0] fooe [1:0];
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2007 by Wilson Snyder.
|
// any use, without warranty, 2007 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
localparam TEN = 10;
|
localparam TEN = 10;
|
||||||
localparam string PCTPCT = "%%";
|
localparam string PCTPCT = "%%";
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
`define stop $stop
|
`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);
|
`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 a;
|
||||||
int b;
|
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);
|
`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;
|
typedef struct { int x, y; } point;
|
||||||
|
|
||||||
function automatic int vec_len_squared(point p);
|
function automatic int vec_len_squared(point p);
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2019 by Wilson Snyder.
|
// any use, without warranty, 2019 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
string a [string];
|
string a [string];
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
`define stop $stop
|
`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);
|
`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
|
initial begin
|
||||||
int res[];
|
int res[];
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
// any use, without warranty, 2024 by Wilson Snyder.
|
// any use, without warranty, 2024 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
int dict[string] = '{1, 2};
|
int dict[string] = '{1, 2};
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ class Wrapper#(type VAL_T=int);
|
||||||
VAL_T value;
|
VAL_T value;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
typedef WBase wrap_map_t[string];
|
typedef WBase wrap_map_t[string];
|
||||||
typedef WBase wrap_queue_t[$];
|
typedef WBase wrap_queue_t[$];
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ class Cls;
|
||||||
integer imemberb;
|
integer imemberb;
|
||||||
endclass : Cls
|
endclass : Cls
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
string a [*];
|
string a [*];
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
`define stop $stop
|
`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);
|
`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
|
initial begin
|
||||||
int res[];
|
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 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);
|
`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;
|
typedef struct { int x, y; } point;
|
||||||
|
|
||||||
function automatic int vec_len_squared(point p);
|
function automatic int vec_len_squared(point p);
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ class Cls;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
Cls c;
|
Cls c;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
// without warranty, 2012 by Jeremy Bennett.
|
// without warranty, 2012 by Jeremy Bennett.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
// Note that if we declare "wire [0:0] b", this works just fine.
|
// Note that if we declare "wire [0:0] b", this works just fine.
|
||||||
wire a;
|
wire a;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
// without warranty, 2012 by Jie Xu.
|
// without warranty, 2012 by Jie Xu.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
typedef struct packed {
|
typedef struct packed {
|
||||||
logic [1:0][15:0] channel;
|
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 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);
|
`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 {
|
typedef struct packed {
|
||||||
logic [3:2] a;
|
logic [3:2] a;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
`define stop $stop
|
`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);
|
`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 {
|
typedef struct packed {
|
||||||
logic [15:0] channel;
|
logic [15:0] channel;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
// without warranty, 2012 by Jeremy Bennett.
|
// without warranty, 2012 by Jeremy Bennett.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
// a and b are arrays of length 1.
|
// a and b are arrays of length 1.
|
||||||
wire a[0:0]; // Array of nets
|
wire a[0:0]; // Array of nets
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// without warranty, 2025 by Wilson Snyder.
|
// without warranty, 2025 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
bit [99:0] wide = $c100("0");
|
bit [99:0] wide = $c100("0");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2023 by Wilson Snyder.
|
// any use, without warranty, 2023 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
enum logic [2:0] {
|
enum logic [2:0] {
|
||||||
e0,
|
e0,
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2005-2007 by Wilson Snyder.
|
// any use, without warranty, 2005-2007 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
parameter P = 32'b1000;
|
parameter P = 32'b1000;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2005-2007 by Wilson Snyder.
|
// any use, without warranty, 2005-2007 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
reg [3:0] value;
|
reg [3:0] value;
|
||||||
reg [3:0] valuex;
|
reg [3:0] valuex;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ typedef enum {
|
||||||
UVM_TLM_IGNORE_COMMAND
|
UVM_TLM_IGNORE_COMMAND
|
||||||
} uvm_tlm_command_e;
|
} uvm_tlm_command_e;
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
bit array[] = new [8];
|
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_a_t;
|
||||||
typedef bit signed [7:0] simple_a1_t;
|
typedef bit signed [7:0] simple_a1_t;
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
real v_real; // IEEE 6.12.2 - by rounding
|
real v_real; // IEEE 6.12.2 - by rounding
|
||||||
string v_string;
|
string v_string;
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ class BasedB extends Base;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
int i;
|
int i;
|
||||||
int a;
|
int a;
|
||||||
int ao;
|
int ao;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ class Other;
|
||||||
endclass
|
endclass
|
||||||
enum { ZERO } e;
|
enum { ZERO } e;
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
int v;
|
int v;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ endclass
|
||||||
class ExbaseB extends Base;
|
class ExbaseB extends Base;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
Base b;
|
Base b;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2020 by Wilson Snyder.
|
// any use, without warranty, 2020 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
string q[$];
|
string q[$];
|
||||||
int aarray[string];
|
int aarray[string];
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ class Cls;
|
||||||
int imemberb;
|
int imemberb;
|
||||||
endclass : Cls
|
endclass : Cls
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
typedef Cls Cls2;
|
typedef Cls Cls2;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ package Pkg;
|
||||||
typedef enum { ENUMP_VAL = 33 } enump_t;
|
typedef enum { ENUMP_VAL = 33 } enump_t;
|
||||||
endpackage
|
endpackage
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
class Cls;
|
class Cls;
|
||||||
int imembera;
|
int imembera;
|
||||||
int imemberb;
|
int imemberb;
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ endclass
|
||||||
|
|
||||||
typedef Cls2 cls2_t;
|
typedef Cls2 cls2_t;
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
Cls c;
|
Cls c;
|
||||||
Cls2 c2;
|
Cls2 c2;
|
||||||
cls2_t ct2;
|
cls2_t ct2;
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ class ExtendExtendCls extends ExtendCls;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
typedef ExtendCls ExtendCls_t;
|
typedef ExtendCls ExtendCls_t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ endclass
|
||||||
class ExtCls1;
|
class ExtCls1;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
Cls1 c1;
|
Cls1 c1;
|
||||||
Cls2 c2;
|
Cls2 c2;
|
||||||
ExtCls1 ext_c1;
|
ExtCls1 ext_c1;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ class Cls;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c;
|
Cls c;
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ module Modmixed;
|
||||||
int M;
|
int M;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
// verilator no_inline_module
|
// verilator no_inline_module
|
||||||
|
|
||||||
ModMixed modMixed();
|
ModMixed modMixed();
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ class Cls #(type STORE_T=string);
|
||||||
endclass : Cls
|
endclass : Cls
|
||||||
endpackage : P
|
endpackage : P
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
P::Cls#(int) c;
|
P::Cls#(int) c;
|
||||||
initial begin
|
initial begin
|
||||||
c = new;
|
c = new;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ class Cls;
|
||||||
function int inc_methoda; imembera += 1; return imembera; endfunction
|
function int inc_methoda; imembera += 1; return imembera; endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c1;
|
Cls c1;
|
||||||
Cls c2;
|
Cls c2;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ class Cls;
|
||||||
bit x = 1;
|
bit x = 1;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
Cls obj1;
|
Cls obj1;
|
||||||
Cls obj2;
|
Cls obj2;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class Cls;
|
||||||
function int inc_methoda; imembera += 1; return imembera; endfunction
|
function int inc_methoda; imembera += 1; return imembera; endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c1;
|
Cls c1;
|
||||||
Other co;
|
Other co;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ class Cls;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
int dict[Cls];
|
int dict[Cls];
|
||||||
Cls c1 = new(1);
|
Cls c1 = new(1);
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2020 by Wilson Snyder.
|
// any use, without warranty, 2020 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
class Cls;
|
class Cls;
|
||||||
typedef enum {A = 10, B = 20, C = 30} en_t;
|
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
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c;
|
Cls c;
|
||||||
c = new;
|
c = new;
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ class Ext extends Base0;
|
||||||
function int get_io(); return innerover.innerover; endfunction
|
function int get_io(); return innerover.innerover; endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Ext c;
|
Ext c;
|
||||||
c = new;
|
c = new;
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ class Ext extends Pkg::Base0;
|
||||||
function int get_io(); return innerover.innerover; endfunction
|
function int get_io(); return innerover.innerover; endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Ext c;
|
Ext c;
|
||||||
c = new;
|
c = new;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2023 by Antmicro Ltd.
|
// any use, without warranty, 2023 by Antmicro Ltd.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
class bar #(type T) extends T;
|
class bar #(type T) extends T;
|
||||||
endclass
|
endclass
|
||||||
|
|
|
||||||
|
|
@ -13,5 +13,5 @@ endclass
|
||||||
class Cls extends Base1, Base2;
|
class Cls extends Base1, Base2;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ endpackage
|
||||||
class Cls12 extends Pkg::Icls1;
|
class Cls12 extends Pkg::Icls1;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
Cls12 cp12;
|
Cls12 cp12;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ class Cls1 extends Base1(default);
|
||||||
// Gets new(int def)
|
// Gets new(int def)
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls1 c1;
|
Cls1 c1;
|
||||||
Cls1 c5;
|
Cls1 c5;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2023 by Antmicro Ltd.
|
// any use, without warranty, 2023 by Antmicro Ltd.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
class Bar #(type T=int) extends T;
|
class Bar #(type T=int) extends T;
|
||||||
endclass
|
endclass
|
||||||
|
|
|
||||||
|
|
@ -18,5 +18,5 @@ endclass
|
||||||
class Cls2 extends Pkg::NotFound2; // BAD: not found
|
class Cls2 extends Pkg::NotFound2; // BAD: not found
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
class Foo#(type T = logic) extends T;
|
class Foo#(type T = logic) extends T;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
$write("*-* All Finished *-*\n");
|
$write("*-* All Finished *-*\n");
|
||||||
$finish;
|
$finish;
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,6 @@ class RecursiveExtCls extends RecursiveExtCls;
|
||||||
int i;
|
int i;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
RecursiveExtCls cls = new;
|
RecursiveExtCls cls = new;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ class Cls extends Base;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c;
|
Cls c;
|
||||||
c = new;
|
c = new;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ class Cls extends Base;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c;
|
Cls c;
|
||||||
c = new;
|
c = new;
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,7 @@ task Cls::SubCls::ext_t_i(int in);
|
||||||
endtask
|
endtask
|
||||||
|
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c = new;
|
Cls c = new;
|
||||||
Cls::SubCls subc = new;
|
Cls::SubCls subc = new;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ class Cls;
|
||||||
int queue;
|
int queue;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
Cls cls = new;
|
Cls cls = new;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class Cls;
|
||||||
endtask
|
endtask
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c;
|
Cls c;
|
||||||
c = new;
|
c = new;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ class ClsB;
|
||||||
endclass
|
endclass
|
||||||
endpackage
|
endpackage
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
P::ClsA ca;
|
P::ClsA ca;
|
||||||
P::ClsB cb;
|
P::ClsB cb;
|
||||||
initial begin
|
initial begin
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ endclass
|
||||||
|
|
||||||
endpackage
|
endpackage
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
uvm_pkg::uvm_reg_field c = new;
|
uvm_pkg::uvm_reg_field c = new;
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ function Cls_report_object get_report_object;
|
||||||
return c;
|
return c;
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
string s;
|
string s;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ class Cls;
|
||||||
endtask
|
endtask
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
function int mod_fi();
|
function int mod_fi();
|
||||||
return 10;
|
return 10;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class AnotherExtendCls extends Cls;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls cls = new;
|
Cls cls = new;
|
||||||
ExtendCls ext_cls = new;
|
ExtendCls ext_cls = new;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2024 by Wilson Snyder.
|
// any use, without warranty, 2024 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
interface class Courier;
|
interface class Courier;
|
||||||
pure virtual function void deliver();
|
pure virtual function void deliver();
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ class Ext extends Cls;
|
||||||
endclass
|
endclass
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
const Cls mod_c = new;
|
const Cls mod_c = new;
|
||||||
const Cls::InnerCls imod_c = new;
|
const Cls::InnerCls imod_c = new;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ class Ext extends Cls;
|
||||||
endtask
|
endtask
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c;
|
Cls c;
|
||||||
Ext e;
|
Ext e;
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ class NodeList;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
NodeList n = new;
|
NodeList n = new;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class Cls2 extends Base1;
|
||||||
int memb2;
|
int memb2;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls2 c;
|
Cls2 c;
|
||||||
c.memb3 = 3; // Not found
|
c.memb3 = 3; // Not found
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,5 @@ class ClsDup;
|
||||||
|
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ class Cls;
|
||||||
function void setv_methoda(input int val); imembera = val; endfunction
|
function void setv_methoda(input int val); imembera = val; endfunction
|
||||||
endclass : Cls
|
endclass : Cls
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
int tmp_i;
|
int tmp_i;
|
||||||
Cls c;
|
Cls c;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class Cls2 extends Base1;
|
||||||
task meth2; endtask
|
task meth2; endtask
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls2 c;
|
Cls2 c;
|
||||||
c.meth3(); // Not found
|
c.meth3(); // Not found
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ class Cls;
|
||||||
endfunction
|
endfunction
|
||||||
endclass : Cls
|
endclass : Cls
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c = new;
|
Cls c = new;
|
||||||
my_struct s = c.get_struct;
|
my_struct s = c.get_struct;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ class Cls;
|
||||||
endclass
|
endclass
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
string s;
|
string s;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
// any use, without warranty, 2020 by Wilson Snyder.
|
// any use, without warranty, 2020 by Wilson Snyder.
|
||||||
// SPDX-License-Identifier: CC0-1.0
|
// SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
class Cls;
|
class Cls;
|
||||||
class Inner;
|
class Inner;
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ endclass
|
||||||
endfunction
|
endfunction
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
string s;
|
string s;
|
||||||
|
|
||||||
M m();
|
M m();
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ class Outer;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
NodeList n = new;
|
NodeList n = new;
|
||||||
NodeList::Node n1 = new;
|
NodeList::Node n1 = new;
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ class Cls2Arg;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
ClsNoArg c1;
|
ClsNoArg c1;
|
||||||
ClsArg c2;
|
ClsArg c2;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class ClsArg;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
ClsNoArg c1;
|
ClsNoArg c1;
|
||||||
ClsNoNew c2;
|
ClsNoNew c2;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ endclass
|
||||||
function ClsDefFwd::new(default);
|
function ClsDefFwd::new(default);
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
// TODO real test
|
// TODO real test
|
||||||
$stop;
|
$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;
|
this.m_max_size = max_size;
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
u_cache #(real, real) obj;
|
u_cache #(real, real) obj;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ class Cls extends Base;
|
||||||
|
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
Base b = Cls::generate_txn();
|
Base b = Cls::generate_txn();
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ class ClsParam #(int ADD = 100) extends Base;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Base b;
|
Base b;
|
||||||
ClsNoArg c1;
|
ClsNoArg c1;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ class Testcase implements ICls;
|
||||||
endfunction
|
endfunction
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t(/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
Testcase test;
|
Testcase test;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ class Cls;
|
||||||
int imembera;
|
int imembera;
|
||||||
endclass : Cls
|
endclass : Cls
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
Cls c;
|
Cls c;
|
||||||
initial begin
|
initial begin
|
||||||
c = null; // Not really required as null is default
|
c = null; // Not really required as null is default
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ typedef struct {
|
||||||
int number;
|
int number;
|
||||||
} str_t;
|
} str_t;
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
function automatic str_t func_null();
|
function automatic str_t func_null();
|
||||||
return '{null, 42};
|
return '{null, 42};
|
||||||
endfunction
|
endfunction
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ endclass
|
||||||
class :final CClsF extends CBase;
|
class :final CClsF extends CBase;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c;
|
Cls c;
|
||||||
CClsF cc;
|
CClsF cc;
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ endclass
|
||||||
class :final CClsBadExtendsFinal extends CClsF;
|
class :final CClsBadExtendsFinal extends CClsF;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
Cls c;
|
Cls c;
|
||||||
CClsF cc;
|
CClsF cc;
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ package pkgb;
|
||||||
endclass
|
endclass
|
||||||
endpackage
|
endpackage
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
initial begin
|
initial begin
|
||||||
pkga::MyClass a;
|
pkga::MyClass a;
|
||||||
pkgb::MyClass b;
|
pkgb::MyClass b;
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ endclass
|
||||||
typedef ClsParamString#("abcde") cls_param_string_def_t;
|
typedef ClsParamString#("abcde") cls_param_string_def_t;
|
||||||
typedef ClsParamString#("xyz") cls_param_string_not_def_t;
|
typedef ClsParamString#("xyz") cls_param_string_not_def_t;
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
Cls c12;
|
Cls c12;
|
||||||
Cls #(.PBASE(4)) c4;
|
Cls #(.PBASE(4)) c4;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
class Cls #(parameter PARAMB = 12);
|
class Cls #(parameter PARAMB = 12);
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
Cls #(.PARAMBAD(1)) c; // Bad param name
|
Cls #(.PARAMBAD(1)) c; // Bad param name
|
||||||
Cls #(13, 1) cd; // Bad param number
|
Cls #(13, 1) cd; // Bad param number
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
class Cls #(type PARAMB);
|
class Cls #(type PARAMB);
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
Cls c; // Missing type param
|
Cls c; // Missing type param
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ endclass
|
||||||
class OtherMaybe extends Cls; // Questionable but others do not warn
|
class OtherMaybe extends Cls; // Questionable but others do not warn
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
typedef Cls#(2) Cls2_t; // Ok
|
typedef Cls#(2) Cls2_t; // Ok
|
||||||
typedef Cls ClsNone_t; // Ok
|
typedef Cls ClsNone_t; // Ok
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ class ClsB #(parameter PARAM = 12);
|
||||||
ClsA #(PARAM+1) a;
|
ClsA #(PARAM+1) a;
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
ClsA #(.PARAM(15)) c; // Bad param name
|
ClsA #(.PARAM(15)) c; // Bad param name
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ endclass
|
||||||
class Cls2 #(parameter PARAMB = 13, parameter PARAMC = 14);
|
class Cls2 #(parameter PARAMB = 13, parameter PARAMC = 14);
|
||||||
endclass
|
endclass
|
||||||
|
|
||||||
module t (/*AUTOARG*/);
|
module t;
|
||||||
|
|
||||||
Cls #(.PARAMBAD(1)) c; // Bad param name
|
Cls #(.PARAMBAD(1)) c; // Bad param name
|
||||||
Cls #(13, 1) cd; // Bad param number
|
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