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

Support limits_icount_to_one in IcountTest #519

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

lz-bro
Copy link
Contributor

@lz-bro lz-bro commented Oct 18, 2023

#516 This is taking into account that the hardware limits count to 1.

@lz-bro
Copy link
Contributor Author

lz-bro commented Oct 18, 2023

The UnavailableHaltedTest returned exception, I also tried git reset --hard 3366371 and run spike64-2 tests.

@lz-bro
Copy link
Contributor Author

lz-bro commented Oct 23, 2023

My modifications don't seem to affect UnavailableTest, but UnavailableHaltedTest returns an exception in spike64-2 tests. I tried git reset --hard 3366371 and ran the spike test locally, it returned an exception. However, I tried git revert 3366371 and ran the spike test locally, it returned no exception. However, In commit 3366371, the spike tests in github workflow return success, I can't figure it out.

debug/targets.py Outdated
Comment on lines 141 to 143
# When true it indicates that the hardware limits icount set to 1
limits_icount_to_one = False

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of limits_icount_to_one = False how about icount_limit = 4 (or whatever default seems reasonable)?

Copy link
Contributor Author

@lz-bro lz-bro Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have changed it according to your opinion.

This is taking into account that the hardware limits count to 1.

Signed-off-by: liangzhen <[email protected]>
@timsifive timsifive merged commit 96403c8 into riscv-software-src:master Oct 25, 2023
2 checks passed
@lz-bro lz-bro deleted the fix_icount branch January 23, 2024 15:22
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.

2 participants