Skip to content

Attempt access on every byte of an unaligned access#23

Open
GregAC wants to merge 1 commit intolowRISC:ibex_cosimfrom
GregAC:unaligned_accesses
Open

Attempt access on every byte of an unaligned access#23
GregAC wants to merge 1 commit intolowRISC:ibex_cosimfrom
GregAC:unaligned_accesses

Conversation

@GregAC
Copy link
Copy Markdown

@GregAC GregAC commented Nov 16, 2022

To match Ibex behaviour this updates the spike unaligned load/store behaviour to try accessing all bytes rather than stopping as soon as an error is seen. If one or more errors are seen whilst accessing these bytes the first one is thrown.

To match Ibex behaviour this updates the spike unaligned load/store
behaviour to try accessing all bytes rather than stopping as soon as an
error is seen. If one or more errors are seen whilst accessing these
bytes the first one is thrown.
@GregAC
Copy link
Copy Markdown
Author

GregAC commented Nov 17, 2022

I think we'll hold off on merging this for now, we also need changes on the co-sim side for it to work and some more investigation is needed there lowRISC/ibex#1948

@Boyifyoudontstop
Copy link
Copy Markdown

I tried applying these changes myself and ran into the same issue, are there any updates on this that allow spike to continue running after an exception?

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