harrygries Posted September 28, 2012 Report Share Posted September 28, 2012 I have a design where a bit field in a register modifies a remote bit field in another register. In another case, it actually returns the value of another bit field when read. The configure and the access related methods for uvm_reg_field do not seem to have a way to specify this type of remote access. I can set W1S or W1C, but it applies to the uvm_reg_field accessed and not the remore uvm_reg_field. Am I missing a way to do this that already exists? If not, is there a good methodology to do this? Quote Link to comment Share on other sites More sharing options...
petermonsson Posted September 28, 2012 Report Share Posted September 28, 2012 (edited) Hi Harry, I think that this is outside basic UVM and IP-XACT terminology, but have a look at the UVM Register Callbacks (uvm_reg_cb) http://www.vmmcentral.org/uvm_vmm_ik/files3/reg/uvm_reg_cbs-svh.html and the uvm_reg_field:: predict method. Combining those two may be able to do it. I hope this helps. Best Regards Peter Edited September 28, 2012 by petermonsson editing to remove the stupid smileys Quote Link to comment Share on other sites More sharing options...
harrygries Posted September 28, 2012 Author Report Share Posted September 28, 2012 Hi Peter, So, this would be a custom implementation rather than something standard for the base class, correct? Perhaps this is something that could be considered for a future revision of UVM so that there is a standard method. Harry Quote Link to comment Share on other sites More sharing options...
petermonsson Posted September 28, 2012 Report Share Posted September 28, 2012 Hi Harry, Correct, that would be a custom implementation for the registers where you have this behavior. I can't comment on the enhancement request; this is outside my expertise. Best Regards Peter Quote Link to comment Share on other sites More sharing options...
angleblue63 Posted October 10, 2012 Report Share Posted October 10, 2012 Option A give us advantage of Reuse, finding/localizing issues at boundary level. But we can use this for Gate Level sims Option B gives us advantage of using the SB for gate level sims... but involves a lot of rework. 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.