Jump to content

How to create constraint for following

Recommended Posts

I am trying to write constrain for seq_item and sequence, I am describing it as follows, kindly please help me to write a code for this 


DUT has req interface , which has multiple fields and one of them is ID[7:0] field which is correct to variable in seq item class.


DUT also has response interface ; response interface gets response for req and also as associated ID sent during request time.


DUT can’t accept request if req with same ID value is already in progress inside DUT.


I am looking to write logic in Seq item /sequence  to put constraints to avoid generation of requests with same ID values when response is not received for previous ID value.


Can I please have your help on this..

Screenshot_20220523-165554_Gmail (1).jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...