Skip to content

Commit

Permalink
phy/ecp5ddrphy: remove dm_remapping introduce for VexRiscv-SMP on Ora…
Browse files Browse the repository at this point in the history
…ngeCrab: we can now use Wishbone/L2.
  • Loading branch information
enjoy-digital committed Jan 25, 2021
1 parent ab2423e commit af9abd6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions litedram/phy/ecp5ddrphy.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ def __init__(self, pads,
sys_clk_freq = 100e6,
cl = None,
cwl = None,
cmd_delay = 0,
dm_remapping = {}):
cmd_delay = 0):
assert isinstance(cmd_delay, int) and cmd_delay < 128
pads = PHYPadsCombiner(pads)
memtype = "DDR3"
Expand Down Expand Up @@ -318,7 +317,7 @@ def __init__(self, pads,
dm_o_data_d = Signal(8)
dm_o_data_muxed = Signal(4)
for n in range(8):
self.comb += dm_o_data[n].eq(dfi.phases[n//4].wrdata_mask[n%4*databits//8+dm_remapping.get(i, i)])
self.comb += dm_o_data[n].eq(dfi.phases[n//4].wrdata_mask[n%4*databits//8 + i])
self.sync += dm_o_data_d.eq(dm_o_data)
dm_bl8_cases = {}
dm_bl8_cases[0] = dm_o_data_muxed.eq(dm_o_data[:4])
Expand Down

0 comments on commit af9abd6

Please sign in to comment.