Constraint for cycle delay

Hi all,

I am new to constraints. I have 6 masters in my design. Now I want to drive some random values from it. “There is a minimum of 4 cycle delay between consecutive requests from the same master” that is what specification requires to implement. Now I need to write constraint on it so how can I write?

In reply to maitrygandhi:

They way this is typically handled is you add a random variable to the transaction being sent to the master driver that represents the minimum cycle delay. The driver delays the request by the cycle delay.

BTW it helps people searching for similar issues if you put in a more descriptive question title. like “Constraint for cycle delay”

In reply to dave_59:

Sorry but I didn’t get you. Can you please elaborate?

Pardon me for basic questions but I just started doing the verification before 3 days so it would be really helpful if you can explain with examples