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

Move Sail exception code into its own file #596

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

Timmmm
Copy link
Collaborator

@Timmmm Timmmm commented Oct 15, 2024

This is not necessary for the model currently, however internally we wanted to use internal_error in a file that was before riscv_types.sail. Putting it in its own file makes that possible, and I think it's an organisational improvement even if the model currently does not need it.

This is not necessary for the model currently, however internally we wanted to use `internal_error` in a file that was before `riscv_types.sail`. Putting it in its own file makes that possible, and I think it's an organisational improvement even if the model currently does not need it.
Copy link

Test Results

396 tests  ±0   396 ✅ ±0   0s ⏱️ ±0s
  4 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit ae986bf. ± Comparison against base commit 2b65a0d.

Copy link
Contributor

@jordancarlin jordancarlin left a comment

Choose a reason for hiding this comment

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

Should probably update the title to clarify this is moving internal Sail exceptions and not riscv exceptions, especially since riscv_sys_exceptions.sailalready exists for that purpose. Otherwise, LGTM.

@Timmmm Timmmm changed the title Move exception code into its own file Move Sail exception code into its own file Oct 16, 2024
Copy link
Collaborator

@arichardson arichardson left a comment

Choose a reason for hiding this comment

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

Maybe it's simpler to move this into prelude.sail? But either way this LGTM.

@Timmmm Timmmm merged commit 3ce09b8 into riscv:master Oct 31, 2024
2 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