forked from github/verilator
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
21 lines
377 B
Systemverilog
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 |