boards/targets: fix ulx3s/versa_ecp5 build
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 9 May 2019 09:48:32 +0000 (11:48 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 9 May 2019 09:48:32 +0000 (11:48 +0200)
litex/boards/targets/ulx3s.py
litex/boards/targets/versa_ecp5.py

index 2c88a661818ca94cc8e866ac1d1e7bcf003f1213..40503bad99dad0cf7e35bbdb3472f8353ce6b20d 100755 (executable)
@@ -77,7 +77,7 @@ def main():
     soc_sdram_args(parser)
     args = parser.parse_args()
 
-    soc = BaseSoC(args.device, args.toolchain, **soc_sdram_argdict(args))
+    soc = BaseSoC(device=args.device, toolchain=args.toolchain, **soc_sdram_argdict(args))
     builder = Builder(soc, **builder_argdict(args))
     builder.build()
 
index bb92c1327f158ed1d192792b77f69c488716f373..ec7a572f44f700f35fab8056608a26568ab4c514 100755 (executable)
@@ -146,7 +146,7 @@ def main():
     args = parser.parse_args()
 
     cls = EthernetSoC if args.with_ethernet else BaseSoC
-    soc = cls(args.toolchain, **soc_sdram_argdict(args))
+    soc = cls(toolchain=args.toolchain, **soc_sdram_argdict(args))
     builder = Builder(soc, **builder_argdict(args))
     builder.build()