Skip to content

Conversation

@cchr-ledger
Copy link

This adds a SWD controller to the FPGA architecture, and exposes it through the python API.

@cchr-ledger cchr-ledger requested a review from kingofpayne July 30, 2024 09:22

// ONLY do something if there is a valid command registered, and if
// the user is not currently writing to some register.
rule do_idle ((state == IDLE) && (bus_write == 0) && isValid(cmd));
Copy link
Contributor

Choose a reason for hiding this comment

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

I think bus_write == 0 should not be in the condition here. As long as cmd is valid, the SWD peripheral can start working.
In particular, the host may be talking with another Scaffold peripheral at the same time, and this shall not prevent the SWD from working.

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.

4 participants