Skip to content

[rv_dm] havereset may assert at incorrect time #19502

Closed as not planned
Closed as not planned

Description

Description

It appears havereset asserts when an NDM reset begins:

// set the havereset flag when we did a ndmreset
if (ndmreset_o) begin
havereset_d_aligned[NrHarts-1:0] = '1;
end

This does not follow spec. havereset should only assert once the reset completes, and it may be used as a synchronization point for the debugger. It's not used in openocd upstream yet (where there is a bug with merely checking allunavail), but it is properly checked in riscv-openocd.

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

Metadata

Assignees

Labels

Earlgrey-PROD CandidateTemporary label to triage issues into Earlgrey-PROD Milestones

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions