verilator/test_regress/t/t_event_control_expr_unsup.v

18 lines
346 B
Systemverilog

// DESCRIPTION: Verilator: Verilog Test module
//
// This file ONLY is placed under the Creative Commons Public Domain, for
// any use, without warranty, 2025 by Antmicro.
// SPDX-License-Identifier: CC0-1.0
module t;
int x;
function bit foo;
x += 1;
return bit'(x % 2);
endfunction
always @(posedge foo());
endmodule