Khushi Posted August 2, 2018 Report Share Posted August 2, 2018 Hi Folks I have a scenario where a DUT register value changes when IP reaches a certain state. This change in register value is done internally in the RTL implementation of the DUT, it is not through any bus transaction. In such cases how I update the corresponding register value (mirror or desired) in its UVM register model ? Thanks in Advance Thanks Khushi Quote Link to comment Share on other sites More sharing options...
Ishanee Bajpai Posted December 5, 2018 Report Share Posted December 5, 2018 Hi Khushi, If a register value is updated internally by the RTL, then the user has to update the register model by calling the predict method of that register class in order to sync the register model with the RTL values. In such cases, wait for the event that causes the change in register value and then update the RAL model with that value. Ex:- @(event causing the change in value) <register_handle>.predict(value due to that change); IshaneeAgnisys Inc. 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.