Change SDRAM region to RWX

This commit is contained in:
Christian Klarhorst 2022-08-30 16:22:29 +02:00
parent 76c0754d1e
commit 3e42133abd
1 changed files with 2 additions and 1 deletions

View File

@ -1461,7 +1461,8 @@ class LiteXSoC(SoC):
# Add SDRAM region.
main_ram_region = SoCRegion(origin=self.mem_map.get("main_ram", origin),
size=sdram_size)
size=sdram_size,
mode="rwx")
self.bus.add_region("main_ram", main_ram_region)
# Add CPU's direct memory buses (if not already declared) ----------------------------------