soc/integration/builder: add_json: fix order of parameters
For consistancy only. This now matches load_csr_json. Link: https://git.motec.com.au/id/Ibe2889fafc6ef48a6f217f84246de11a9555811d
This commit is contained in:
parent
d4c1c97cf9
commit
6c8633b9a3
|
@ -138,8 +138,8 @@ class Builder:
|
||||||
def add_software_library(self, name):
|
def add_software_library(self, name):
|
||||||
self.software_libraries.append(name)
|
self.software_libraries.append(name)
|
||||||
|
|
||||||
def add_json(self, filename, name="", origin=0):
|
def add_json(self, filename, origin=0, name=""):
|
||||||
self.jsons.append((filename, name, origin))
|
self.jsons.append((filename, origin, name))
|
||||||
|
|
||||||
def _get_json_mem_regions(self):
|
def _get_json_mem_regions(self):
|
||||||
mem_regions = {}
|
mem_regions = {}
|
||||||
|
|
Loading…
Reference in New Issue