Skip to content

Add halt groups and external triggers.#404

Merged
Tim Newsome (timsifive) merged 6 commits into
masterfrom
haltgroups
Dec 4, 2018
Merged

Add halt groups and external triggers.#404
Tim Newsome (timsifive) merged 6 commits into
masterfrom
haltgroups

Conversation

@timsifive
Copy link
Copy Markdown
Contributor

This allows a group of harts to simultaneously halt when any of them
hits a breakpoint, or even when some other event occurs in the system.

This allows a group of harts to simultaneously halt when any of them
hits a breakpoint, or even when some other event occurs in the system.
Comment thread xml/dm_registers.xml Outdated
Comment thread xml/dm_registers.xml Outdated
Comment thread debug_module.tex
Comment thread introduction.tex
\item A RISC-V hart can be halted when a trigger matches the PC,
read/write address/data, or an instruction opcode. (Optional)
\item Harts can be grouped, and harts in the same group will all halt when
any of them halts. These groups can also react to or notify external
Copy link
Copy Markdown
Collaborator

@mwachs5 Megan Wachs (mwachs5) Nov 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"raise"/"cause" external triggers? I don't know what it means to "notify" a trigger.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about "react to or assert external signals"? (Together with rewriting other uses of trigger in this context to signal.) Trigger inherently implies an input.

Comment thread xml/dm_registers.xml Outdated
<register name="Debug Module Control and Status 2" short="dmcs2" address="0x32">
This register contains DM control and status bits that didn't easily
fit in \Rdmcontrol and \Rdmstatus, and are only likely to be
implemented in larger systems.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is a "larger" system... you mean one with many harts?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Systems that are so large they don't mind an extra hundred gates for debug functionality. Is there a better way to say that?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just say "are optional".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@timsifive Tim Newsome (timsifive) merged commit aeee8f3 into master Dec 4, 2018
@timsifive Tim Newsome (timsifive) deleted the haltgroups branch December 4, 2018 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants