// DESCRIPTION: Verilator: Verilog Test module // // This file ONLY is placed under the Creative Commons Public Domain, for // any use, without warranty, 2024 by Antmicro Ltd. // SPDX-License-Identifier: CC0-1.0 class Cls; Cls f; rand int r; endclass module t (/*AUTOARG*/); Cls x = new; int i; initial $display( x.f.randomize(), x.f.randomize() with { r < 5; }, i.randomize() with { v < 5; }); endmodule