14 lines
296 B
Coq
14 lines
296 B
Coq
|
|
// Check that it is an error to declare a non-ANSI module port without implicit
|
||
|
|
// packed dimensions if it is later redeclared as a vector typed variable and
|
||
|
|
// the vector type is not a scalar.
|
||
|
|
|
||
|
|
module test(x);
|
||
|
|
output x;
|
||
|
|
reg [7:0] x;
|
||
|
|
|
||
|
|
initial begin
|
||
|
|
$display("FAILED");
|
||
|
|
end
|
||
|
|
|
||
|
|
endmodule
|