mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
15 lines
351 B
Systemverilog
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
|