-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Labels
Description
[5.7.17. Trigger Extra (RV32) (textra32, at 0x7a3), mhselect
filed description] states:
riscv-debug-spec/xml/hwbp_registers.xml
Lines 1446 to 1448 in 22a7576
1, 5 (mcontext_select): This trigger will only match or fire if the | |
low bits of | |
{csr-mcontext}/{csr-hcontext} equal {{textra32-mhvalue}, mhselect[2]}. |
It's unclear whether mhselect[2]
is compared with the most significant bit of [mh]context
or with the least significant one.
From the position of the field (mhselect[2]
is the 25th bit of textra32
and mhvalue
spans bits 26 through 31) it seems like mhselect[2]
is compared with the LSB.
Is the interpretation correct? Can this be clarified?