build/xilinx/vivado: fix default synth-mode
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 9 Oct 2019 08:19:18 +0000 (10:19 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 9 Oct 2019 08:19:18 +0000 (10:19 +0200)
litex/build/xilinx/vivado.py

index 01fd8075b16def51092dc94b92d08586b4938a4c..f22b44c92617017e5a1b693c8f307213ed74e86e 100644 (file)
@@ -272,7 +272,7 @@ class XilinxVivadoToolchain:
             self.false_paths.add((from_, to))
 
 def vivado_build_args(parser):
-    parser.add_argument("--synth-mode", default=None, help="synthesis mode (vivado or yosys)")
+    parser.add_argument("--synth-mode", default="vivado", help="synthesis mode (vivado or yosys)")
 
 
 def vivado_build_argdict(args):