From 72aef5799e0739a146b20ce12ff8c87ebfc25795 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 18 May 2018 22:55:28 +0800 Subject: [PATCH] kasli/ustc: use TTLOut --- artiq/gateware/targets/kasli.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/artiq/gateware/targets/kasli.py b/artiq/gateware/targets/kasli.py index bdc2b283d..049babe32 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -750,7 +750,11 @@ class USTC(_StandaloneBase): for i in range(24): eem_offset, port = divmod(i, 8) pads = platform.request("eem{}".format(5 + eem_offset), port) - phy = ttl_serdes_7series.InOut_8X(pads.p, pads.n) + if i < 4: + cls = ttl_serdes_7series.InOut_8X + else: + cls = ttl_serdes_7series.Output_8X + phy = cls(pads.p, pads.n) self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy))