diff --git a/examples/device_db.py b/examples/device_db.py index 110c19f1..49ab2518 100644 --- a/examples/device_db.py +++ b/examples/device_db.py @@ -32,7 +32,7 @@ device_db = { "led3": { "type": "local", "module": "artiq.coredevice.ttl", - "class": "TTLInOut", + "class": "TTLOut", "arguments": {"channel": 3} }, } diff --git a/zc706.py b/zc706.py index 939695d3..fab0c5bf 100755 --- a/zc706.py +++ b/zc706.py @@ -32,7 +32,7 @@ class ZC706(SoCCore): rtio_channels = [] for i in range(4): pad = platform.request("user_led", i) - phy = ttl_simple.InOut(pad) + phy = ttl_simple.Output(pad) self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy)) self.add_rtio(rtio_channels)