Design of LPDDR3 Memory Controller With Axi
Design of LPDDR3 Memory Controller With Axi
COMPLIANT
1
POOJASHREE, 2SANJAY ELIGAR, 3YOGESH SONI
Abstract- The paper presents the implementation of compliant LPDDR3 memory controller. It discusses the overall
architecture of the LPDDR3 controller. As system bandwidths continue to increase, memory technologies have been
optimized for higher speeds and performance. The next generation family of Low Power Double Data Rate (LPDDR)
RAMs is LPDDR3 RAM. LPDDR3 RAMs offer numerous advantages compared to LPDDR2. Low Power Double Data
Rate 3 (LPDDR3) SDRAM Controller is designed for use in applications requiring high memory throughput, high clock
rates and full programmability. LPDDR3 was designed specifically for mobile devices like smart phones, tablets and ultra-
books. These memory devices are rapidly developing, with high density, high memory bandwidth and low device cost.
However, because of the high-speed interface technology and complex instruction-based memory access control, a specific
purpose memory controller is necessary for optimizing the memory access trade off.
Proceedings of 07th IRF International Conference, 22nd June-2014, Bengaluru, India, ISBN: 978-93-84209-29-2
33
Design of LPDDR3 Memory Controller With AXI Compliant
A. AXI Interface: It has five different channels 1. D. LPDDR3 Memory Controller state machine:
Write address 2. Write data 3. Write response 4. Read
address 5.
Read data.
Output of the write data channel and read data
channel are connected to write and read FIFO
respectively.
The AMBA AXI protocol is targeted at high-
performance, high-frequency system design and
includes a number of features that make it suitable for
a high-speed submicron interconnects. The key
features of the AXI protocol are:
Separate address/control and data phase.
Support for unaligned data transfers using byte Fig .3: Controller state machine
strobes.
Burst-based transactions with only start address Controller can go from IDLE to many different states.
issue.
ACTIVE: The ACTIVATE command must be
B. - Initialization sequence state machine: applied before any READ or WRITE operation can
In order to successfully read from a DDR memory a be executed. The device can accept a READ or
lengthy initialization sequence involving the WRITE command after the ACTIVATE command is
programming of the device’s mode registers must be issued. After a bank has been activated it must be
done, data can then be written to the device and only precharged before another ACTIVATE command can
then can a read instruction be executed which is the be applied to the same bank. Row addresses are used
first time in the test sequence that the test engineer to determine which row to activate in the selected
will be able to validate that the preceding bank.
initialization sequence and write commands have in
fact executed successfully. After the initialization READ and WRITE: After a bank has been
sequence is complete, the device is ready for any activated, a read or write cycle can be executed. The
valid command. LPDDR3 SDRAM provides a fast column access
operation. A single Read or Write Command will
initiate a burst read or write operation on successive
clock cycles. Burst interrupts are not allowed.
Proceedings of 07th IRF International Conference, 22nd June-2014, Bengaluru, India, ISBN: 978-93-84209-29-2
34
Design of LPDDR3 Memory Controller With AXI Compliant
E. Functional Description
LPDDR3-SDRAM is a high-speed synchronous
DRAM
device internally configured as an 8-bank memory.
These devices contain the following number of bits:
4 GB has 4,294,967,296 bits
8 GB has 8,589,934,592 bits
16 GB has 17,179,869,184 bits
32 GB has 34,359,738,368 bits
F. Address Mapping
The input address comes along with the AXI
command. 32 bit AXI address is divided into row,
column and bank address as follows Fig.4: Simulation waveform of initialization sequence.
CONCLUSION
Fig.6: Simulation waveform of write data
In this paper the DDR3 controller is designed using
D.Write Response Verilog HDL. This design is simulated in Modelsim
by Mentor graphics tool and successfully synthesized
in gVim, also in RTL compiler by Cadence EDA
tool.
REFERENCES
Proceedings of 07th IRF International Conference, 22nd June-2014, Bengaluru, India, ISBN: 978-93-84209-29-2
36