2024-08-09 23:21:32 +02:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
|
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain, for
|
2025-10-11 23:04:56 +02:00
|
|
|
// any use, without warranty, 2025 by PlanV GmbH.
|
2024-08-09 23:21:32 +02:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
|
|
module t;
|
|
|
|
|
initial begin
|
|
|
|
|
int a, b;
|
2025-10-11 23:04:56 +02:00
|
|
|
// if (std::randomize(a, b) != 1) $stop;
|
2024-08-09 23:21:32 +02:00
|
|
|
if (std::randomize(a, b) with { 2 < a; a < 7; b < a; } != 1) $stop;
|
|
|
|
|
if (!(2 < a && a < 7 && b < a)) $stop;
|
|
|
|
|
$write("-*-* All Finished *-*-\n");
|
|
|
|
|
$finish;
|
|
|
|
|
end
|
|
|
|
|
endmodule
|