I want to write an assertion where genclock must rise in the setup or hold time window(say 2ns each) of refclock. Is there a in built timing check for this?

In reply to Rsignori92:
Can you specify a code. I have gone through timing checks but not getting clarity