mirror of https://github.com/zachjs/sv2v.git
11 lines
303 B
Systemverilog
11 lines
303 B
Systemverilog
// pattern: too many bindings specified for parameters in class specialization of "example": 3 specified \(1, 2, 3\), but only 2 available \("P", "Q"\)
|
|
class example #(
|
|
parameter P = 1,
|
|
parameter Q = 1
|
|
);
|
|
typedef logic [P * Q:0] T;
|
|
endclass
|
|
module top;
|
|
example#(1, 2, 3)::T x;
|
|
endmodule
|