From 7ee67db8e3c2536ae4d8f5f655d5793193402e59 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 8 Jul 2020 20:02:46 +0800 Subject: [PATCH] use IOSERDES TTL --- src/zc706.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/zc706.py b/src/zc706.py index 3c2d9943..b7c66d50 100755 --- a/src/zc706.py +++ b/src/zc706.py @@ -113,16 +113,16 @@ class NIST_CLOCK(ZC706): rtio_channels = [] for i in range(16): if i % 4 == 3: - phy = ttl_simple.InOut(platform.request("ttl", i)) + phy = ttl_serdes_7series.InOut_8X(platform.request("ttl", i)) self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512)) else: - phy = ttl_simple.Output(platform.request("ttl", i)) + phy = ttl_serdes_7series.Output_8X(platform.request("ttl", i)) self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy)) for i in range(2): - phy = ttl_simple.InOut(platform.request("pmt", i)) + phy = ttl_serdes_7series.InOut_8X(platform.request("pmt", i)) self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512)) @@ -163,8 +163,7 @@ class NIST_QC2(ZC706): # All TTL channels are In+Out capable for i in range(40): - phy = ttl_simple.InOut( - platform.request("ttl", i)) + phy = ttl_serdes_7series.InOut_8X(platform.request("ttl", i)) self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy, ififo_depth=512))