Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in...

40
Semiconductor Memory Design

Transcript of Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in...

Page 1: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Semiconductor Memory Design

Page 2: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Organization of Memory Systems

Driven only from outside

Data flow in and out

A cell is accessed for reading by selecting its row and column.

Memories may simultaneously select 4, 8, 16 …columns.

Page 3: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Overall Architecture of Memory Design

n=m=8216=25,536 bits=2Kb

Page 4: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

RAM

• Read-write random access memories (RAM)– Store data in active circuits; information

is lost if the power supply is interrupted

• Common Types– Static RAM (SRAM)– Dynamic RAM (DRAM)

Page 5: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

SRAM

• SRAM– Store value in flip-flop circuits as long as

power is on– High speed memories with clock cycles

in the range of 5 to 50 ns

Page 6: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

DRAM

• DRAM– Store values on capacitors– Prone to noise and leakage problems– Slower than SRAM, clocking at 50 ns to

200 ns.–More dense than SRAM

Page 7: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

RAM Timing Parameters

Write signal is active low

tAC(read access time): presentation of address Until data is out

tAC =(0.5 to 0.8)Tcycle

Tcycle: minimum time neededin order to complete successiveread and write operation

Page 8: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Organization of Memory Systems

Page 9: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

AND and NOR Decoders

Take an n-bit address.Produce 2n outputs,One of which is activated.

Problem: n=6 implies1. 64 NAND62. 64 inverters

It is difficult to implementNAND6 in standard CMOS

Page 10: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Predecoder Configurations

Use a 2 stage design to implementNAND6

Use logical effortto determinethe best design

Page 11: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Structure of Two-Level Decoder

Wire 1: from A0, A1

Wire 2: from A2, A3

Wire 3: from A4, A5

Need 12precoderssince n=6

Each precoder Will drive24 final decoders

Page 12: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Static RAM Cell Design

• Static Memory Operation

Page 13: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Basic SRAM and VTC

A wordline is used to select the cellBitlines are used to perform read and write operations on the cell

Page 14: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Cross Coupled Configuration

The cell can only flip its internal state when one of its internal cross VS.During a read op, we must not disturb its current state.During a write op, we must force the internal voltage to swing past VS to change a state.

Page 15: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

6T SRAM CellCan be replaced byundoped polysiliconto minimize area.

Use high threshold transistors to reduce leakage current.

Page 16: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Wordline and Double Bitline Configuration

One wordline is enabled.

The decoder must drive: (2 gate cap + wire cap) x # of cells in a row

Page 17: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Design of Transistor Size for Read Operation

Assume:q=0 and qb=1Initially: b=VDD, bb=VDD

Cbit is discharged through M1.b begins to drop.bb remains high.

Vbb and Vb is added to a sense amplifier and stored ona data buffer.

Upon completion of the read,wl returns to 0 Cbig prechargedTo VDD.

Page 18: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Bitline capacitance

Bitline capacitance: (S/D cap+ wire cap+S/D contact cap) X # of cells in a column

Page 19: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Sizing of M3 and M1

Icell could charge the gatecapacitance of M2, thus lowering qb.

Solution: Adjust the sizing of M3 and M1 to minimize changes in q.

W3/W1 can be determined.

Page 20: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Discharge time is controlled by sizing of M3 and M1

Icell should be large enough to Discharge bitline capacitance within20% to 30% of the cycle time.

Icell=Cbit (dV/dT)

Page 21: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Write Operation

Page 22: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Transistor Sizing

VQB=0.4=VTN

Page 23: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

SRAM Cell Layout

Page 24: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Optional materials

Page 25: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Column Pull-Up Configurations

Page 26: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Address Transition Detection Circuit

Page 27: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Column Decoding and Multiplexing

Page 28: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Column Selection

Page 29: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

4-bit Column Address

Page 30: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Write Driver Circuit

Page 31: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Basic Read Circuitry

Page 32: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Differential Voltage Sense Amplifier

Page 33: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Detecting “0” and “1”

Page 34: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Latch-based Sense Amplifier

Page 35: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Replica Circuit for Sense Amplifier Clock Enable

Page 36: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Replica Cell Design

Page 37: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Basic Memory Architecture

Page 38: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Divided Wordline Strategy to Reduce Power and Delay

Page 39: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Bitline Partition to Reduce Delay

Page 40: Semiconductor Memory Design. Organization of Memory Systems Driven only from outside Data flow in and out A cell is accessed for reading by selecting.

Peripheral Circuits

• Decoders• Sense Amplifiers• Column Precharge• Data Buffers