Skip to content

Commit 83a9ff4

Browse files
committed
targets: limit Mercury KX2 SDRAM window
Cap the LiteX-visible SDRAM region to 1 GiB so the corrected H5TC4G63CFR geometry does not overlap VexRiscv's default IO window at 0x80000000. The DRAM controller still uses the real module geometry; this only limits the bus aperture exported as main_ram, matching the pattern used by other large-memory targets.
1 parent e49313b commit 83a9ff4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

litex_boards/targets/enclustra_mercury_kx2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def __init__(self, sys_clk_freq=125e6, with_led_chaser=True, with_st1_baseboard=
6666
self.add_sdram("sdram",
6767
phy = self.ddrphy,
6868
module = H5TC4G63CFR(sys_clk_freq, "1:4"),
69+
size = 0x40000000,
6970
l2_cache_size = kwargs.get("l2_size", 8192)
7071
)
7172

0 commit comments

Comments
 (0)