targets/mlabs_video: use new Cat syntax
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 5 Dec 2013 22:55:14 +0000 (23:55 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 5 Dec 2013 22:55:14 +0000 (23:55 +0100)
targets/mlabs_video.py

index 727449e5618aae0964c305ed8b580fba9bda6ae0..576949900bee72e527f74ddcf0fe65a2daec6364 100644 (file)
@@ -84,7 +84,7 @@ class MiniSoC(SDRAMSoC):
                        self.submodules.leds = gpio.GPIOOut(platform.request("user_led"))
                if platform.name == "m1":
                        self.submodules.buttons = gpio.GPIOIn(Cat(platform.request("user_btn", 0), platform.request("user_btn", 2)))
-                       self.submodules.leds = gpio.GPIOOut(Cat(*[platform.request("user_led", i) for i in range(2)]))
+                       self.submodules.leds = gpio.GPIOOut(Cat(platform.request("user_led", i) for i in range(2)))
 
                # Clock glue
                self.comb += [