From 7ce8567d9bb74a7b2488c930e9c06e8865f37e5b Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 11 Nov 2021 11:19:39 +0100 Subject: [PATCH] targets/efinix: Bitstreams now directly generated to gateware directory. --- litex_boards/targets/efinix_trion_t120_bga576_dev_kit.py | 4 ++-- litex_boards/targets/efinix_trion_t20_bga256_dev_kit.py | 4 ++-- litex_boards/targets/efinix_xyloni_dev_kit.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/litex_boards/targets/efinix_trion_t120_bga576_dev_kit.py b/litex_boards/targets/efinix_trion_t120_bga576_dev_kit.py index c9adf70..59b19a2 100755 --- a/litex_boards/targets/efinix_trion_t120_bga576_dev_kit.py +++ b/litex_boards/targets/efinix_trion_t120_bga576_dev_kit.py @@ -239,12 +239,12 @@ def main(): if args.load: prog = soc.platform.create_programmer() - prog.load_bitstream(os.path.join(builder.gateware_dir, f"outflow/{soc.build_name}.bit")) + prog.load_bitstream(os.path.join(builder.gateware_dir, f"{soc.build_name}.bit")) if args.flash: from litex.build.openfpgaloader import OpenFPGALoader prog = OpenFPGALoader("trion_t120_bga576") - prog.flash(0, os.path.join(builder.gateware_dir, f"outflow/{soc.build_name}.hex")) + prog.flash(0, os.path.join(builder.gateware_dir, f"{soc.build_name}.hex")) if __name__ == "__main__": main() diff --git a/litex_boards/targets/efinix_trion_t20_bga256_dev_kit.py b/litex_boards/targets/efinix_trion_t20_bga256_dev_kit.py index 441316e..486e948 100755 --- a/litex_boards/targets/efinix_trion_t20_bga256_dev_kit.py +++ b/litex_boards/targets/efinix_trion_t20_bga256_dev_kit.py @@ -89,12 +89,12 @@ def main(): if args.load: prog = soc.platform.create_programmer() - prog.load_bitstream(os.path.join(builder.gateware_dir, f"outflow/{soc.build_name}.bit")) + prog.load_bitstream(os.path.join(builder.gateware_dir, f"{soc.build_name}.bit")) if args.flash: from litex.build.openfpgaloader import OpenFPGALoader prog = OpenFPGALoader("trion_t120_bga576") - prog.flash(0, os.path.join(builder.gateware_dir, f"outflow/{soc.build_name}.hex")) + prog.flash(0, os.path.join(builder.gateware_dir, f"{soc.build_name}.hex")) if __name__ == "__main__": main() diff --git a/litex_boards/targets/efinix_xyloni_dev_kit.py b/litex_boards/targets/efinix_xyloni_dev_kit.py index f0e792a..7c4f405 100755 --- a/litex_boards/targets/efinix_xyloni_dev_kit.py +++ b/litex_boards/targets/efinix_xyloni_dev_kit.py @@ -107,11 +107,11 @@ def main(): if args.load: prog = soc.platform.create_programmer() - prog.load_bitstream(os.path.join(builder.gateware_dir, f"outflow/{soc.build_name}.hex")) + prog.load_bitstream(os.path.join(builder.gateware_dir, f"{soc.build_name}.hex")) if args.flash: prog = soc.platform.create_programmer() - prog.flash(0, os.path.join(builder.gateware_dir, f"outflow/{soc.build_name}.hex")) + prog.flash(0, os.path.join(builder.gateware_dir, f"{soc.build_name}.hex")) prog.flash(args.bios_flash_offset, os.path.join(builder.software_dir, "bios/bios.bin")) if __name__ == "__main__":