Skip to content

Conversation

@PengchengYang-xdu
Copy link

PR Description
Summary
This PR fixes a bug in the nexys FPGA top-level wrapper (xilinx_pulpissimo.v) where the pad_jtag_tdo port was incorrectly declared as an input. This prevented the JTAG interface from outputting data, making debugging impossible on nexys FPGA targets.

Changes
Modified ./target/fpga/pulpissimo-nexys/rtl/xilinx_pulpissimo.v.
Changed the direction of pad_jtag_tdo from input to inout.

Reasoning
In the JTAG standard, TDO is the serial output stream from the chip. Declaring it as an input in the top-level module prevents the internal JTAG controller from driving the external pin.

Verification
Tested on Nexys A7 100T. After this change, the JTAG IDCODE can be correctly scanned by OpenOCD and OpenOCD/GDB works properly.

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.

1 participant