Lec 4 New
Lec 4 New
Lec 4 New
DRAM Types
Introduction
• Over the last two decades, both the capacity and
speed of DRAM have increased significantly.
• The quest for speed has resulted in the evolution of
many types of DRAM.
• In modern high-speed computer systems, the
processor interacts with the DRAM within a
memory hierarchy.
• Most of the instructions and data for the processor
are fetched from two lower levels of the hierarchy,
the L1 and L2 caches.
Cont.,
• The key issue is that most of the reads from the DRAM are
not directly from the CPU, but instead are initiated to bring
data and instructions into these caches.
• The reads are in the form of a line (i.e., some number of
bytes in contiguous addresses in memory) that is brought
into the cache.
• For example, in a given read, the 16 bytes in hexadecimal
addresses 000000 through 00000F would be read. This is
referred to as a burst read.
• For burst reads, the effective rate of reading bytes, which is
dependent upon reading bursts from contiguous addresses,
rather than the access time is the important measure.
Cont.,
• our discussion of memory types here will focus on
synchronous DRAM, double-data-rate synchronous
DRAM, and Rambus® DRAM.
• The effectiveness of these DRAM types depends
upon a very fundamental principle involved in
DRAM operation, “the reading out of all of the bits
in a row for each read operation”.
• With these concepts in mind, the synchronous
DRAM can be introduced.
Burst Mode
• It refers to a device is transmitting data repeatedly
without going through all the steps required to
transmit each piece of data in a separate
transaction.
• The implication of this principle is that all of the bits
in a row are available after a read using that row if
only they can be accessed.
Types of DRAM
Cont.,
• Asynchronous DRAM: The memory access was not
synchronized with the system clock. That's why it's called
asynchronous. It was the first type of DRAM in use but was
gradually replaced by synchronous DRAM.
• Synchronous DRAM: In synchronous DRAM (SDRAM), the
clock is synchronized with the memory interface.
Synchronous DRAM syncs memory speeds with CPU clock
speeds, letting the memory controller know the CPU clock
cycle.
• Graphics DRAM: Graphics DRAMs are asynchronous and
synchronous DRAMs designed for graphics-related tasks
such as texture memory and frame buffers found on video
cards.
Synchronous DRAM
(SDRAM)
• Operates with a clock rather than being
asynchronous.
• This permits a tighter interaction between memory
and CPU, since the CPU knows exactly when the
data will be available.
• SDRAM also takes advantage of the row value
availability and divides memory into distinct banks,
permitting overlapped accesses (Interleaving
Memory).
Block Diagram of a 16 MB SDRAM
The differences in the Internal
Structure with DRAM
• Synchronous registers on the address inputs and the data
inputs and outputs.
• In addition, a column address counter has been added,
which is key to the operation of the SDRAM (specify the
burst length).
• While the control logic may appear to be similar, the control
in this case is much more complex, since the SDRAM has a
mode control word that can be loaded from the address
bus.
SDRAM Operation
• Consider 16 MB SDRAM, with no of rows = 13 lines, and no.
of columns = 11 lines. It means that we have rows, each
with bytes.
• As with the regular DRAM, the SDRAM applies the row
address first, followed by the column address.
• The timing, however, is somewhat different, and some new
terminology is used.
• Before performing an actual read operation from a specified
column address, the entire row of 2048 bytes specified by
the applied row address is read out internally and stored in
the I/O logic.
• Internally, this step takes a few clock cycles.
Cont.,
• Next, the actual read step is performed with the
column address applied.
• After an additional delay of a few clock cycles, the
data bytes begin appearing on the output, one per
clock period.
• The number of bytes that appear, the burst length,
has been set by loading a mode control word into
the control logic from the address input.
Timing Diagram for an SDRAM
Where:
• The timing of a burst read cycle with burst length
equal to four is shown in Figure.
• The read begins with the application of the row
address and the row address strobe (RAS), which
causes the row address to be captured in the
address register and the reading of the row to be
initiated.
• During the first two clock periods, the reading of
the row is taking place.
Cont.,
• During the third clock period, the column address
and the column address strobe are applied,
• The column address captured in the address
register and the reading of the first data byte
initiated.
• The data byte is then available to be read from the
SDRAM at the positive clock edge of the fifth clock
cycle.
• The second, third, and fourth bytes are available for
reading on subsequent clock edges.
Note:
• In Figure 7-17, note that the bytes are presented in
the order 1, 2, 3, 0.
• This is because, in the column address identifying
the byte immediately needed by the CPU, the last
two bits are 01.
• The subsequent bytes appear in the order of these
two bits counted up modulo (burst length) by the
column address counter, giving addresses ending in
01, 10, 11, and 00, with all other address bits fixed
Example
• Compare the byte rate for reading bytes from SDRAM to
that of the basic DRAM. Assume that the read cycle time
for the basic DRAM is 60 ns and that the clock period for
the SDRAM is 7.5 ns.
Solution:
- The byte rate for the basic DRAM is one byte per 60 ns, or
16.67 MB/sec.