ABCDEFGHIJKLMNOPQRSTUVWXY
1
DDR5 Timing Calculator for AMD by RedF & Wolf87, Guided by Veii
2
Unfortunately, at the moment a local copy must be made in order to edit the table.Version 0.0.09
3
Primary Timingsuse this formula at your own riskcalculatedEditdo not touch !
4
tCL26
5
tRCDWR36
6
tRCDRD36
7
tRP36
8
tRTP12
9
tWR48tWR Rule is not under 48, but 24 is somewhat an option
10
toogle switch for tWR (switch between 48 or fail safe variante ) 1=48 0=failsafe
1
11
12
minimum tRAS48tRCDtRTP
13
tRCD+tRTP3612
14
15
optimum tRAS58tRCDtRTPBurstLength 16 / 2 = BurstChopX = + 2 or 4 Points, minimum = 0
16
tRCD + tRTP + BurstChop + X361282
17
18
safe tRAStCWLtRCDWRtWRthis variant garants always a ROW Hit
19
tCWL+tRCDWR+tWR108243648
20
tRC = tRAS, for safe tRAS
21
22
tRC = for tRAS minimum or optimumtRC = for tRAS mintRC = for tRAS Optimum
23
8494
24
25
tFAW32for all of our DIMMs ~ 32.
32 for 1kb pagesize dimms
48 for 2kb pagesize dimms.
// As long as it is not confirmed that AMD uses 2 MC links each DIMM, the value is 32/48 instead of 16/24 :)
26
27
tRFC
choose your clock value
and your tRFC for
your Dimm type
Hynix A-Die [ns]Hynix M-Die [ns]Samsung B-Die [ns]Samsung D-Die [ns]Micron A+G REV [ns]Micron Rev B [ns] if you stay with 65535 maxed, is 320,352,384,416
If you want to give 65528 a try , then its 308, 340, 372 ,404 ~
pick one that suits you Scale both sets +/- 32. But keep values.
Just test what REFI brings you most consistency(not latency)
28
DDR5 MT/s (MHz)6400160220IC Vendor Rating & JEDEC QC Pass @ 1.1v
29
0,3125 ns/tCK120160260270260360Community researched minimums
30
tRFC [tREFi 65535]448140,0140,0140,0140,0140,0140,0if you use tREFi 65535, red value=if you reach min Value
31
tRFC [tREFi 65528]436136,3136,3136,3136,3136,3136,3if you use tREFi 65528, red value=if you reach min Value
32
33
RFCpb/sbns -> nCK Timing Value [Bios Entry]
34
WIPJEDEC inspired416 nCK608 nCK736 nCK768 nCK736 nCK1056 nCK<- needs formula help // 2GB IC , steps 16 (round up) / 3GB ICs , steps 24 (round up)
35
Community352 nCK352 nCK352 nCK352 nCK352 nCK352 nCK
36
[V]
37
tRRD_S/DG8
38
tRRD_L/SG12recommended 12
39
tWTR_S/DG7Veii tweak: (can also be run at 4)
"Thanks to this I have found a "small" exploit of my own.
DDR4 & DDR5 can execute within 2 writes per read.
Actually a little more, but they can do 2.

As an example:
RRDS 8
RRDL 12
WTRS 4
WTRL 24
RDRDSCL = 12-8+1 = 5

That is,
If CCDLWR is used and WTRL would be exactly double of RRDL (normal)
If the SC_Longs are also correct (the minimums) and RTP is not too low.
Then the loop ends at exactly the right time to run WTRS at half clock.
If not, a delay somewhere between reads would be too slow or too short.
tWR & tRTP as main variables."
40
tWTR_L/SG24
42
43
Interface Timings
44
CCD_S8
45
CCD_L=>tRRDL oder tRRDS 12
46
CCDL_WR= CCDL *224
47
48
Mathematical Offset Timings
49
tRDRDSC_L min5CCDLRdBurstChopOdtEnDly
50
CCDL - RdBurstChop + ODTEnDly1281
51
52
tWRWRSC_L min17CCDLWRWrBurstChopOdtEnDly
53
CCDLWR - WrBurstChop + ODTEnDly2481
54
55
tRDWR min16tCLtCWLBurstChopOdtEnDlyWrPRE (shown in MemTweak) safety delay
56
tCL - tCWL + BC8 + ODTEnDly (1) + WrPRE + SafetyDly (1)26248141
57
58
Tertiary Timings (SC + SD + DD)
59
If you have single sided Module, then you have to enter value 1 (for example 2*16 GB),
if you have dual sided Modules
(Chips on both sides like 2*32GB) you have to enter the value 0
0_DD & _SD/DR wenn 2x32bit MC/DIMM
60
tRDWR (lower 16 possible min formula above)16tCCD_S4not clear
61
tWRRD 4tRDRD_4not clear
62
tRDRDSC1tWRWR_3not clear
63
tRDRDSD8tRDWR_8not clear
64
tRDRDDD8tWRRD_2not clear
65
tWRWRSC1
66
tWRWRSD7
67
tWRWRDD6
68
69
tREFi < Maximum Value 65536(-1),
please choose lower Value if you have thermal problems
6553665536 (minus 8192 steps) = result -1 for BIOS input.
// choose on thermal problems
70
71
tRRD_L/SG16GB Dimm24GB Dimm
72
tCCD_L Target is always equal to tCCD_S or higher.812
CCDS , or bigger. CCDS is
always 8 unless double MC link.
Starting point 8+
73
74
Refresh TimingstRFC
75
tRFC448you have to edit this value for calculate tRFC2+ tRFCsb
at the moment AMD doesn't apply these values
76
tRFC2243
77
tRFCsb197
78
79
tWR FailsafetWRtCLtWTRLBuffer 8
80
tWR = WTR_A+ RTP + X (BC8) ~ tCL+tWTRL+85826248
81
round up to multiple of 660
82
83
84
DDR5 VDD & VDDQ Voltage Delta Calculation
85
MEM VDD in Volt1,395
86
Delta VDD & VDDQ in mVolt6060 mv should be safe more than 100 mv can be unstable for dual sided dimms
According to specifications , max allowed is 300mV for in-mem delta.

87
MEM VDDQ in Volt1,335
88
89
90
91
92
93
94
95
96
97
98
99
100
101