From 92975b139e63b371914e20c5fe5373a828931459 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 7 Oct 2019 10:38:26 +0200 Subject: [PATCH] targets/arty: allow setting synth-mode to yosys with command line: --synth-mode=yosys --- litex/boards/targets/arty.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litex/boards/targets/arty.py b/litex/boards/targets/arty.py index bc5a67328..9e4210b25 100755 --- a/litex/boards/targets/arty.py +++ b/litex/boards/targets/arty.py @@ -8,6 +8,7 @@ import argparse from migen import * from litex.boards.platforms import arty +from litex.build.xilinx.vivado import vivado_build_args, vivado_build_argdict from litex.soc.cores.clock import * from litex.soc.integration.soc_sdram import * @@ -105,6 +106,7 @@ def main(): parser = argparse.ArgumentParser(description="LiteX SoC on Arty") builder_args(parser) soc_sdram_args(parser) + vivado_build_args(parser) parser.add_argument("--with-ethernet", action="store_true", help="enable Ethernet support") args = parser.parse_args() @@ -112,7 +114,7 @@ def main(): cls = EthernetSoC if args.with_ethernet else BaseSoC soc = cls(**soc_sdram_argdict(args)) builder = Builder(soc, **builder_argdict(args)) - builder.build() + builder.build(**vivado_build_argdict(args)) if __name__ == "__main__":