Commit 00fc2c51 authored by Florent Kermarrec's avatar Florent Kermarrec

targets/orangecrab: use new DM remapping capability of LiteDRAM to fix LDM/UDM.

Required by VexRiscv-SMP that uses DMs on LiteDRAM interface.
parent 6ece97ec
......@@ -180,7 +180,8 @@ class BaseSoC(SoCCore):
ddram_pads = platform.request("ddram")
self.submodules.ddrphy = ECP5DDRPHY(
pads = ddram_pads,
sys_clk_freq = sys_clk_freq)
sys_clk_freq = sys_clk_freq,
dm_remapping = {0:1, 1:0})
self.ddrphy.settings.rtt_nom = "disabled"
self.add_csr("ddrphy")
if hasattr(ddram_pads, "vccio"):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment