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

Fix SPI controller interrupt routing #324

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Conversation

alees24
Copy link
Contributor

@alees24 alees24 commented Nov 5, 2024

With the semantic change to the SPI_NUM parameter, the final 3 SPI controllers lost their ability to stimulate the PLIC. Correct the wiring.

(Built into FPGA on top of PR #323 and timing-clean; tests/test_runner passing.)

With the semantic change to the `SPI_NUM` parameter, the final
3 SPI controllers lost their ability to stimulate the PLIC.
Correct the wiring.
@alees24 alees24 requested review from GregAC and HU90m November 5, 2024 21:03
Rx and Tx were transposed in the comments.
@alees24 alees24 added bug Something isn't working 1.0 labels Nov 5, 2024
Copy link
Member

@HU90m HU90m left a comment

Choose a reason for hiding this comment

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

@engdoreis I'm concerned that this wasn't caught by the interrupt test. I've created #325

@HU90m HU90m merged commit 2c42769 into lowRISC:main Nov 6, 2024
3 checks passed
Copy link
Contributor

@marnovandermaas marnovandermaas left a comment

Choose a reason for hiding this comment

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

I would have probably preferred to define another local parameter equal to SPI_NUM + 3 instead of hardcoding the 3 in multiple places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants