I want to measure two clock frequency with same phase
property phase_smps_pulse_check;
realtime t1, t2;
@(posedge tb_clk) (1, t1=$realtime) ##0 (top_adcdigen && top_adcanaen) |-> @(posedge top_smps_pulse) (1, t2=$realtime) ##0 ((t2-t1) >= (0+1fs));
endproperty
assert property(phase_smps_pulse_check);
It is giving assertion error. What is wrong in it ?
Also I want to measure 180 degree out phase for two clock , what to change it in the code ?
I have added the stimulii in below link.