mirror of
https://github.com/ole00/afterburner.git
synced 2024-11-28 00:50:30 +00:00
jtag: fuseconv.py: added support for ATF150XASV (3.3V)
The converted code ID check will match either AS or ASL or ASV flavours of the ATF150X ICs.
This commit is contained in:
parent
9656fbadd3
commit
afae1b2166
@ -96,7 +96,7 @@ def write_svf(file, svf_bits, device, *, comment):
|
|||||||
def emit_check_idcode(idcode):
|
def emit_check_idcode(idcode):
|
||||||
file.write("// Check IDCODE\n")
|
file.write("// Check IDCODE\n")
|
||||||
file.write("SIR 10 TDI ({:03x});\n".format(ATF15xxInstr.IDCODE))
|
file.write("SIR 10 TDI ({:03x});\n".format(ATF15xxInstr.IDCODE))
|
||||||
file.write("SDR 32 TDI (ffffffff)\n\tTDO ({:08x})\n\tMASK (ffffffff);\n".format(idcode))
|
file.write("SDR 32 TDI (fffeefff)\n\tTDO ({:08x})\n\tMASK (fffeefff);\n".format(idcode))
|
||||||
def emit_enable():
|
def emit_enable():
|
||||||
file.write("// ISC enable\n")
|
file.write("// ISC enable\n")
|
||||||
file.write("SIR 10 TDI ({:03x});\n".format(ATF15xxInstr.ISC_CONFIG))
|
file.write("SIR 10 TDI ({:03x});\n".format(ATF15xxInstr.ISC_CONFIG))
|
||||||
|
Loading…
Reference in New Issue
Block a user