krgarvens Posted August 18, 2015 Report Share Posted August 18, 2015 I have used the set_compare(UVM_NO_CHECK) to disable checking by mirror() on a selected field or fields of a register, and to disable checking of the entire register. But what about the reverse - it I apply set_compare(UVM_NO_CHECK) to the entire register, and then apply set_compare(UVM_CHECK) to selected fields, will mirror() check those fields or will the overall register set_compare mode override the field settings? What I have is a 32-bit register with 32 bit fields, of which I am only concerned about one bit. I would be tedious (and I hope somewhat unnecessary) to have to apply set_compare(UVM_NO_CHECK) 31 times just to isolate the bit of interest. Quote Link to comment Share on other sites More sharing options...
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.