From 07b5b0d36d55fe65ff7305f938f963d9fcf60f6e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 24 Jan 2019 18:27:15 +0800 Subject: [PATCH] kasli: adapt Master target to new hardware --- artiq/examples/kasli_sawgmaster/device_db.py | 2 +- artiq/gateware/targets/kasli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/examples/kasli_sawgmaster/device_db.py b/artiq/examples/kasli_sawgmaster/device_db.py index 6d3f9d7ec..b93d777d1 100644 --- a/artiq/examples/kasli_sawgmaster/device_db.py +++ b/artiq/examples/kasli_sawgmaster/device_db.py @@ -78,7 +78,7 @@ device_db.update( "spi_device": "spi_urukul0", "io_update_device": "ttl_urukul0_io_update", "refclk": 150e6, - "clk_sel": 0 + "clk_sel": 2 } } ) diff --git a/artiq/gateware/targets/kasli.py b/artiq/gateware/targets/kasli.py index b84f19995..16c27c452 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -1150,7 +1150,7 @@ class Master(_MasterBase): # matches Tester EEM numbers eem.DIO.add_std(self, 5, ttl_serdes_7series.InOut_8X, ttl_serdes_7series.Output_8X) - eem.Urukul.add_std(self, 1, 0, ttl_serdes_7series.Output_8X) + eem.Urukul.add_std(self, 0, 1, ttl_serdes_7series.Output_8X) self.config["HAS_RTIO_LOG"] = None self.config["RTIO_LOG_CHANNEL"] = len(self.rtio_channels)