A synthesizable DDR memory controller built around a bank-aware command scheduler. An AXI4 host port feeds a reorder buffer and scheduler that track every bank, resolve page hits and conflicts, and enforce full JEDEC timing, then drive DRAM over a DFI 5.0 PHY interface. Refresh, ZQ calibration, training, and inline SECDED ECC run alongside the datapath.
| Category | DDR memory controller with DFI PHY interface |
|---|---|
| Memory support | DDR4, DDR5, LPDDR4, LPDDR5 (LPDDR4X and LPDDR5X selectable) |
| Topology | Up to 4 ranks, 4 bank groups, 4 banks per group (16 banks), row up to 18 bits, column 10 bits |
| Burst and data | Burst length 8, configurable DQ width (16-bit default) |
| Host interface | AMBA AXI4 slave, 64-bit data, 32-bit address, 8-bit ID, 8 outstanding reads and 8 writes |
| Configuration | APB CSR, 12-bit address, 32-bit data |
| PHY interface | DFI 5.0, 1:1, 2:1 and 4:1 frequency ratios, frequency-change handshake, training interfaces |
| Scheduling | Per-bank state machines, page hit, miss and conflict handling, open and close page policy, 4-pass priority scan, reorder buffer with RAW, WAW and WAR hazard checks, QoS and anti-starvation |
| Timing engine | tRCD, tRP, tRAS, tRC, tFAW, tCCD, tWTR, tRRD (bank-group aware), tRFC and tRFCsb |
| Refresh | Periodic all-bank, DDR5 per-bank REFsb, DDR5 RFM Rowhammer mitigation, temperature-compensated 2x and 4x, refresh debt, self-refresh |
| Calibration and training | ZQCL and ZQCS, MRS, write leveling, gate training, read and write eye, CA training, VREF, timeout and retry |
| Data protection | Inline SECDED ECC (Hsiao 72,64), poison injection, background scrub |
| Power management | Power-down entry and exit FSM, self-refresh, deep power-down |
| Verification | SVTB and UVM VIP, reference model scoreboard, self-checking tests, functional coverage |
| Ownership | WIOWIZ IP and WIOWIZ VIP |
DDR4, DDR5, LPDDR4 and LPDDR5 from one configurable, synthesizable controller.
1:1, 2:1 and 4:1 frequency ratios, frequency-change handshake, and a full write level, gate, eye and VREF training path.
Per-bank state machines, page policy and a 4-pass priority scan drive high bus utilization.
Per-bank REFsb and RFM Rowhammer mitigation with refresh debt and temperature compensation.
Hsiao 72,64 correction with poison injection and a background scrub engine.
64-bit slave with 8 outstanding reads and writes, reorder buffer, hazard checks and QoS.