ggupta Posted April 18, 2013 Report Share Posted April 18, 2013 Hi, 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, Regards, GG Quote Link to comment Share on other sites More sharing options...
uwes Posted April 18, 2013 Report Share Posted April 18, 2013 you need to set some_uvm_reg_hw_reset_seq_instance.model to your register model ggupta 1 Quote Link to comment Share on other sites More sharing options...
lisakb1963 Posted April 18, 2013 Report Share Posted April 18, 2013 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; reset_seq.start(null); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.