modules: improve the way we define DDR4 banks/groups
This commit is contained in:
parent
1618a7636a
commit
8ec0bc678e
|
@ -343,9 +343,11 @@ class AS4C256M16D3A(SDRAMModule):
|
||||||
class EDY4016A(SDRAMModule):
|
class EDY4016A(SDRAMModule):
|
||||||
memtype = "DDR4"
|
memtype = "DDR4"
|
||||||
# geometry
|
# geometry
|
||||||
nbanks = 2*4 # 2 groups of 4 banks
|
ngroupbanks = 4
|
||||||
nrows = 32768
|
ngroups = 2
|
||||||
ncols = 1024
|
nbanks = ngroups * ngroupbanks
|
||||||
|
nrows = 32768
|
||||||
|
ncols = 1024
|
||||||
# timings
|
# timings
|
||||||
technology_timings = _TechnologyTimings(tREFI=64e6/8192, tWTR=(4, 7.5), tCCD=(4, None), tRRD=(4, 4.9))
|
technology_timings = _TechnologyTimings(tREFI=64e6/8192, tWTR=(4, 7.5), tCCD=(4, None), tRRD=(4, 4.9))
|
||||||
speedgrade_timings = {
|
speedgrade_timings = {
|
||||||
|
@ -357,9 +359,11 @@ class EDY4016A(SDRAMModule):
|
||||||
class MT40A1G8(SDRAMModule):
|
class MT40A1G8(SDRAMModule):
|
||||||
memtype = "DDR4"
|
memtype = "DDR4"
|
||||||
# geometry
|
# geometry
|
||||||
nbanks = 4*4 # 4 groups of 4 banks
|
ngroupbanks = 4
|
||||||
nrows = 65536
|
ngroups = 4
|
||||||
ncols = 1024
|
nbanks = ngroups * ngroupbanks
|
||||||
|
nrows = 65536
|
||||||
|
ncols = 1024
|
||||||
# timings
|
# timings
|
||||||
technology_timings = _TechnologyTimings(tREFI=64e6/8192, tWTR=(4, 7.5), tCCD=(4, None), tRRD=(4, 4.9))
|
technology_timings = _TechnologyTimings(tREFI=64e6/8192, tWTR=(4, 7.5), tCCD=(4, None), tRRD=(4, 4.9))
|
||||||
speedgrade_timings = {
|
speedgrade_timings = {
|
||||||
|
|
Loading…
Reference in New Issue