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

About Zicif #186

Closed
haosun86 opened this issue Sep 30, 2024 · 3 comments
Closed

About Zicif #186

haosun86 opened this issue Sep 30, 2024 · 3 comments

Comments

@haosun86
Copy link

Hi,

Zicif has the following description"
"Main memory regions with both the cacheability and coherence PMAs must support instruction fetch, and any instruction fetches of naturally aligned power-of-2 sizes up to min(ILEN,XLEN) (i.e., 32 bits for RVA23) are atomic"

I am confused about the atomic granule.

My machine has ILEN = 32, and XLEN =32.
It supports 32-bit instruction, and 16-bit instruction.

Does this extension require that 32-bit instruction fetch should be atrocity?
In this machine, 32-bit instruction might be fetched for 2 times, since there exists 16-bit instruction. Does this match this extension definition?

Thanks
Hao Sun

@kasanovic
Copy link
Collaborator

If there can be an intervening access observed between the two 16-bit fetches of the two instruction halves, then the implementation would not satisfy the property.

@kasanovic
Copy link
Collaborator

Closing issue, as question answered.

@haosun86
Copy link
Author

haosun86 commented Oct 8, 2024

thanks so much

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

2 participants