verilator/test_regress/t/t_randcase_bad.v

19 lines
410 B
Systemverilog
Raw Normal View History

2022-11-12 02:53:05 +00:00
// DESCRIPTION: Verilator: Test of select from constant
//
// This tests issue 508, bit select of constant fails
//
// 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
$finish;
end
endmodule