mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-03 08:25:32 +02:00
Check for various dynamic array and queue types that their type compatibility is handled correctly. Signed-off-by: Lars-Peter Clausen <[email protected]>
15 lines
297 B
Verilog
15 lines
297 B
Verilog
// Check that it is not possible to assign a queue with a signed element type to
|
|
// a queue with a unsigned element type. Even if they are otherwise identical.
|
|
|
|
module test;
|
|
|
|
logic [31:0] q1[$];
|
|
logic signed [31:0] q2[$];
|
|
|
|
initial begin
|
|
q1 = q2;
|
|
$dispaly("FAILED");
|
|
end
|
|
|
|
endmodule
|