From 29e5c95afaeeba159770b291cc561eb3bbf21cd9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 11 Jul 2018 19:02:59 +0800 Subject: [PATCH] sayma_rtm: minor cleanup --- artiq/gateware/targets/sayma_rtm.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/artiq/gateware/targets/sayma_rtm.py b/artiq/gateware/targets/sayma_rtm.py index 7f4cc476d..5060b03fe 100755 --- a/artiq/gateware/targets/sayma_rtm.py +++ b/artiq/gateware/targets/sayma_rtm.py @@ -102,6 +102,7 @@ class RTMScratch(Module, AutoCSR): read_data.status.eq(fifo.source.data) ] + CSR_RANGE_SIZE = 0x800 @@ -162,10 +163,7 @@ class SaymaRTM(Module): csr_devices.append("allaki_atts") # HMC clock chip and DAC control - self.comb += [ - platform.request("ad9154_rst_n").eq(1), - ] - + self.comb += platform.request("ad9154_rst_n").eq(1) self.submodules.converter_spi = spi2.SPIMaster(spi2.SPIInterface( platform.request("hmc_spi"), platform.request("ad9154_spi", 0),