From 74e5013fe595a72d639e481d8c48dfc836f3db6c Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Sun, 20 Nov 2016 16:39:22 +0100 Subject: [PATCH] sawg: fix b delay width --- 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 0d038e4fc..9ff89d72e 100644 --- a/artiq/gateware/dsp/sawg.py +++ b/artiq/gateware/dsp/sawg.py @@ -151,7 +151,7 @@ class Channel(Module, SatAddMixin): parallelism=parallelism, a_delay=-a1.latency) cfg = Config(widths.a) u = Spline(width=widths.a, order=orders.a) - du = Delay(widths.a, a1.latency + b.latency - u.latency) + du = Delay(width, a1.latency + b.latency - u.latency) self.submodules += cfg, u, du self.u = u.tri(widths.t) self.i = [cfg.i, self.u, a1.a, a1.f, a1.p, a2.a, a2.f, a2.p, b.f, b.p]