From e46ba83513f5ab8628c463a252ba43789e0375cf Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 4 Oct 2015 22:53:51 +0800 Subject: [PATCH] rtio/dds: use rio_phy domain to reset FTW tracker. Closes #120 --- artiq/gateware/rtio/phy/dds.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/artiq/gateware/rtio/phy/dds.py b/artiq/gateware/rtio/phy/dds.py index 37dab89f4..f0a8e9c8c 100644 --- a/artiq/gateware/rtio/phy/dds.py +++ b/artiq/gateware/rtio/phy/dds.py @@ -36,13 +36,13 @@ class _AD9xxx(Module): ftws = [Signal(32) for i in range(nchannels)] for c, ftw in enumerate(ftws): if flen(pads.d) == 8: - self.sync.rio += \ + self.sync.rio_phy += \ If(selected(c), [ If(current_address == ftw_base+i, ftw[i*8:(i+1)*8].eq(current_data)) for i in range(4)]) elif flen(pads.d) == 16: - self.sync.rio += \ + self.sync.rio_phy += \ If(selected(c), [ If(current_address == ftw_base+2*i, ftw[i*16:(i+1)*16].eq(current_data)) @@ -51,7 +51,7 @@ class _AD9xxx(Module): raise NotImplementedError # FTW to probe on FUD - self.sync.rio += If(current_address == 2**flen(pads.a), [ + self.sync.rio_phy += If(current_address == 2**flen(pads.a), [ If(selected(c), probe.eq(ftw)) for c, (probe, ftw) in enumerate(zip(self.probes, ftws))])