From: Florent Kermarrec Date: Fri, 10 Feb 2017 11:32:33 +0000 (+0100) Subject: boards/targets: remove build and load parameters on arty and nexys_video (consistency... X-Git-Tag: 24jan2021_ls180~1891 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3711ae06158796a5ec729f002c523fac86534d28;p=litex.git boards/targets: remove build and load parameters on arty and nexys_video (consistency with others targets) --- 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__":