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

On exception handle, NEMU (as DUT) mismatch with Spike #394

Closed
shinezyy opened this issue Jul 12, 2024 · 1 comment
Closed

On exception handle, NEMU (as DUT) mismatch with Spike #394

shinezyy opened this issue Jul 12, 2024 · 1 comment

Comments

@shinezyy
Copy link
Contributor

When trapping on exception, occasionally, NEMU has executed csrrw tp,mscratch,tp, but Spike has not. It seems that Spike is one step behind NEMU.

I tried advances Spike for one more step, its architectural state will match with NEMU again.

Similar behavior has been observed when GEM5 is DUT and NEMU is reference.

@shinezyy
Copy link
Contributor Author

fixed in #407

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

No branches or pull requests

1 participant