16 lines
276 B
Coq
16 lines
276 B
Coq
|
|
// Check that continuous assignment of two compatible arrays is supported, even
|
||
|
|
// if the element types are not identical, but just equivalent.
|
||
|
|
|
||
|
|
module test;
|
||
|
|
|
||
|
|
wire [1:0] x[1:0];
|
||
|
|
wire [2:1] y[1:0];
|
||
|
|
|
||
|
|
assign x = y;
|
||
|
|
|
||
|
|
initial begin
|
||
|
|
$display("PASSED");
|
||
|
|
end
|
||
|
|
|
||
|
|
endmodule
|