verilator/test_regress/t/t_randcase_bad.v

20 lines
451 B
Systemverilog
Raw Normal View History

2022-11-12 03:53:05 +01:00
// DESCRIPTION: Verilator: Test of select from constant
//
// This tests issue #508, bit select of constant fails
2022-11-12 03:53:05 +01:00
//
// This file ONLY is placed into the Public Domain, for any use,
// without warranty, 2022 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
module t (/*AUTOARG*/);
initial begin
randcase // Bad all zero weights
0 : $stop;
endcase
$write("*-* All Finished *-*\n");
2022-11-12 03:53:05 +01:00
$finish;
end
endmodule