soc.jtag.ecp5: Support all ECP5 devices

- "LFE5UM" devices exclude these without serdes
This commit is contained in:
Greg Davill 2021-10-27 20:36:31 +10:30
parent 296688b2d8
commit 5faddcdb50
1 changed files with 2 additions and 1 deletions

View File

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