spiOverJtag/xilinx_spiOverJtag.v: don't redeclares tdo for spartan3e

This commit is contained in:
Gwenhael Goavec-Merou 2025-09-17 11:55:52 +02:00
parent 1fc7539538
commit 06b4e2f143
1 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,8 @@ module spiOverJtag
assign hldn_dq3 = 1'b1; assign hldn_dq3 = 1'b1;
// jtag -> spi flash // jtag -> spi flash
assign sdi_dq0 = tdi; assign sdi_dq0 = tdi;
wire tdo = (sel) ? sdo_dq1 : tdi; assign tdo = (sel) ? sdo_dq1 : tdi;
assign csn = fsm_csn; assign csn = fsm_csn;
wire tmp_cap_s = capture && sel; wire tmp_cap_s = capture && sel;
wire tmp_up_s = update && sel; wire tmp_up_s = update && sel;