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

[top/rbox] Instantiate rbox in top-level #5928

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

msfschaffner
Copy link
Contributor

@msfschaffner msfschaffner commented Apr 2, 2021

This instantiates and the sysrst_ctrl in the top level and fixes a couple of discrepancies that lead to simulation and topgen errors during integration.

Note that this PR needs the new topgen features for pinout and pinmux configuration, and is therefore dependent on #5793 which has not been merged yet. This PR therefore looks much bigger than it actually is.
Please only look at the last two commits in this PR. The other commits will be rebased away.

{ name: "sysrst_ctrl_aon",
type: "sysrst_ctrl",
clock_srcs: {clk_i: "io_div4", clk_aon_i: "aon"},
clock_group: "powerup",
Copy link

Choose a reason for hiding this comment

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

the clock group probably doesn't need to be "powerup", i would probably move it to the the "secure" category.
@esshiu
@mdhayter

I'm assuming the sysrst_ctrl clock is not something you want software to be able to accidentally disable is that right? This thing being able to run all the time is probably fairly important.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh yeah that's right. Let's move this to secure then.

@tjaychen
Copy link

tjaychen commented Apr 5, 2021

this lgtm. As for the private CI failure, the usbdev needs an exclusion on activating the wake features.
i'll push as separate PR for that if it's not already done by someone else.

@msfschaffner msfschaffner force-pushed the instantiate-rbox branch 4 times, most recently from d29869e to 78aa47e Compare April 8, 2021 01:21
@msfschaffner msfschaffner merged commit e029a68 into lowRISC:master Apr 8, 2021
@msfschaffner msfschaffner deleted the instantiate-rbox branch February 18, 2022 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants