I want an asserion to check whether any change in signal d is sampled by clk atleast 3 times. Is this the correct approach to do this?
property d_stable_check;
logic data1;
@(d)
(!$isunknown(d), data1 = !d) |=>
@(posedge clk)
(d == data1) ##1 (d == data1) ##1 (d == data1) ;
endproperty : d_stable_check
a_doublesync3:assert property(d_stable_check);