2024-12-15 00:42:13 -05:00
|
|
|
// pattern: parameter "P" in instance "intf" of interface "Interface" expects an expression, but was given type logic
|
2020-12-11 12:41:20 -07:00
|
|
|
interface Interface;
|
2021-05-31 14:13:49 -04:00
|
|
|
parameter P = 0;
|
|
|
|
|
logic [P-1:0] x;
|
2020-12-11 12:41:20 -07:00
|
|
|
endinterface
|
|
|
|
|
module top;
|
|
|
|
|
Interface #(logic) intf();
|
|
|
|
|
endmodule
|