binding_overflow_class.sv 243 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
// pattern: too many bindings specified for parameters in class specialization of "example"
class example #(
    parameter P = 1,
    parameter Q = 1
);
    typedef logic [P * Q:0] T;
endclass
module top;
    example#(1, 2, 3)::T x;
endmodule