Docsity

EECS 373 F99 Notes: Dynamic RAM (DRAM), Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
EECS 373 F99 Notes 9-1 © 1998, 1999 Steven K. Reinhardt
Dynamic RAM
Dynamic RAM (DRAM) is the highest density, lowest cost
memory currently available. For these reasons it is univerally
used in any microprocessor-based system that requires more
than a small amount of non-volatile writable storage.
•One transistor per cell (drain acts as capacitor)
•Very small charges involved
•bit lines must be precharged to detect bit values
•voltage swing on bit lines is small; sense amp required
to convert to logic levels
•reads are destructive; DRAM devices internally write
data back on read
•leakage current can flip 1s to 0s: values must be
refreshed (rewritten) every few milliseconds or data will
be lost
•To reduce package cost and size, DRAM devices minimize
pin count by:
•using narrow logical configurations (x1, x4)
•multiplexing the internal row and column addresses on
the same pins
DRAM Interfacing
Internally, DRAMs are much like other memories, except:
•RAS and CAS signals strobe latches row and column halves
of multiplexed address
•CAS may also serve as output enable
•Most x1 devices have separate input and output data pins
decoder
4:1 mux/demux
Memory
Array
A0
DIN
WE
A1
latchlatch
RAS
CAS
DOUT
sense amps
pf3
pf4

Partial preview of the text

Download EECS 373 F99 Notes: Dynamic RAM (DRAM) and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Dynamic RAM

Dynamic RAM (DRAM) is the highest density, lowest cost memory currently available. For these reasons it is univerally used in any microprocessor-based system that requires more than a small amount of non-volatile writable storage.

  • One transistor per cell (drain acts as capacitor)
  • Very small charges involved
    • bit lines must be precharged to detect bit values
    • voltage swing on bit lines is small; sense amp required to convert to logic levels
    • reads are destructive ; DRAM devices internally write data back on read
    • leakage current can flip 1s to 0s: values must be refreshed (rewritten) every few milliseconds or data will be lost
  • To reduce package cost and size, DRAM devices minimize pin count by:
    • using narrow logical configurations (x1, x4)
    • multiplexing the internal row and column addresses on the same pins

DRAM Interfacing

Internally, DRAMs are much like other memories, except:

  • RAS and CAS signals strobe latches row and column halves of multiplexed address
  • CAS may also serve as output enable
  • Most x1 devices have separate input and output data pins

decoder

4:1 mux/demux

Memory Array

A

DIN

WE

A1^ latch

latch

RAS

CAS

DOUT

sense amps

DRAM Timing: Reads

  • The falling edges of RAS and CAS strobe the address bits into the row and column latches, respectively. These must be separated by at least tRCD.
  • As with other memories, multiple access times are specified, and the time to valid data out will depend on which is the critical path. For DRAMs, there are two access times, tRAC and tCAC, for access time from valid row address and valid column address, respectively.
  • Setup and hold times for both row and column addresses exist but are not shown.
  • The read cycle time (tRC) is typically much larger than the access time due to the required precharge time tRP ( not drawn to scale).

DRAM Timing: Writes

Write timing is similar. If WE is asserted on the falling edge of CAS, data is written from DIN instead of being read to DOUT. Note that this is different from SRAMs, which perform writes at the end of the cycle (rising edge of WE).

  • Most timing parameters are identical to the read cycle. tRAS and tCAS are minimum pulse widths that also apply to the read cycle but were left out of that diagram for clarity.
  • Required setup and hold times on DIN and WE not shown.

ADDR

RAS

CAS

DOUT

tRCD

tRAC

tRC

tCAC

row col

tRP

valid

ADDR

RAS

CAS

DIN

tRCD

tRAS

tRC

tCAS

row col

tRP

valid

WE

Synchronous DRAM (SDRAM)

As the name implies, a synchronous DRAM has a clock input, and all signals are defined with respect to clock edges.

  • After providing row and column addresses, a programmable number of bits can be provided one per clock without any other control inputs
  • The next pair of row and column addresses can be provided while the previous access is still completing
  • SDRAMs have multiple (e.g., 4) memory arrays (banks) so that independent accesses can be even further overlapped:
    • provide row address for bank 1
    • provide row address for bank 2
    • provide column address for bank 1
    • provide column address for bank 2
    • get data from bank 1
    • get data from bank 2
  • Clock speeds of 66, 100, 125 MHz
  • Sega Saturn was one of the earliest widespread users
  • Becoming common in PCs now

Rambus

Rambus is a revolutionary new DRAM interface that combines multiple banks per chip with a high-speed bus interface. Two earlier generations (“Rambus” and “Concurrent Rambus”) have been superseded by the latest “Direct Rambus” protocol. Intel is pushing this to be the high-end PC memory technology by

  • 400 Mhz clock, data transferred on both edges
  • 16-bit bus
  • result: 1.6 Gbytes per second on one “channel”
  • high-end servers will have multiple channels
  • 16 banks per chip: if enough accesses go to different banks, a single chip can provide the full 1.6 GB/s
  • nice solution to granularity problem: what is minimum memory system size/increment given very dense chips?
  • SDRAM vendors using two-edge trick in new “dual data rate” (DDR) SDRAMs
  • Sync-Link DRAM (SLDRAM) uses similar ideas as Rambus (with a few key changes, mostly at the electrical level), but is standards-based instead of proprietary