I’m having hard time triggering antecedent of this assertion where sig_x is 8 bits. [7:0] sig_x;
property prop_name;
@(posedge clk) ((sig_x =='h0) && ($past(sig_x,1)=='h1) && ($past(sig_x,2)=='hc4) && ($past(sig_x,3) = 'h2c)) |-> .....((precedent logic));
endproperty
sig_x is always 0 but occasionally carries data packets and here I want it to trigger when it carries packet of 2c,c4,01 (each 8 bit per clock cycle @ time t,t+1,t+2 respectively) and I want it to trigger during the transition from t+2->t+3 when data goes from 'h01-> 'h00. But the log says antecedent cant be triggered but clearly I can see it exists in the waveform.
I also tried using sequences, Still same issue-
property prop_name;
@(posedge clk) ((sig_x=='h2c) ##1 (sig_x=='hc4) ##1 (sig_x=='h01)) |-> .....((precedent logic));
endproperty