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

[hw,pwrmgr,rtl] Make the SoC see what the slow FSM sees #25889

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

Razer6
Copy link
Member

@Razer6 Razer6 commented Jan 15, 2025

... to generate the light reset request.

@Razer6 Razer6 requested review from rswarbrick and vogelpi January 15, 2025 19:34
Copy link
Contributor

@vogelpi vogelpi left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @Razer6 .

The CI failure is related to the OTP issue for which @rswarbrick did a hot fix. Can you please rebase?

}
);
// Make the SoC see what the slow FSM sees to to generate the light_reset to the SoC
assign internal_reset_req = |slow_peri_reqs_masked.rstreqs;
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks good to me. For other reviewers slow_per_reqs_masked.rstreqs is defined as follows:

assign slow_peri_reqs_masked.rstreqs = slow_peri_reqs.rstreqs &
                                         {{NumSwRstReq{1'b1}},
                                          {NumDebugRstReqs{1'b1}},
                                          {NumIntRstReqs{1'b1}},
                                          slow_reset_en};

So this change here effectively allows forwarding the reset enabled with reg2hw.reset_en[1].

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the explanation: that makes sense to me now!

@vogelpi vogelpi requested a review from matutem January 16, 2025 20:22
... to generate the light reset request.

Signed-off-by: Robert Schilling <[email protected]>
@Razer6
Copy link
Member Author

Razer6 commented Jan 17, 2025

The CI failure is related to the OTP issue for which @rswarbrick did a hot fix. Can you please rebase?

@vogelpi Just rebased to the latest changes in master.

}
);
// Make the SoC see what the slow FSM sees to to generate the light_reset to the SoC
assign internal_reset_req = |slow_peri_reqs_masked.rstreqs;
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the explanation: that makes sense to me now!

@rswarbrick rswarbrick merged commit de9efe7 into lowRISC:master Jan 18, 2025
37 of 38 checks passed
@Razer6 Razer6 deleted the pwrmgr-soc-reset branch January 18, 2025 08:39
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