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,