Skip to content

Does setting mcontrol6 trigger to NAPOT limit the size of tdata2 due to maskmax restriction? #1073

Open
@ThimayaPR

Description

With regards to NAPOT match trigger, if an implementation chooses to support maskmax6 an N.
We would expect tdata2[N-1] to be set to zero to comply with 5.7.12.
Screenshot 2024-10-08 at 3 42 21 PM

e.g:
In a system with XLEN=64.
We setup maxmask6 to be 63 (tdata2[62] will be set to zero) and configure tdata1 to setup a NAPOT trigger.

What is the expected behaviour of tdata2 when we attempt to write tdata2[61:0] with all ones?

Are we expected to read back 0x3fff...ffff [the same value we attempt to write]
or
are we expected to read back 0xbfff...ffff since we are anyway limiting the NAPOT range to 2^63?

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions