2024-06-09 04:44:45 +02:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
|
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
|
|
|
|
// any use, without warranty, 2020 by Wilson Snyder.
|
|
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
2025-09-13 15:28:43 +02:00
|
|
|
module t;
|
2024-06-09 04:44:45 +02:00
|
|
|
|
|
|
|
|
integer a[];
|
|
|
|
|
|
|
|
|
|
initial begin
|
|
|
|
|
if ($bits(a) != 0) $stop;
|
|
|
|
|
a = new [10];
|
|
|
|
|
if ($bits(a) != 10*32) $stop;
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
endmodule
|