mbowler Posted November 30, 2011 Report Share Posted November 30, 2011 I have a register R with several fields, A and B. R is read-only and volatile as it is a status register. I am finding that a read of R does not seem to update the mirrored values of the fields. Is it supposed too? If not how do I get a single bus read transaction to update all the fields in a register. e.g. R.read(stat, rd_data) R.A.get(aval); R.B.get(bval); R.get(rval); With the above code, - rval and rd_data match and are as expected. - aval and bval contain the reset value. What am I doing wrong here? Thanks, Michael 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.