You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Officially, there are no spec versions, just extensions - except the priv
spec has extension names with numbers in them. (e.g. priv 1.11, 1.12, and
eventually 1.13 I suppose).
There are some chips out there that have implemented unratified versions of
specs - those are considered custom extensions.
Whether we want to support those in Sail is a different discussion.
On Tue, Oct 10, 2023 at 5:26 AM Tim Hutt ***@***.***> wrote:
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
<https://riscv-config.readthedocs.io/en/stable/yaml-specs.html#user-spec-version>
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.
—
Reply to this email directly, view it on GitHub
<#319>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPXVJQWUVJP6STPSVXUXEDX6U5HXAVCNFSM6AAAAAA52IUOPWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTKMRSHEYTOMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
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.
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.
The text was updated successfully, but these errors were encountered: