forked from M-Labs/artiq
1
0
Fork 0

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

This reverts commit bd5c222569eb68d624a5ac1e9f2542f6ee553f83.

No decrease in power consumption or improvement in timing.
This commit is contained in:
Robert Jördens 2018-03-06 10:28:34 +00:00 committed by Robert Jordens
parent fd3cdce59a
commit 62af7fe2ac
1 changed files with 1 additions and 3 deletions

View File

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