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

Sdtrig: Clarify that tinfo.version is a global constant, not per-trigger #1081

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions xml/hwbp_registers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ same project unless stated otherwise.
<field name="0" bits="XLEN-1:32" access="R" reset="0" />
<field name="version" bits="31:24" access="R" reset="Preset">
Contains the version of the Sdtrig extension implemented.

[NOTE]
====
This field refers to the version of the whole Sdtrig extension.
For that reason, all triggers contain the same version number.
====

<value v="0" name="0">
Supports triggers as described in this spec at commit 5a5c078,
made on February 2, 2023.
Expand All @@ -195,9 +202,9 @@ same project unless stated otherwise.
</field>
<field name="0" bits="23:16" access="R" reset="0" />
<field name="info" bits="15:0" access="R" reset="Preset">
One bit for each possible {tdata1-type} enumerated in {csr-tdata1}. Bit N
corresponds to type N. If the bit is set, then that type is
supported by the currently selected trigger.
One bit for each possible {tdata1-type} enumerated in {csr-tdata1}.
Bit N corresponds to type N. If the bit is set, then that type is
supported by the currently selected trigger (by {csr-tselect}).

If the currently selected trigger doesn't exist, this field
contains 1.
Expand Down