Robert.g.Liu Posted December 6, 2012 Report Share Posted December 6, 2012 One of register test requirements is that the write-only register written with a new value in advance can be read back correctly via the back-door interface anyway. It is to prove the correctness of write to the write-only register via front-door. The uvm_reg doesn't support this because it will do the pre_read check using uvm_reg_write_only_cbs class before the true backdoor operation is done. The read is then returned with UVM_NOT_OK and failed eventually. Suppose the test requirement makes sense here, what could I work-around this? Seem the uvm_reg should be updated to distinguish the backdoor and frontdoor way of read from write-only register. Quote Link to comment Share on other sites More sharing options...
petermonsson Posted December 9, 2012 Report Share Posted December 9, 2012 I recommend that you use peek() for checking the write operation. If you are using a built in register sequence which fails, then let me know. I will file a bug report. 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.