Closed gokhankaplayan closed 3 months ago
Hi @gokhankaplayan!
Sorry for the delay.
The read logic is there for debug purposes only, but I need to agree with you, and we should remove it.
Regarding the MSI address configurability, it is not my main priority right now, so it would be great if you could send a PR!
Hi again @gokhankaplayan!
It's been a long time, but we're finally back to developing AIA IP!
What is the reason for the read support (debug purpose)? From my perspective, It creates additional attack surface and compatibility issue with AIA Spec.
Regarding the read logic in IMSIC, I've now made a commit to solve the problem!
The addresses are hard-coded (e.g M-file: h24000000), can we please make it RTL configurable? I can also create PR for that if it is better for you.
Regarding the configuration of the MSI address, can you send a PR to support this feature as you suggested? It would be much appreciated :D
imsic_regmap.sv file implements the read accesses. But, the only memory regions in IMSIC address space returns zero according to spec:
What is the reason for the read support (debug purpose)? From my perspective, It creates additional attack surface and compatibility issue with AIA Spec.
The addresses are hard-coded (e.g M-file: h24000000), can we please make it RTL configurable? I can also create PR for that if it is better for you.