Skip to content

Conversation

@heliosfa
Copy link
Contributor

The current instructions fail to work for the demo platform when used with the native Python environment as noted in #116 as the upstream version of FuseSoC does not support tags.

This PR flips the logic surrounding the tags so that the Bscane tap is used by default as this is what is needed for most FPGA-based platforms. Sonata is the obvious exception, so a note has been added to the README.

I've based this off of #136 as that is already approved for merge.

@marnovandermaas marnovandermaas force-pushed the bug-bscane-tap branch 2 times, most recently from abaeffb to c1bab59 Compare March 18, 2025 13:31
@heliosfa
Copy link
Contributor Author

@marnovandermaas is there any chance you can review this please?

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.

Thanks for putting this together. I was trying to make the Sonata target work but didn't have much luck. The main reason why I'm marking this PR as "request changes" is that it also breaks the Verilator simulator, which now also looks for the BSCANE tap. We need to find a solution for this before we can merge this in.

@marnovandermaas
Copy link
Contributor

@heliosfa can you check the latest commit that I put on this PR? This works correctly on Sonata and simulator but it would be good to check the other targets.

@marnovandermaas marnovandermaas dismissed their stale review April 8, 2025 13:02

Should be fixed with latest commit.

@marnovandermaas
Copy link
Contributor

Ok, I've now tested this on the Arty A7 as well, so I think this is safe to merge. Please feel free to open up another issue if you have issues with any of the other boards.

This commit fixes a deficiency of our version of FuseSoC. Previously it
would always use the JTAG TAP, which only works with Sonata and
simulation. This is because flags were not implemented yet. Instead,
this commit uses the synth flag to set whether to use the BSCANE TAP or
the JTAG TAP.

Co-authored-by: Marno van der Maas <[email protected]>
@marnovandermaas marnovandermaas merged commit ed9f040 into lowRISC:main Apr 8, 2025
2 checks passed
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.

2 participants