2025-05-17 22:28:09 +02:00
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
|
//
|
2026-01-27 02:24:34 +01:00
|
|
|
// This file ONLY is placed under the Creative Commons Public Domain
|
|
|
|
|
// SPDX-FileCopyrightText: 2022-2025 Antmicro
|
2025-05-17 22:28:09 +02:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
2026-03-03 13:21:24 +01:00
|
|
|
module t (
|
|
|
|
|
input clk
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
int cyc = 0;
|
|
|
|
|
logic val = 0;
|
|
|
|
|
|
|
|
|
|
always @(posedge clk) begin
|
|
|
|
|
cyc <= cyc + 1;
|
|
|
|
|
val = ~val;
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
property p_ev;
|
|
|
|
|
eventually [2:5] a;
|
|
|
|
|
endproperty
|
|
|
|
|
|
|
|
|
|
property p_evc;
|
|
|
|
|
eventually [2] a;
|
|
|
|
|
endproperty
|
|
|
|
|
|
|
|
|
|
property p_s_ev;
|
|
|
|
|
s_eventually [2:5] a;
|
|
|
|
|
endproperty
|
|
|
|
|
|
|
|
|
|
property p_s_alw_ev;
|
|
|
|
|
always s_eventually [2:5] a;
|
|
|
|
|
endproperty
|
|
|
|
|
|
|
|
|
|
property p_s_ev_alw;
|
|
|
|
|
s_eventually always [2:5] a;
|
|
|
|
|
endproperty
|
2025-05-17 22:28:09 +02:00
|
|
|
|
|
|
|
|
endmodule
|