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

Generated Registers space smaller than the defined address range #453

Open
DerekWangScaleflux opened this issue Mar 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@DerekWangScaleflux
Copy link

Hi Caliptra team,
There is a potential issue in the current generated registers module: the address range of generated register module is smaller than the defined address range.

    For example, DOE space range is defined as 0x1000_0000 to 0x1000_7FFF, address width is 15 bits.
    But generated DOE register module only use address bit [11:0].

    So if CPU is accessing address 0x1000_1000, it is accessed the reserved space of DOE registers, but actually it will corrupt the register 0x1000_0000.

     This will be a potential issue, right ? Because software could go wrong somewhere, and it will be hard to debug if software write some reserved register address.

     Pls help to comment.

Best Regards
Derek Wang

@Nitsirks Nitsirks added the enhancement New feature or request label Mar 7, 2024
@Nitsirks
Copy link
Contributor

Nitsirks commented Mar 7, 2024

Thanks for the feedback Derek. Labeled as enhancement for possible future implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants