forked from M-Labs/artiq
1
0
Fork 0

Added second argument to DIO.add_STD in master and satellite variant of kasli (now builds properly)

This commit is contained in:
Paweł 2018-05-30 14:02:28 +02:00 committed by Sébastien Bourdeauducq
parent 8fd57e6ccb
commit 44c7a028cb
1 changed files with 2 additions and 2 deletions

View File

@ -834,7 +834,7 @@ class Master(_MasterBase):
phy = ttl_simple.Output(sc.led) phy = ttl_simple.Output(sc.led)
self.submodules += phy self.submodules += phy
self.rtio_channels.append(rtio.Channel.from_phy(phy)) self.rtio_channels.append(rtio.Channel.from_phy(phy))
eem.DIO.add_std(self, 0, ttl_serdes_7series.InOut_8X) eem.DIO.add_std(self, 0, ttl_serdes_7series.InOut_8X, ttl_serdes_7series.InOut_8X)
self.config["HAS_RTIO_LOG"] = None self.config["HAS_RTIO_LOG"] = None
self.config["RTIO_LOG_CHANNEL"] = len(self.rtio_channels) self.config["RTIO_LOG_CHANNEL"] = len(self.rtio_channels)
@ -856,7 +856,7 @@ class Satellite(_SatelliteBase):
phy = ttl_simple.Output(self.platform.request("sfp_ctl", i).led) phy = ttl_simple.Output(self.platform.request("sfp_ctl", i).led)
self.submodules += phy self.submodules += phy
self.rtio_channels.append(rtio.Channel.from_phy(phy)) self.rtio_channels.append(rtio.Channel.from_phy(phy))
eem.DIO.add_std(self, 0, ttl_serdes_7series.InOut_8X) eem.DIO.add_std(self, 0, ttl_serdes_7series.InOut_8X, ttl_serdes_7series.InOut_8X)
self.add_rtio(self.rtio_channels) self.add_rtio(self.rtio_channels)