Jump to content
Sign in to follow this  

How to pass register model for in-built sequence??

Recommended Posts



I have created a basic test for register testing.

I am using the in-built register sequence i.e. uvm_reg_hw_reset_seq.

But I was wondering how to pass my register model to this sequence, as otherwise it gives an error.



Thanks a lot for your help,





Share this post

Link to post
Share on other sites

1. You need to instantiate the uvm_reg_hw_reset_seq.

2. Then you pass the instance model to your model.

3. Then you start the sequence.




uvm_reg_hw_reset_seq reset_seq;

reset_seq.model = my_model;

Share this post

Link to post
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.

Sign in to follow this  

  • Create New...