-
Notifications
You must be signed in to change notification settings - Fork 656
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
The current default IOBinder for Debug Module does not punch out the ndreset (and hartResetReq)? #2048
Comments
@jerryz123 Jerry, sorry to bother, do you have any comment on this? Any reply will be very appreciated. |
We haven't used the JTAG-driven reset in our test chips. There is a PR right now to expose the reset pin for the JTAG state machine, but this isn't exactly what you are asking for. We generally wire up the reset of the chip to the host FPGA, and use different FPGA bitstreams or FPGA capabilities to reset the chip during bringup, not JTAG. For resetting harts, we haven't used I'd be open to reviewing and merging any PRs that add debug-module-driven-bringup features. |
Thanks for your reply, Jerry, I really appreiciate your comment on this. In terms of use different FPGA bitstreams or FPGA capabilities to reset the chip during bringup, I think this is very typical way to reset the system. But I have some confusion on the current Debug IOBinder, it seems that the the system reset will reset the whole soc, including the DTM and DM.
I think many people expect a debuging functionality that the core can jump right into the DebugROM out of reset. But it seems that there is no way to accomplish this under the current IOBinder configration because the system reset or power on reset will reset all part of SOC, including the TLDebugOuter which is in charge of handling the |
After pondering about this again, I feel like jumping directly to |
Background Work
OS Setup
Not-relevant
Other Setup
Ex: Prior steps taken / Documentation Followed / etc...
Current Behavior
Hi Community,
Our team is taping out a chipyard based design and we have confusion on the JTAG interface. Currently, it seems that the iobinder for
HasPeripheryDebug
punched out only JTAGChipIO(4 wires) out of chip. After going thru the code, it seems that thendreset
are left unconnected, this means that the debugger can not writendmreset
field ofdmcontrol
to reset the whole system(except theDTM
ANDDM
), also thesystem.resetctrl.hartResetReq
seems also unconnected, indicating that we can not reset the specific hart by assertinghartreset
indmcontrol
. So, If we leave the iobinder as it currently is, does this mean that there is no way for debuggers to forcefully reset the whole system or a speicific hart. Since this is our first tapout, I wonder if this is the default debugging configuration for other team that had tapped out chipyard based design before.Can anyone shed some light into this? Any help will be appreciated. Thanks for you work.
Expected Behavior
See above
Other Information
No response
The text was updated successfully, but these errors were encountered: