verilator/test_regress/t/t_lint_unsigned_bad.v
2020-12-07 20:30:16 -05:00

16 lines
342 B
Systemverilog

// DESCRIPTION: Verilator: Test of select from constant
//
// 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
module t (/*AUTOARG*/);
bit [2:0] uns;
initial begin
uns = 1;
if (uns < 0) $stop;
end
endmodule