From 2bab1a6b03ff1d2f6d763df2fb3f4653d0eabdae Mon Sep 17 00:00:00 2001 From: Richard Tucker Date: Tue, 29 Nov 2022 16:35:45 +1100 Subject: [PATCH] efinix:ifacewriter: fix JTAG generation --- litex/build/efinix/ifacewriter.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/litex/build/efinix/ifacewriter.py b/litex/build/efinix/ifacewriter.py index 0d31c8506..d01215b3d 100644 --- a/litex/build/efinix/ifacewriter.py +++ b/litex/build/efinix/ifacewriter.py @@ -351,16 +351,16 @@ design.create("{2}", "{3}", "./../gateware", overwrite=True) cmds.append(f'design.assign_resource(jtag, "JTAG_USER{id}", "JTAG")') cmds.append(f'jtag_config = {{') cmds.append(f' "CAPTURE" : "{get_pin_name(pins.CAPTURE)}",') - cmds.append(f' "DRCK" : "{get_pin_name(pins.DRCK.backtrace)}",') - cmds.append(f' "RESET" : "{get_pin_name(pins.RESET.backtrace)}",') - cmds.append(f' "RUNTEST" : "{get_pin_name(pins.RUNTEST.backtrace)}",') - cmds.append(f' "SEL" : "{get_pin_name(pins.SEL.backtrace)}",') - cmds.append(f' "SHIFT" : "{get_pin_name(pins.SHIFT.backtrace)}",') - cmds.append(f' "TCK" : "{get_pin_name(pins.TCK.backtrace)}",') - cmds.append(f' "TDI" : "{get_pin_name(pins.TDI.backtrace)}",') - cmds.append(f' "TMS" : "{get_pin_name(pins.TMS.backtrace)}",') - cmds.append(f' "UPDATE" : "{get_pin_name(pins.UPDATE.backtrace)}",') - cmds.append(f' "TDO" : "{get_pin_name(pins.TDO.backtrace)}"') + cmds.append(f' "DRCK" : "{get_pin_name(pins.DRCK)}",') + cmds.append(f' "RESET" : "{get_pin_name(pins.RESET)}",') + cmds.append(f' "RUNTEST" : "{get_pin_name(pins.RUNTEST)}",') + cmds.append(f' "SEL" : "{get_pin_name(pins.SEL)}",') + cmds.append(f' "SHIFT" : "{get_pin_name(pins.SHIFT)}",') + cmds.append(f' "TCK" : "{get_pin_name(pins.TCK)}",') + cmds.append(f' "TDI" : "{get_pin_name(pins.TDI)}",') + cmds.append(f' "TMS" : "{get_pin_name(pins.TMS)}",') + cmds.append(f' "UPDATE" : "{get_pin_name(pins.UPDATE)}",') + cmds.append(f' "TDO" : "{get_pin_name(pins.TDO)}"') cmds.append(f'}}') cmds.append(f'design.set_property("jtag_soc", jtag_config, block_type="JTAG")') cmds.append(f"# ---------- END JTAG {id} ---------\n")