verilator/test_regress/t/t_struct_packed_init_bad.v
2023-02-13 20:58:49 -05:00

22 lines
436 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2023 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
module t(/*AUTOARG*/);
parameter P = 4'h5;
struct packed {
bit [3:0] m_lo = P; // Bad
bit [3:0] m_hi;
} s;
initial begin
$write("*-* All Finished *-*\n");
$finish;
end
endmodule