verilator/test_regress/t/t_array_unpacked_public.v
Stefan Wallentowitz 924fe235a9
No assign alias for unpacked public variables (#2089)
Public variables are all emitted in the C code and unpacked arrays
arrays are sliced up for this. After inlining public unpacked array
assignments should not be alias assignments but actual assignments, so
that they are sliced and hence emitted properly.

Fixes #2073
2020-01-03 13:44:45 +01:00

21 lines
377 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2020 by Stefan Wallentowitz
module t();
logic din [0:15];
array_test array_test_inst(.din(din));
initial begin
$write("*-* All Finished *-*\n");
$finish;
end
endmodule
module array_test(
input din [0:15]
);
endmodule