From b53b024a6d63abd9520588e369254a621a4fb62e Mon Sep 17 00:00:00 2001 From: Romain Dolbeau Date: Sat, 18 May 2024 10:24:27 +0200 Subject: [PATCH] board-based name --- nubus-to-ztex-gateware/nubus_to_fpga_soc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nubus-to-ztex-gateware/nubus_to_fpga_soc.py b/nubus-to-ztex-gateware/nubus_to_fpga_soc.py index 44fea24..0f04cf9 100644 --- a/nubus-to-ztex-gateware/nubus_to_fpga_soc.py +++ b/nubus-to-ztex-gateware/nubus_to_fpga_soc.py @@ -472,6 +472,11 @@ def main(): f.write(f"HRES={hres}\n"); f.write(f"VRES={vres}\n"); f.close() + + if (True): + f = open("board.inc", "w+") + f.write(f" .string \"NuBusFPGA {args.version}\\0\" /* revision level */") + f.close() soc = NuBusFPGA(**soc_core_argdict(args), variant=args.variant,