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

Switch to EmbeddedRiscvJtag and openocd-risv #45

Merged
merged 9 commits into from
Dec 16, 2024

Conversation

lmbollen
Copy link
Member

We previously used the old DebugPlugin for VexRiscv which did not allow us to verify the contents of the loaded elf file on the cpu with compare-sections.

This pull requests does the following this:

  • Bump scala and spinal versions.
  • Use EmbeddedRiscvJtag instead of DebugPlugin.
  • Switch to using openocd with remote-bitbang as adapter instead of openocd-vexriscvs custom jtag-tcp.

In the Nix configuration we now use openocd-riscv instead of openocd-vexriscv, so we should update the docker image.

Copy link
Member

@martijnbastiaan martijnbastiaan left a comment

Choose a reason for hiding this comment

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

Wohoo, LGTM.

Would you mind cherry-picking 6909b61?

clash-vexriscv/src/ffi/impl.cpp Outdated Show resolved Hide resolved
.github/docker/Dockerfile Show resolved Hide resolved
lmbollen and others added 9 commits December 16, 2024 09:54
In preperation for replacing the `DebugPlugin` with `EmbeddedRiscvJtag`
From the vscode `Metals` extension for scala
We don't yet use the `stoptime` output
The previous "jtag_tcp" adapter was custom implemented in `openocd-vexriscv`
and thus not available in `openocd-riscv`.
@lmbollen lmbollen force-pushed the lucas/bump-jtag-interface branch from c7023cb to 61c7719 Compare December 16, 2024 08:55
@lmbollen lmbollen enabled auto-merge December 16, 2024 09:03
@lmbollen lmbollen merged commit 0d4be0e into main Dec 16, 2024
9 checks passed
@lmbollen lmbollen deleted the lucas/bump-jtag-interface branch December 16, 2024 09:19
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