2024-11-09 18:45:55 +01:00
|
|
|
// 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;
|
|
|
|
|
|
2024-12-14 17:47:46 +01:00
|
|
|
constraint c_bad { rc dist {3 := 0, 10 := 5}; } // Bad, no dist on randc
|
2024-11-09 18:45:55 +01:00
|
|
|
endclass
|
|
|
|
|
|
2025-09-13 15:28:43 +02:00
|
|
|
module t;
|
2024-11-09 18:45:55 +01:00
|
|
|
endmodule
|