Merge pull request #1090 from gregdavill/jtag_ecp5_fix
soc.jtag.ecp5: Support all ECP5 devices
This commit is contained in:
commit
70c5be6fb8
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue