From d73190ac29c371547378c9e3813752ec9d1ec5ec Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Thu, 25 Apr 2024 06:22:41 +0700 Subject: [PATCH] yosys+nextpnr: fix error message --- litex/build/xilinx/yosys_nextpnr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/xilinx/yosys_nextpnr.py b/litex/build/xilinx/yosys_nextpnr.py index dd591cd88..abde181bb 100644 --- a/litex/build/xilinx/yosys_nextpnr.py +++ b/litex/build/xilinx/yosys_nextpnr.py @@ -132,7 +132,7 @@ class XilinxYosysNextpnrToolchain(YosysNextPNRToolchain): subprocess.run(["bbasm", "-l", bba, chipdb]) os.remove(bba) else: - print("Chip database file '{chipdb}' not found. Please check your toolchain installation!") + print(f"Chip database file '{chipdb}' not found. Please check your toolchain installation!") exit(1) # pnr options