Jump to content

Random reset tests in OVM

Recommended Posts

I'm trying to do random reset tests in OVM. The idea is that reset can happen any state. The problem is how do I have the on-going sequences aware of reset?

For example,

transaction package has A which drives 8 at reset. A can only be changed when A_en is 0.

In a test, a sequence that has this transaction package, A changes its value from 8 -> 9 -> 10, etc.. Right before reset happens A was 15 and A_en is 1.

During reset, the driver drives A = 8, A_en = 0 which are correct.

But when reset is deasserted A_en goes to 1 and A goes to 15. This is because the on-going sequence is not aware of reset. How do I make the on-going sequence aware of reset?

Link to comment
Share on other sites

  • 2 weeks later...

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...