1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
module top ( input clk, input a, b, c, d ); default clocking @(posedge clk); endclocking assert property ( a ##[*] b |=> c until d ); `ifndef FAIL assume property ( b |=> ##5 d ); assume property ( b || (c && !d) |=> c ); `endif endmodule