DRAMTMG0 (DDRC) Register

Zynq UltraScale+ Devices Register Reference (UG1087)

Document ID
UG1087
Release Date
2024-03-13
Revision
1.10

DRAMTMG0 (DDRC) Register Description

Register NameDRAMTMG0
Offset Address0x0000000100
Absolute Address 0x00FD070100 (DDRC)
Width32
TyperwNormal read/write
Reset Value0x0F101B0F
DescriptionSDRAM Timing Register 0

All register fields are quasi-dynamic group 2 and group 4, unless described otherwise in the register field description. Group 2 registers can be written in self-refresh, deep power-down, and maximum power saving modes. Group 4 registers can be written depending on MSTR.frequency_mode.

DRAMTMG0 (DDRC) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
wr2pre30:24rwNormal read/write0xFMinimum time between write and precharge to same bank.
Unit: Clocks
Specifications: WL + BL/2 + tWR = approximately 8 cycles + 15 ns = 14 clocks @400MHz and less for lower frequencies
where:
- WL = write latency
- BL = burst length. This must match the value programmed in the BL bit of the mode register to the SDRAM. BST (burst terminate) is not supported at present.
- tWR = Write recovery time. This comes directly from the SDRAM specification.
Add one extra cycle for LPDDR3/LPDDR4 for this parameter.
For 1T mode, divide the above value by 2. No rounding up.
For 2T mode or LPDDR4 mode, divide the above value by 2 and round it up to the next integer value.
Programming Mode: Quasi-dynamic Group 1, Group 2, and Group 4
t_faw21:16rwNormal read/write0x10tFAW Valid only when 8 or more banks(or banks x bank groups) are present.
In 8-bank design, at most 4 banks must be activated in a rolling window of tFAW cycles. Program this to (tFAW/2) and round up to next integer value.
In a 4-bank design, set this register to 0x1.
Unit: Clocks
t_ras_max14:8rwNormal read/write0x1BtRAS(max):
Maximum time between activate and precharge to same bank. This is the maximum time that a page can be kept open
Minimum value of this register is 1. Zero is invalid.
Program this to (tRAS(max)-1)/2. No rounding up.
Unit: Multiples of 1024 clocks.
t_ras_min 5:0rwNormal read/write0xFtRAS(min):
Minimum time between activate and precharge to the same bank.
For 1T mode, program this to tRAS(min)/2. No rounding up.
For 2T mode or LPDDR4 mode, program this to (tRAS(min)/2) and round it up to the next integer value.
Unit: Clocks