From 3711ae06158796a5ec729f002c523fac86534d28 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 10 Feb 2017 12:32:33 +0100 Subject: [PATCH] boards/targets: remove build and load parameters on arty and nexys_video (consistency with others targets) --- litex/boards/targets/arty.py | 12 +----------- litex/boards/targets/nexys_video.py | 12 +----------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/litex/boards/targets/arty.py b/litex/boards/targets/arty.py index 35b67026..c9248057 100755 --- a/litex/boards/targets/arty.py +++ b/litex/boards/targets/arty.py @@ -114,22 +114,12 @@ def main(): soc_core_args(parser) parser.add_argument("--with-ethernet", action="store_true", help="enable Ethernet support") - parser.add_argument("--build", action="store_true", - help="build bitstream") - parser.add_argument("--load", action="store_true", - help="load bitstream") args = parser.parse_args() cls = MiniSoC if args.with_ethernet else BaseSoC soc = cls(**soc_core_argdict(args)) builder = Builder(soc, **builder_argdict(args)) - - if args.build: - builder.build() - - if args.load: - prog = soc.platform.create_programmer() - prog.load_bitstream(os.path.join(builder.output_dir, "gateware", "top.bit")) + builder.build() if __name__ == "__main__": diff --git a/litex/boards/targets/nexys_video.py b/litex/boards/targets/nexys_video.py index 3d52befd..16fdf633 100755 --- a/litex/boards/targets/nexys_video.py +++ b/litex/boards/targets/nexys_video.py @@ -104,22 +104,12 @@ def main(): soc_core_args(parser) parser.add_argument("--with-ethernet", action="store_true", help="enable Ethernet support") - parser.add_argument("--build", action="store_true", - help="build bitstream") - parser.add_argument("--load", action="store_true", - help="load bitstream") args = parser.parse_args() cls = MiniSoC if args.with_ethernet else BaseSoC soc = cls(**soc_core_argdict(args)) builder = Builder(soc, **builder_argdict(args)) - - if args.build: - builder.build() - - if args.load: - prog = soc.platform.create_programmer() - prog.load_bitstream(os.path.join(builder.output_dir, "gateware", "top.bit")) + builder.build() if __name__ == "__main__": -- 2.30.2