efinix:ifacewriter: fix JTAG generation
This commit is contained in:
parent
497eac09a0
commit
2bab1a6b03
|
@ -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'design.assign_resource(jtag, "JTAG_USER{id}", "JTAG")')
|
||||||
cmds.append(f'jtag_config = {{')
|
cmds.append(f'jtag_config = {{')
|
||||||
cmds.append(f' "CAPTURE" : "{get_pin_name(pins.CAPTURE)}",')
|
cmds.append(f' "CAPTURE" : "{get_pin_name(pins.CAPTURE)}",')
|
||||||
cmds.append(f' "DRCK" : "{get_pin_name(pins.DRCK.backtrace)}",')
|
cmds.append(f' "DRCK" : "{get_pin_name(pins.DRCK)}",')
|
||||||
cmds.append(f' "RESET" : "{get_pin_name(pins.RESET.backtrace)}",')
|
cmds.append(f' "RESET" : "{get_pin_name(pins.RESET)}",')
|
||||||
cmds.append(f' "RUNTEST" : "{get_pin_name(pins.RUNTEST.backtrace)}",')
|
cmds.append(f' "RUNTEST" : "{get_pin_name(pins.RUNTEST)}",')
|
||||||
cmds.append(f' "SEL" : "{get_pin_name(pins.SEL.backtrace)}",')
|
cmds.append(f' "SEL" : "{get_pin_name(pins.SEL)}",')
|
||||||
cmds.append(f' "SHIFT" : "{get_pin_name(pins.SHIFT.backtrace)}",')
|
cmds.append(f' "SHIFT" : "{get_pin_name(pins.SHIFT)}",')
|
||||||
cmds.append(f' "TCK" : "{get_pin_name(pins.TCK.backtrace)}",')
|
cmds.append(f' "TCK" : "{get_pin_name(pins.TCK)}",')
|
||||||
cmds.append(f' "TDI" : "{get_pin_name(pins.TDI.backtrace)}",')
|
cmds.append(f' "TDI" : "{get_pin_name(pins.TDI)}",')
|
||||||
cmds.append(f' "TMS" : "{get_pin_name(pins.TMS.backtrace)}",')
|
cmds.append(f' "TMS" : "{get_pin_name(pins.TMS)}",')
|
||||||
cmds.append(f' "UPDATE" : "{get_pin_name(pins.UPDATE.backtrace)}",')
|
cmds.append(f' "UPDATE" : "{get_pin_name(pins.UPDATE)}",')
|
||||||
cmds.append(f' "TDO" : "{get_pin_name(pins.TDO.backtrace)}"')
|
cmds.append(f' "TDO" : "{get_pin_name(pins.TDO)}"')
|
||||||
cmds.append(f'}}')
|
cmds.append(f'}}')
|
||||||
cmds.append(f'design.set_property("jtag_soc", jtag_config, block_type="JTAG")')
|
cmds.append(f'design.set_property("jtag_soc", jtag_config, block_type="JTAG")')
|
||||||
cmds.append(f"# ---------- END JTAG {id} ---------\n")
|
cmds.append(f"# ---------- END JTAG {id} ---------\n")
|
||||||
|
|
Loading…
Reference in New Issue