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

176 missing description for mip csr #272

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

james-ball-qualcomm
Copy link
Collaborator

@james-ball-qualcomm james-ball-qualcomm commented Nov 14, 2024

Created $copy to copy string values like $ref. Added unit-level test. Fixed mie to be defined by Sm not I extension. Description for mip and mie is now shared mimicing ISA manual.

Fixes #176

… Fixed mie to be defined by Sm not I extension. Description for mip and mie is now shared mimicing ISA manual.
@james-ball-qualcomm james-ball-qualcomm linked an issue Nov 14, 2024 that may be closed by this pull request
in the `sip` register and is maskable using the `sie` register.
Otherwise, the corresponding bits in `sip` and `sie` are read-only zero.
definedBy: Sm
description: "$copy: mip.yaml#/mip/description"
Copy link
Collaborator

Choose a reason for hiding this comment

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

why doesn't $ref work here? I think the intent is that it should, like so:

description:
  $ref: "mip.yaml#/mip/description"

Further, we don't want $copy to be hidden in a string. Assuming we need to keep $copy for some reason, it should look like:

description:
  $copy: "mip.yaml#/mip/description"

Copy link
Collaborator Author

@james-ball-qualcomm james-ball-qualcomm Nov 14, 2024

Choose a reason for hiding this comment

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

I would have used $ref if it worked (it doesn't). That's because changing
description: "foo"
to

   description:
      some-key: "foo"

would be changing "description" from a string to a hash and that would break everything using it (which it does).

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

Successfully merging this pull request may close these issues.

Missing description for mip CSR
2 participants