hwangbro

dram

Feb 3rd, 2021 (edited)
539
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. https://github.com/integralfx/MemTestHelper/blob/master/DDR4%20OC%20Guide.md
  2. soc voltage 1.0 to 1.1v
  3. cldo_vddg
  4. soc should be at least 40mV above cldo_vddg
  5.  
  6. keep tRCDRD and tRCDWR the same
  7. for even tCL, need to enable gear down mode
  8. for odd tCL, disable GDM
  9.  
  10.  
  11.  
  12. set loose high timings
  13. increase dram freq until unstable
  14. tighten timings
  15.  
  16.  
  17. start with 1.10v soc
  18. set dram to 1.4v
  19.  
  20.  
  21. set primary timings to 16-20-20-40 (tCL tRCD tRP tRAS), tCLW to 16
  22. increase DRAM frequency until it doesn't boot
  23. set FCLK to half of effective DRAM frequency
  24.  
  25.  
  26.  
  27. run tm5 stress test
  28.  
  29. either try higher freq or lower timings
  30. for higher freq, loosen primary timing to 18 22 22 42, tCWL to 18
  31. dram voltage to 1.45
  32. do above steps for increasing dram freq
  33.  
  34. tightning timing
  35. run benchmark and memtest after each change to ensure performance is improving and stable
  36.  
  37. tighting secondary timings first
  38. tRRDS tRRDL tFAW safe 6 6 24 tight 4 6 16 extreme 4 4 16
  39. tWR safe 16 tight 12 extreme 10
  40.  
  41. min tFAW is tRRDS * 4
  42.  
  43.  
  44. primary timings
  45. tCL, drop by 1 until instable
  46. same with tRCD and tRP
  47. after all 3 timings are as tight
  48. tRAS = tCL + tRCD(RD) + 2, tRC = tRP + tRAS + x, x can be 8
  49.  
  50. tRFC in ns, 140-180 for b die
  51. (140 or 180) * ddr_freq / 2000
  52. so 180 * 3600 / 2000 = 324
  53.  
  54.  
  55. tWTRS tWTRL safe 4 12 tight 4 10 extreme 4 8
  56. tRTP safe 12 tight 10 extrme 8
  57. tCWL safe TCL tight tCL-1 extreme tCL-2
  58.  
  59.  
  60. tertiaries
  61. tRDRDSCL tWRWRSCL safe 4 4 tight 3 3 extreme 2 2
  62.  
  63. tRDRD_sg/dg/dr/dd safe 8/4/8/8 tight 7/4/7/7 extrme 6/4/6/6
  64. tWRWR_sg/dg/dr/dd safe 8/4/8/8 tight 7/4/7/7 extreme 6/4/6/6
  65.  
  66. tWRRD_sg/dg
  67. tRDWR_sg/dg/dr/dd drop them all by 1 until unstable, usually run them all the same e.g. 9/9/9/9
  68.  
  69. tRDRD_dr/dd can be lowered a step further to 5
  70. tWRWR_sg6 can cause write regression over tWRWR_sg 7
  71. tREFI higher is better normally
  72.  
  73.  
  74.  
  75. command rate
  76. try GDM disabled, CR 1
  77. adjust setup times then drive strengths if usntable
  78. setup csodt 50 addrcmdsetup 50 ckesetup 50
  79. strength clkdrv 60 addrcmddrv20 csodtcmddrv 20 ckedrv 30
  80.  
  81.  
  82.  
Add Comment
Please, Sign In to add comment