kasli/opticlock: use plain ttls for channels 8-23

This commit is contained in:
Robert Jördens 2018-03-05 19:14:27 +00:00 committed by Robert Jordens
parent 50298a6104
commit fd3cdce59a

View File

@ -267,8 +267,10 @@ class Opticlock(_StandaloneBase):
pads = platform.request("eem{}".format(eem), port)
if i < 4:
cls = ttl_serdes_7series.InOut_8X
else:
elif i < 8:
cls = ttl_serdes_7series.Output_8X
else:
cls = ttl_simple.Output
phy = cls(pads.p, pads.n)
self.submodules += phy
rtio_channels.append(rtio.Channel.from_phy(phy))