-
Notifications
You must be signed in to change notification settings - Fork 746
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
[hw/pulp_riscv_dbg] Fix reset value of tap_state_q
#24018
[hw/pulp_riscv_dbg] Fix reset value of tap_state_q
#24018
Conversation
This fixes upstream issue pulp-platform/riscv-dbg#165 by applying upstream PR pulp-platform/riscv-dbg#169. The change gets applied in a patch to avoid re-vendoring, which would be inconvenient at the current time. This also reverts commit bd76d92 "[jtag,dv] Allow the jtag monitor to "reset" to a different TAP state" and commit 3b41400 "[rv_dm,dv] Teach environment about TAP's reset FSM state", which together replicated this problem in our DV code. Signed-off-by: Andreas Kurth <adk@lowrisc.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @andreaskurth !
CHANGE AUTHORIZED: hw/vendor/pulp_riscv_dbg/src/dmi_jtag_tap.sv |
CHANGE AUTHORIZED: hw/vendor/pulp_riscv_dbg/src/dmi_jtag_tap.sv |
I just ran a full block-level regression, and results seem comparable to current nightlies:
|
This fixes upstream issue pulp-platform/riscv-dbg#165 by applying upstream PR pulp-platform/riscv-dbg#169. The change gets applied in a patch to avoid re-vendoring, which would be inconvenient at the current time.
This also reverts commit bd76d92 "[jtag,dv] Allow the jtag monitor to "reset" to a different TAP state" and commit 3b41400 "[rv_dm,dv] Teach environment about TAP's reset FSM state", which together replicated this problem in our DV code.
This fixes #24019.