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

What is a minimal RV32I core that is compliant? #3

Open
atthecodeface opened this issue Oct 15, 2018 · 3 comments
Open

What is a minimal RV32I core that is compliant? #3

atthecodeface opened this issue Oct 15, 2018 · 3 comments

Comments

@atthecodeface
Copy link

RV32I does not require a PLIC, but Zephyr 1.13 does not run a riscv-privilege build without one, without modification to the Zephyr OS Core.

Can one build a non-riscv-privilege core (as far as Zephyr 1.13 is concerned) - would this not require modification to Zephyr OS core?

@AnttiLukats
Copy link
Contributor

YES you need at least minimal interrupt handling that complies to the privileged stuff. So you need at least: writeable mtvec, one timer tick interrupt with pending and enable bits as per PLIC.
This rules EXCLUDES all designs based on picorv32 as example, any custom style interrupt processing violates the rule requirements.

@Dolu1990
Copy link

@AnttiLukats
Copy link
Contributor

Yes sure no PLIC, if you use machine timer interrupt, this machine timer and interrupt handling has to be compliant to riscv spec.

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

3 participants