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 multiple spec versions #319

Open
Timmmm opened this issue Oct 10, 2023 · 3 comments
Open

Support multiple spec versions #319

Timmmm opened this issue Oct 10, 2023 · 3 comments
Assignees
Labels
configuration Additional configuration settings needed for the model

Comments

@Timmmm
Copy link
Collaborator

Timmmm commented Oct 10, 2023

Currently the model doesn't really say what version of any of the specifications it is implementing. We need to add functions in the model to allow switching on the versions.

In the medium term these can be controlled by command line flags. In the long term they can come from the riscv-config YAML. That has entries for the privileged and unprivileged specs which they have confusingly called User_Spec_Version for some reason.

More spec versions are required for all the extensions that are supported (e.g. bitmanip, vector). Those two would be a start though.

@allenjbaum
Copy link
Collaborator

allenjbaum commented Oct 10, 2023 via email

@Timmmm Timmmm added the configuration Additional configuration settings needed for the model label May 7, 2024
@billmcspadden-riscv billmcspadden-riscv self-assigned this Aug 1, 2024
@billmcspadden-riscv
Copy link
Collaborator

I've assigned myself this issue.

I'll be working on PRs for implementation of priv 1.13 features.

@Timmmm
Copy link
Collaborator Author

Timmmm commented Aug 1, 2024

I think it's probably a good idea to add the mechanism for specifying the priv/unpriv spec version (i.e. a version enum, checking function and command line flags) before adding any new features. Also 1.13 doesn't seem to exist - it uses date based versions now apparently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Additional configuration settings needed for the model
Projects
None yet
Development

No branches or pull requests

3 participants