Remove linker regions from naxriscv mem list
Assume linker=True SoCRegions are virtual only.
This commit is contained in:
parent
b63e445ade
commit
c8bd747e0f
|
@ -478,6 +478,8 @@ class NaxRiscv(CPU):
|
||||||
# rwx : load, store, execute (everything is peripheral per default)
|
# rwx : load, store, execute (everything is peripheral per default)
|
||||||
NaxRiscv.memory_regions = []
|
NaxRiscv.memory_regions = []
|
||||||
for name, region in self.soc.bus.regions.items():
|
for name, region in self.soc.bus.regions.items():
|
||||||
|
if region.linker: # remove virtual regions
|
||||||
|
continue
|
||||||
if len(self.memory_buses) and name == 'main_ram':
|
if len(self.memory_buses) and name == 'main_ram':
|
||||||
mode = region.mode
|
mode = region.mode
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue