Files
sv2v/test/error/binding_not_found_class.sv

11 lines
276 B
Systemverilog
Raw Permalink Normal View History

2024-12-15 00:42:13 -05:00
// pattern: unknown binding "R" specified for parameters in class specialization of "example", 2 available \("P", "Q"\)
2021-06-01 13:09:36 -04:00
class example #(
parameter P = 1,
parameter Q = 1
);
typedef logic [P * Q:0] T;
endclass
module top;
example#(.P(1), .R(2))::T x;
endmodule