integration/builder: Add support for --soc-csv/--soc-json/--soc-svd arguments.
Should be prefered over csr-xy since initial export was created when we were only interested by CSR mapping export but has been extended since then to SoC mapping in general.
This commit is contained in:
parent
fbf63f2fc3
commit
c6394c8f27
|
@ -402,9 +402,9 @@ def builder_args(parser):
|
||||||
builder_group.add_argument("--no-compile", action="store_true", help="Disable Software and Gateware compilation.")
|
builder_group.add_argument("--no-compile", action="store_true", help="Disable Software and Gateware compilation.")
|
||||||
builder_group.add_argument("--no-compile-software", action="store_true", help="Disable Software compilation only.")
|
builder_group.add_argument("--no-compile-software", action="store_true", help="Disable Software compilation only.")
|
||||||
builder_group.add_argument("--no-compile-gateware", action="store_true", help="Disable Gateware compilation only.")
|
builder_group.add_argument("--no-compile-gateware", action="store_true", help="Disable Gateware compilation only.")
|
||||||
builder_group.add_argument("--csr-csv", default=None, help="Write SoC mapping to the specified CSV file.")
|
builder_group.add_argument("--soc-csv", "--csr-csv", default=None, help="Write SoC mapping to the specified CSV file.")
|
||||||
builder_group.add_argument("--csr-json", default=None, help="Write SoC mapping to the specified JSON file.")
|
builder_group.add_argument("--soc-json","--csr-json", default=None, help="Write SoC mapping to the specified JSON file.")
|
||||||
builder_group.add_argument("--csr-svd", default=None, help="Write SoC mapping to the specified SVD file.")
|
builder_group.add_argument("--soc-svd", "--csr-svd", default=None, help="Write SoC mapping to the specified SVD file.")
|
||||||
builder_group.add_argument("--memory-x", default=None, help="Write SoC Memory Regions to the specified Memory-X file.")
|
builder_group.add_argument("--memory-x", default=None, help="Write SoC Memory Regions to the specified Memory-X file.")
|
||||||
builder_group.add_argument("--doc", action="store_true", help="Generate SoC Documentation.")
|
builder_group.add_argument("--doc", action="store_true", help="Generate SoC Documentation.")
|
||||||
bios_group = parser.add_argument_group(title="BIOS options") # FIXME: Move?
|
bios_group = parser.add_argument_group(title="BIOS options") # FIXME: Move?
|
||||||
|
@ -421,9 +421,9 @@ def builder_argdict(args):
|
||||||
"build_backend" : args.build_backend,
|
"build_backend" : args.build_backend,
|
||||||
"compile_software" : (not args.no_compile) and (not args.no_compile_software),
|
"compile_software" : (not args.no_compile) and (not args.no_compile_software),
|
||||||
"compile_gateware" : (not args.no_compile) and (not args.no_compile_gateware),
|
"compile_gateware" : (not args.no_compile) and (not args.no_compile_gateware),
|
||||||
"csr_csv" : args.csr_csv,
|
"csr_csv" : args.soc_csv,
|
||||||
"csr_json" : args.csr_json,
|
"csr_json" : args.soc_json,
|
||||||
"csr_svd" : args.csr_svd,
|
"csr_svd" : args.soc_svd,
|
||||||
"memory_x" : args.memory_x,
|
"memory_x" : args.memory_x,
|
||||||
"generate_doc" : args.doc,
|
"generate_doc" : args.doc,
|
||||||
"bios_lto" : args.bios_lto,
|
"bios_lto" : args.bios_lto,
|
||||||
|
|
Loading…
Reference in New Issue