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

Single stepping through hwloop does not work #571

Open
bluewww opened this issue Nov 7, 2020 · 1 comment
Open

Single stepping through hwloop does not work #571

bluewww opened this issue Nov 7, 2020 · 1 comment
Labels
Component:RTL For issues in the RTL (e.g. for files in the rtl directory) PARAM:PULP_XPULP Issue depends on the PULP_XPULP parameter Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system

Comments

@bluewww
Copy link
Contributor

bluewww commented Nov 7, 2020

Single stepping through hardware loops doesn't work.

Steps to Reproduce

  1. git hash 6c858bc (master)

Unfortunately, I don't have a minimized reproducible example at hand, but it was reported to me that single stepping via openocd through hwloops doesn't work.

Also, back then when I implemented the states for riscv debug module support, I didn't invest any resources to add the special handling probably required for hwloops.

Does steps to make a reproducer are probably roughly like this:

  1. write program containing hwloops in asm (or in c)
  2. run it in testbench setup with the debug module that allows for interaction with openocd such as the riscv-dbg testbench (core-v-verif used to have such a testbench too but it was removed)
  3. do the single stepping over gdb -> openocd -> simulated testbench.
@bluewww bluewww added the Component:RTL For issues in the RTL (e.g. for files in the rtl directory) label Nov 7, 2020
@bluewww bluewww changed the title Single stepping through hwloop Single stepping through hwloop does not work Nov 7, 2020
@Silabs-ArjanB Silabs-ArjanB added PARAM:PULP_XPULP Issue depends on the PULP_XPULP parameter Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system labels Nov 7, 2020
@MikeOpenHWGroup
Copy link
Member

Hello @bluewww, it has been a very long time and I know this is a long shot, but are you in a position to replicate this issue? At this point the HWLOOP feature has been extensively verified and there are no known RTL issues related to this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:RTL For issues in the RTL (e.g. for files in the rtl directory) PARAM:PULP_XPULP Issue depends on the PULP_XPULP parameter Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Projects
None yet
Development

No branches or pull requests

3 participants