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

Review reset sequencing in verilator and FPGA models #1674

Open
jhand2 opened this issue Sep 16, 2024 · 0 comments
Open

Review reset sequencing in verilator and FPGA models #1674

jhand2 opened this issue Sep 16, 2024 · 0 comments
Assignees

Comments

@jhand2
Copy link
Collaborator

jhand2 commented Sep 16, 2024

According to the integration spec cptra_rst and cptra_pwrgood should be synchronized with the Caliptra clock. Also this table indicates that cptra_powergood and cptra_rst should be deasserted on the same clock cycle.

This is likely not possible in the FPGA model because we do not have hardware that can drive those signals synchronized with the clock. So it makes sense that we deassert cptra_rst first to make sure it is already deasserting.

However in verilator we have fine-grained control over the clock. So we should make sure boot works as expected if both signals are deasserted on the same clock cycle.

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

No branches or pull requests

2 participants