verilator/test_regress/t/t_randomize_soft_randc_bad.v
2024-11-09 12:45:55 -05:00

15 lines
351 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2024 by Wilson Snyder.
// SPDX-License-Identifier: CC0-1.0
class Cls1;
randc int rc;
constraint c_bad { soft rc > 4; } // Bad, no soft on randc
endclass
module t (/*AUTOARG*/);
endmodule