Professional Documents
Culture Documents
1
Memory
word
0 1 (row select) word
0 1
bit bit
bit bit
° Write:
1. Drive bit lines (bit=1, bit=0)
2.. Select row
° Read:
1. Precharge bit and bit to Vdd or Vdd/2 => make sure equal!
2.. Select row
3. Cell pulls one line low
4. Sense amp on column detects difference between bit and bit
Simple CMOS Memory Circuits: The SRAM Cell
• Circuit Operation:
– The cell has two stable states: “0” and “1” WL
• “0” State = Node X0 high and Node X1 low; T2 &
T5 are ON, T1 & T6 are OFF.
• “1” State = Node X1 high and Node X0 low; T1 &
active devices
T6 are ON; T2 & T5 are OFF.
• No dc current flows in either state.
– Read: raise WL to Vdd; pull one bit line high & pull the
other bit line low two cross-coupled inverters
– Write: raise WL to Vdd; precharge bit lines to ½ Vdd
Simple CMOS Memory Circuits: The SRAM Cell
Simple CMOS Memory Circuits: The SRAM Array
• READ Operation:
– Word Decode circuitry selects one of n Data In
•
(Row
WRITE Operation: Decode)
SRAM SRAM SRAM
– Selected WL is driven high to Vdd by Cell
31
Cell
32
Cell
33
word decode circuitry turning ON I/O
devices in selected cells
– Selected bit column has one BL pulled
Sense Amplifiers
high to Vdd and the other pulled low to and Off-Chip Drivers/Buffers
Address Decoder
SRAM SRAM SRAM SRAM
Cell Cell Cell Cell A1
Word 1 A2
SRAM SRAM SRAM SRAM
Cell Cell Cell Cell A3
: : : :
Word 15
SRAM SRAM SRAM SRAM
Cell Cell Cell Cell
- Sense Amp + - Sense Amp + - Sense Amp + - Sense Amp + Q: Which is longer:
word line or
bit line?
Dout 3 Dout 2 Dout 1 Dout 0
(DRAM)
row select
° Write:
• 1. Drive bit line
• 2.. Select row
° Read:
• 1. Precharge bit line to Vdd
bit
• 2.. Select row
• 3. Cell and bit line share charges
- Very small voltage changes on the bit line
• 4. Sense (fancy sense amp)
- Can detect changes of ~1 million electrons
• 5. Write: restore the value
° Refresh
• 1. Just do a dummy read to every cell.
Lec17.8
row select
General Characteristics
bit
Lec17.9