Merge pull request #1090 from gregdavill/jtag_ecp5_fix

soc.jtag.ecp5: Support all ECP5 devices
This commit is contained in:
enjoy-digital 2021-10-27 14:34:30 +02:00 committed by GitHub
commit 70c5be6fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -176,9 +176,10 @@ class JTAGPHY(Module):
jtag = S7JTAG(chain=chain) jtag = S7JTAG(chain=chain)
elif device[:4] in ["xcku", "xcvu"]: elif device[:4] in ["xcku", "xcvu"]:
jtag = USJTAG(chain=chain) jtag = USJTAG(chain=chain)
elif device[:6] == "LFE5UM": elif device[:5] == "LFE5U":
jtag = ECP5JTAG() jtag = ECP5JTAG()
else: else:
print(device)
raise NotImplementedError raise NotImplementedError
self.submodules.jtag = jtag self.submodules.jtag = jtag