add builder args to build
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 1 Feb 2022 12:06:32 +0000 (12:06 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 1 Feb 2022 12:06:32 +0000 (12:06 +0000)
versa_ecp5.py

index e960d9689eb94a55ce6b3896f85e731d3d98b0a6..73f3dcd8efddbfe45b9816963cc397c080627155 100755 (executable)
@@ -146,7 +146,7 @@ def main():
         builder = Builder(soc, **builder_argdict(args))
         builder_kargs = trellis_argdict(args) \
                 if args.toolchain == "trellis" else {}
-        builder.build(run=args.build)
+        builder.build(**builder_kargs, run=args.build)
 
         if args.load:
             prog = soc.platform.create_programmer()