From 253ee950f6788c649da89f4d06b03b45b4d823f6 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 22 May 2017 17:45:14 +0200 Subject: [PATCH] sawg: fix config channel addr --- artiq/gateware/dsp/sawg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gateware/dsp/sawg.py b/artiq/gateware/dsp/sawg.py index 4814f810b..73eb29318 100644 --- a/artiq/gateware/dsp/sawg.py +++ b/artiq/gateware/dsp/sawg.py @@ -90,7 +90,7 @@ class Config(Module): Signal((width, True), reset=(1 << width - 1) - 1)] for i in range(3)] self.clipped = [Signal(2) for i in range(3)] # TODO - self.i = Endpoint([("addr", bits_for(1 + 4 + len(self.limits))), + self.i = Endpoint([("addr", bits_for(4 + 2*len(self.limits))), ("data", 16)]) self.ce = Signal()