Skip to content

Conversation

YenHaoChen
Copy link
Collaborator

I found an issue in commit 20a7354. Sorry for the mistake.

The logging value is the read value on updating. The read value of mip depends on the value of hvip. Updating mip before hvip leaves an incorrect logging mip value that does not consider the new hvip. Thus, updating mip should be after basic_csr_t::unlogged_write() of hvip to log the correct value.

The return value of basic_csr_t::unlogged_write() is a constant true. Thus, the return value does not change after this commit.

The logging value is the read value on updating. The read value of mip
depends on the value of hvip. Updating mip before hvip leaves an
incorrect logging mip value that does not consider the new hvip. Thus,
updating mip should be after basic_csr_t::unlogged_write() of hvip to
log the correct value.

The return value of basic_csr_t::unlogged_write() is a constant true.
Thus, the return value does not change after this commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant