From d16068dd9b6ff53d21961e9aeeadbc81ab44947b Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 14 Oct 2016 12:11:39 +0200 Subject: [PATCH] sawg: absolute phase updates --- artiq/gateware/dsp/sawg.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/gateware/dsp/sawg.py b/artiq/gateware/dsp/sawg.py index f39b3603a..6d6fdb241 100644 --- a/artiq/gateware/dsp/sawg.py +++ b/artiq/gateware/dsp/sawg.py @@ -37,8 +37,10 @@ class DDSFast(Module): If(self.f.stb, eqh(q.i.f, self.f.f) ), + q.i.clr.eq(0), If(self.p.stb, - eqh(q.i.p, self.p.p) + eqh(q.i.p, self.p.p), + q.i.clr.eq(1) ), q.i.stb.eq(self.f.stb | self.p.stb), ] @@ -47,7 +49,6 @@ class DDSFast(Module): self.f.ack.eq(1), self.p.ack.eq(1), q.o.ack.eq(1), - q.i.clr.eq(0), ] c = []