core/refresher: use A10=1 for all banks REF

This is needed because newer DRAMs like LPDDR4 or DDR5 have
separate commands for per-bank refresh and all banks refresh.
Other DRAM types ignore address for REF commands.
This commit is contained in:
Jędrzej Boczar 2021-03-24 10:09:13 +01:00
parent f17037fdb2
commit f0de06091e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class RefreshExecuter(Module):
]), ]),
# Auto Refresh after tRP # Auto Refresh after tRP
(trp, [ (trp, [
cmd.a.eq( 0), cmd.a.eq( 2**10), # all banks in LPDDR4/DDR5, ignored in other memories
cmd.ba.eq( 0), cmd.ba.eq( 0),
cmd.cas.eq(1), cmd.cas.eq(1),
cmd.ras.eq(1), cmd.ras.eq(1),