I want to write an assertion that waits for a pulse to check if two clocks are synchronized for the rest of the simulation. I know the following is incorrect but it is pseudo code for what I want to perform. I am having trouble getting it to sync and for it be continous.
property clk_equals_clk2;
@(posedge clk_check_req)
disable iff (!rst)
enable |-> $rose(clk2) && $rose(clk); // I’m not sure how to get it to run continuously
endproperty