verifier Posted May 21, 2012 Report Share Posted May 21, 2012 Hi what is the best way of controlling bus transaction related fields which are not available in reg sequence. for example register access to a particular register can be secure/unsecure and previleged/unprevileged. I would like to control these transaction field from reg sequence, what is the best of doing it ? Thanks Verifier Quote Link to comment Share on other sites More sharing options...
uwes Posted May 22, 2012 Report Share Posted May 22, 2012 hi, the path would be to define a new object deriving from uvm_object holding the additional properties. a configured instance can then be passed via the <uvm_reg>.write/read/update/mirror function in the "extension" argument. in the reg-to-bus adapter.reg2bus() translation stage you can refer to the passed object as "get_item().extension" and you can adjust the properties of your low level sequence. Quote Link to comment Share on other sites More sharing options...
verifier Posted May 22, 2012 Author Report Share Posted May 22, 2012 Hi Uwe, thanks for the reply. I am able to do it. verifier 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.