From 12bb0dba97377b13c06868407a66dfaa434a203f Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 11 Mar 2020 21:24:09 +0800 Subject: [PATCH] bitstream: generate svd as part of build The svd file can be generated prior to building software, so generate it as part of the build now rather than after the fact. Signed-off-by: Sean Cross --- hw/foboot-bitstream.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/foboot-bitstream.py b/hw/foboot-bitstream.py index 8b5a872..bbea4b2 100755 --- a/hw/foboot-bitstream.py +++ b/hw/foboot-bitstream.py @@ -441,7 +441,7 @@ def main(): pnr_seed=int(args.seed), output_dir=output_dir, warmboot_offsets=warmboot_offsets[1:]) - builder = Builder(soc, output_dir=output_dir, csr_csv="build/csr.csv", + builder = Builder(soc, output_dir=output_dir, csr_csv="build/csr.csv", csr_svd="build/soc.svd", compile_software=compile_software, compile_gateware=compile_gateware) if compile_software: builder.software_packages = [ @@ -450,7 +450,6 @@ def main(): vns = builder.build() soc.do_exit(vns) lxsocdoc.generate_docs(soc, "build/documentation/", project_name="Fomu Bootloader", author="Sean Cross") - lxsocdoc.generate_svd(soc, "build/software", vendor="Foosn", name="Fomu") if not args.document_only: make_multiboot_header(os.path.join(output_dir, "gateware", "multiboot-header.bin"),