Skip to content

Additional configurability needed for misa writability #1517

Description

Right now, we have a global writable_misa config option that makes the entire misa CSR read-only or read-write. Implementations can make each individual extension bit read-only or read-write, so we need additional granularity here. For example, Spike makes the U and S bits read-only but the rest of the extension bits read-write.

UDB uses MUTABLE_MISA_A, MUTABLE_MISA_B, etc. as the parameters that control this. We probably need to do something similar.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationAdditional configuration settings needed for the model

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions