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

PUSH/POP not allowed outside of 'main' PMA regions #772

Merged

Conversation

silabs-oysteink
Copy link
Contributor

No description provided.

…t configured as 'main'.

Tracking push/pop with a bit in instr_meta, propagating to the LSU MPU. Instruction side prefetches are not part of a sequence and the IF stage MPU has this bit tied to zero.

Signed-off-by: Oystein Knauserud <[email protected]>
@silabs-oysteink silabs-oysteink added the Component:RTL For issues in the RTL (e.g. for files in the rtl directory) label Jan 30, 2023
@@ -170,6 +172,7 @@ module cv32e40x_sequencer import cv32e40x_pkg::*;
end
end
3'b110: begin
seq_pushpop_o = 1'b1;
Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer if illegal isntructions are excluded from having seq_push_pop_o set to 1. Same remark for line 191

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, fixed.

@Silabs-ArjanB Silabs-ArjanB merged commit bab6877 into openhwgroup:master Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:RTL For issues in the RTL (e.g. for files in the rtl directory)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants