projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d44fe18
)
soc_core: Fix region type generation
author
Mateusz Holenko
<mholenko@antmicro.com>
Tue, 14 Apr 2020 19:43:58 +0000
(21:43 +0200)
committer
Mateusz Holenko
<mholenko@antmicro.com>
Tue, 14 Apr 2020 19:45:32 +0000
(21:45 +0200)
Include information about being a linker region.
litex/soc/integration/soc_core.py
patch
|
blob
|
history
diff --git
a/litex/soc/integration/soc_core.py
b/litex/soc/integration/soc_core.py
index b1209a00d7de77e73a247cd4496709d6c8452d7e..3eb0016c70560ec2d71809c154cb07b8ca3d617c 100644
(file)
--- a/
litex/soc/integration/soc_core.py
+++ b/
litex/soc/integration/soc_core.py
@@
-244,6
+244,8
@@
class SoCCore(LiteXSoC):
for region in self.bus.regions.values():
region.length = region.size
region.type = "cached" if region.cached else "io"
+ if region.linker:
+ region.type += "+linker"
self.csr_regions = self.csr.regions
for name, value in self.config.items():
self.add_config(name, value)