rhegde Posted July 6, 2012 Report Posted July 6, 2012 hi all i am new to UVM can anyone explain with example how to do a backdoor access to individual fields in the register. Thanks rakshit WORMIXgqouev 1 Quote
amitshere Posted July 7, 2012 Report Posted July 7, 2012 given that the backdoor access is anyways completed in zero time, and it updates/gives you the values of only the specific field depending on whether you are doing a field.write()/field.read(), you don't need an explicit individual field access WORMIXgqouev 1 Quote
rhegde Posted July 8, 2012 Author Report Posted July 8, 2012 Thank you amitshere for replying but in my case each register fields points to different dut paths.so i wanted to know how to assign different Hdl paths for each register fields. Quote
lisakb1963 Posted July 9, 2012 Report Posted July 9, 2012 Depending on you <spirit:vendorExtensions> (I don't know what your generator does.) -- but you should be able to set a unique path per field as a vendor extension. The issue that I see with this is that typically you make an HDL hierarchy , and you seem to have a hard path. It really doesn't matter -- it just makes moving the fields around generically (and abstract) less usable. for instance you could do this: <spirit:field> .... spirit:vendorExtensions> <vendorExtensions:name>ctrl_reg</vendorExtensions:name> <vendorExtensions:type>ctrl_reg_t</vendorExtensions:type> <!-- You can add a hard coded a path per field --> <vendorExtensions:hdl_patht>top_dut.base_regs.ctrl_reg</vendorExtensions:hdl_path> Euphemia 1 Quote
janick Posted July 9, 2012 Report Posted July 9, 2012 Thank you amitshere for replying but in my case each register fields points to different dut paths.so i wanted to know how to assign different Hdl paths for each register fields. UVM supports specifying a concatenation of HDL paths for a register backdoor access. But it is a generator-specific feature how to specify the HDL paths for the fields. You need to contact your generator vendor to answer that question. Quote
Euphemia Posted September 3, 2014 Report Posted September 3, 2014 hi all i am new to UVM can anyone explain with example how to do a backdoor access to individual fields in the register. Thanks rakshit Hi rhegde, Have you found out the way to specify hdl_path in xml schema generated by python? I'm also working on it. Thanks. Euphemia Quote
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.