Skip to content

Commit

Permalink
rtio: do not reset DDS and SPI PHYs on RTIO reset (#503)
Browse files Browse the repository at this point in the history
sbourdeauducq authored and jordens committed Jul 11, 2016
1 parent eceafad commit 078a9ab
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion artiq/gateware/rtio/phy/dds.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@

class _AD9xxx(Module):
def __init__(self, ftw_base, pads, nchannels, onehot=False, **kwargs):
self.submodules._ll = ClockDomainsRenamer("rio")(
self.submodules._ll = ClockDomainsRenamer("rio_phy")(
ad9xxx.AD9xxx(pads, **kwargs))
self.submodules._rt2wb = RT2WB(len(pads.a)+1, self._ll.bus)
self.rtlink = self._rt2wb.rtlink
2 changes: 1 addition & 1 deletion artiq/gateware/rtio/phy/spi.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@

class SPIMaster(Module):
def __init__(self, pads, **kwargs):
self.submodules._ll = ClockDomainsRenamer("rio")(
self.submodules._ll = ClockDomainsRenamer("rio_phy")(
SPIMasterWB(pads, **kwargs))
self.submodules._rt2wb = RT2WB(2, self._ll.bus)
self.rtlink = self._rt2wb.rtlink

0 comments on commit 078a9ab

Please sign in to comment.