forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 3 additions and 1 deletions

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))