integration/builder: generate csr maps before compiling software.
This commit is contained in:
parent
e2dab06386
commit
69ffafd81d
|
@ -180,6 +180,7 @@ class Builder:
|
|||
self.soc.finalize()
|
||||
|
||||
self._generate_includes()
|
||||
self._generate_csr_map()
|
||||
if self.soc.cpu_type is not None:
|
||||
self._prepare_software()
|
||||
self._generate_software(not self.soc.integrated_rom_initialized)
|
||||
|
@ -187,8 +188,6 @@ class Builder:
|
|||
if not self.soc.integrated_rom_initialized:
|
||||
self._initialize_rom()
|
||||
|
||||
self._generate_csr_map()
|
||||
|
||||
if "run" not in kwargs:
|
||||
kwargs["run"] = self.compile_gateware
|
||||
vns = self.soc.build(build_dir=self.gateware_dir, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue