mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-04 00:31:42 +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
220 B
Verilog
15 lines
220 B
Verilog
// Check that it is not possible to assign a queue to another queue with a
|
|
// different element width.
|
|
|
|
module test;
|
|
|
|
int q1[$];
|
|
shortint q2[$];
|
|
|
|
initial begin
|
|
q1 = q2;
|
|
$dispaly("FAILED");
|
|
end
|
|
|
|
endmodule
|