Hi all,
When we define as vr_ad reg_fld for each reg_file we used to provide the reset value of each field.
As i know the application for this is when we call reset() function for that reg_file it will overwritten with a reset value whatever we have assigned.
My doubt here is can it be use for doing a reset check.. For example whenever i do a read of some register i need not to provide the extra check method in my code for checking the reset value and it should be done automatically with vr_ad compare_and_update() method w.r.t the reset value of corresponding reg_def.
Thanks
Ravi
↧