From 77126ce5b384e0deaec3bfcce7cac76bac41d7ea Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 2 Jan 2019 23:04:20 +0800 Subject: [PATCH] kasli: use hwrev 1.1 by default for DRTIO examples --- artiq/gateware/targets/kasli.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/artiq/gateware/targets/kasli.py b/artiq/gateware/targets/kasli.py index b5886e862..0c335feb5 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -1091,8 +1091,10 @@ class _SatelliteBase(BaseSoC): class Master(_MasterBase): - def __init__(self, *args, **kwargs): - _MasterBase.__init__(self, *args, **kwargs) + def __init__(self, hw_rev=None, **kwargs): + if hw_rev is None: + hw_rev = "v1.1" + _MasterBase.__init__(self, hw_rev=hw_rev, **kwargs) self.rtio_channels = [] @@ -1112,8 +1114,10 @@ class Master(_MasterBase): class Satellite(_SatelliteBase): - def __init__(self, *args, **kwargs): - _SatelliteBase.__init__(self, *args, **kwargs) + def __init__(self, hw_rev=None, **kwargs): + if hw_rev is None: + hw_rev = "v1.1" + _SatelliteBase.__init__(self, hw_rev=hw_rev, **kwargs) self.rtio_channels = [] phy = ttl_simple.Output(self.platform.request("user_led", 0))