mirror of https://github.com/zachjs/sv2v.git
10 lines
188 B
Systemverilog
10 lines
188 B
Systemverilog
|
|
// pattern: required parameter "Y" in class "C" has not been provided
|
||
|
|
class C #(
|
||
|
|
parameter Y
|
||
|
|
);
|
||
|
|
localparam X = Y + 1;
|
||
|
|
endclass
|
||
|
|
module top;
|
||
|
|
initial $display(C#()::X);
|
||
|
|
endmodule
|