From 3f9759b83bbf9b0ee9aa95d3b395f1c7e622f813 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 12 Mar 2021 10:59:06 +0100 Subject: [PATCH] bench/xcu1525: Update build directories. --- bench/xcu1525.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bench/xcu1525.py b/bench/xcu1525.py index 9df3eab..1fcbb47 100755 --- a/bench/xcu1525.py +++ b/bench/xcu1525.py @@ -140,7 +140,7 @@ def main(): args = parser.parse_args() soc = BenchSoC(uart=args.uart, channel=int(args.channel, 0), with_bist=args.with_bist, with_analyzer=args.with_analyzer) - builder = Builder(soc, output_dir="build/xcu1525_ch{}".format(args.channel), csr_csv="csr.csv") + builder = Builder(soc, output_dir=f"build/xcu1525_ch{args.channel}", csr_csv="csr.csv") builder.build(run=args.build) if args.load: @@ -149,7 +149,7 @@ def main(): if args.load_bios: from common import load_bios - load_bios("build/xcu1525/software/bios/bios.bin") + load_bios(f"build/xcu1525_ch{args.channel}/software/bios/bios.bin") if args.sys_clk_freq is not None: from common import us_set_sys_clk @@ -162,7 +162,7 @@ def main(): freq_max = 180e6, freq_step = 1e6, vco_freq = soc.crg.pll.compute_config()["vco"], - bios_filename = "build/xcu1525/software/bios/bios.bin") + bios_filename = f"build/xcu1525_ch{args.channel}/software/bios/bios.bin") if __name__ == "__main__": main()