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:
ole00 2024-04-20 15:46:44 +01:00
parent 9656fbadd3
commit afae1b2166
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def write_svf(file, svf_bits, device, *, comment):
def emit_check_idcode(idcode):
file.write("// Check IDCODE\n")
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():
file.write("// ISC enable\n")
file.write("SIR 10 TDI ({:03x});\n".format(ATF15xxInstr.ISC_CONFIG))