Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu-o3, mem-ruby: Enhance goldenmem #170

Merged
merged 1 commit into from
Sep 12, 2024
Merged

cpu-o3, mem-ruby: Enhance goldenmem #170

merged 1 commit into from
Sep 12, 2024

Conversation

notlqr
Copy link
Contributor

@notlqr notlqr commented Sep 9, 2024

Previously golden mem is checked only when inst commits, if golden value changes between cache access and commit, difftest will throw an error. Two changes are made:

  1. Check L1D refill cache block with golden mem
  2. When load accesses DCache, check with golden mem, and save golden value to DynInst. When it commits, and value doesn't match NEMU val, then compare with inst-local golden value

Change-Id: I7bfee53a622d7f0513b457c531df49c1c5e32035

Previously golden mem is checked only when inst commits, if golden value
changes between cache access and commit, difftest will throw an error.
Two changes are made:
1. Check L1D refill cache block with golden mem
2. When load accesses DCache, check with golden mem, and save golden
   value to DynInst. When it commits, and value doesn't match NEMU val,
   then compare with inst-local golden value

Change-Id: I7bfee53a622d7f0513b457c531df49c1c5e32035
@shinezyy shinezyy merged commit 08e6f66 into xs-dev Sep 12, 2024
5 checks passed
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.

3 participants