ch chapter 1 introduction to memories - ncu

32
Ch Chapter 1 Introduction to Memories Introduction to Memories Jin-Fu Li Advanced Reliable Systems (ARES) Lab. Dept. of Electrical Engineering N ti l C t l U i it National Central University Jhongli, Taiwan

Upload: others

Post on 04-May-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ch Chapter 1 Introduction to Memories - NCU

Ch Chapter 1Introduction to MemoriesIntroduction to Memories

Jin-Fu LiAdvanced Reliable Systems (ARES) Lab.

Dept. of Electrical EngineeringN ti l C t l U i itNational Central University

Jhongli, Taiwan

Page 2: Ch Chapter 1 Introduction to Memories - NCU

Outline

• Importance of Embedded Memories• Overview of Memory Structures

2Jin-Fu LiNational Central University

Page 3: Ch Chapter 1 Introduction to Memories - NCU

Embedded Memory – The Key to SOC

• Embedded memory is becoming more central to integrated circuit designintegrated circuit design

• Historically, ICs were dominated by the logic f ti ith b i t lfunctions, with memory being external

• Today, an SOC contains many memory blocks of y y ydifferent sizes, shapes and functionality− Typically, embedded memories represent about

30%~50% SOC area

• The Semiconductor Industry Association (SIA) The Semiconductor Industry Association (SIA) predicts that 90% of the SOC’s surface will be memory in 2011

3Jin-Fu LiNational Central University

y

Page 4: Ch Chapter 1 Introduction to Memories - NCU

Embedded Memory – The Key to SOC

SOC memory continues to increase

Memory Area Reused Logic Area New Logic Area

20%

16%52%

71%

16%

71%83%

90% 94%

64%16%

32%13%

9%16%

9%

8%6%4%

4%2%

99 02 05* 08* 11* 14**Foreast

4Jin-Fu LiNational Central University

Source: SIA, ITRS, 2000*Foreast

Page 5: Ch Chapter 1 Introduction to Memories - NCU

Embedded Memory – Advantages

• Area− Embedding multiple memories on a single SOC reduces

h f ili dthe amount of silicon used

• Performance− Embedding faster, wider memories and moving them

closer to processor can increase system performance substantiallyy

• Power− Embedded memories eliminate the need to drive off-chip Embedded memories eliminate the need to drive off chip

capacitance between the stand-alone memories and other system chips

• Design reuse− By reusing embedded memories, system designers can

significantly reduce develop time and cost5Jin-Fu LiNational Central University

significantly reduce develop time and cost

Page 6: Ch Chapter 1 Introduction to Memories - NCU

Embedded Memory – Quality

• During manufacture− Yield− Exponential yield model− , where A and D denote the area and ADeY −= ,

defect density, respectively

• After manufactureAfter manufacture− Reliability

• D i • During use− Soft error rate

6Jin-Fu LiNational Central University

Page 7: Ch Chapter 1 Introduction to Memories - NCU

Quality During Manufacture•Issues of embedded memory

− As the density of transistors is increased the D is − As the density of transistors is increased, the D is increased compared to logic

− About 2X logic for high density 6-T SRAMAbout 2X logic for high density 6 T SRAM

•SolutionsR d d & l i i ATE− Redundancy & laser repair using ATE

− Error correction code (ECC)

•Redundancy & repair− Achieve yield parity with logic, or bettery p y g ,− About 3% area overhead− Recommended over 1Mb

7Jin-Fu LiNational Central University

Page 8: Ch Chapter 1 Introduction to Memories - NCU

Quality During Manufacture

− Corrects <5 defects per Mb− Laser repair manufacturing flow

•ECC− Detect/repair defects in individual words− 25-30% area overhead

E 6 bi f i l bi i i 32 bi d∗ Ex: 6 extra bits for single bit correction in 32 bit words− Latency penalty

∗ At least one clock cycle latency penaltyy y p y

8Jin-Fu LiNational Central University

Page 9: Ch Chapter 1 Introduction to Memories - NCU

Quality-Insurance Strategies for Memories

Memory Tester Conventional test and repair approaches.Large Capture Memory.Redundancy analysis

1 Long testing timeLaser Repair .Swap the defective

cells

Test the repaired

1. Long testing time2. Expensive memory tester and

logic tester are needed

Logic Tester

Memory Tester .Test the repairedmemories

.Test the remaining gnon-memory components

Built-In Self-Test (BIST).Test

Built-In Self-Diagnosis (BISD).Diagnostics BIST & BISR approaches

1. Short testing timeBuilt-In Redundancy Analyzer

(BIRA).Redundancy allocation 2. Only cheap logic testeris needed

9Jin-Fu LiNational Central University

Redundancy Reconfiguration .Swap the defective cells

Page 10: Ch Chapter 1 Introduction to Memories - NCU

Introduction to Memories• Overview of semiconductor memory types

Semiconductor Memories

Read/Write Memory or Random Access Memory (RAM) Read Only Memory (ROM)

•Mask (Fuse) ROM

Random Access Memory (RAM)

Non-Random Access Memory (RAM)

•Programmable ROM (PROM)•Erasable PROM (EPROM)•Electrically EPROM (EEPROM)

•Flash Memory•Static RAM (SRAM)D i RAM (DRAM)

•FIFO/LIFOShift R i t •Flash Memory

•Ferroelectric RAM (FRAM)•Magnetic RAM (MRAM)

•Dynamic RAM (DRAM)•Register File

•Shift Register•Content Addressable Memory (CAM)

10Jin-Fu LiNational Central University

Page 11: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – Memory Architecture

• Volatile memories may be divided into the following categories

R d− Random access memory− Serial access memory

Content addressable memory− Content addressable memory• Memory architecture

2m+k bits

row decoder

row decoder

d d2n-k words

row decoder

row decoder

column decoder

column mux,sense amp

n-bit addressk

11Jin-Fu LiNational Central University

sense amp,write buffers

m-bit data I/Os

Page 12: Ch Chapter 1 Introduction to Memories - NCU

1-D Memory ArchitectureS0

S1 Word1

Word0

S0

S1 Word1

Word0

S2

S3

Word2

Word1S2

S3

Word2

Word1

erA

A0

Dec

od

Ak-1

A1

Sn-1

Sn-2Wordn-2

Sn-1

Sn-2Wordn-2

Storage element

n-1Wordn-1

m-bit

n 1Wordn-1

m-bit m bit Input/Output

n select signals: S0-Sn-1

m bit Input/Output

n select signals are reduced to k address signals: A0-Ak-1

12Jin-Fu LiNational Central University

g 0 k 1

Page 13: Ch Chapter 1 Introduction to Memories - NCU

2-D Memory ArchitectureS0

S1

Wordi-1Word0

ecod

erA1

A0

Row

De

Ak-1

Wordni-1

Sn-1

Column DecoderA0Aj-1

Sense AmplifierRead/Write Circuit

13Jin-Fu LiNational Central University

m-bit Input/Output

Page 14: Ch Chapter 1 Introduction to Memories - NCU

3-D Memory ArchitectureRow

lum

nCo

ock

Blo

Input/OutputInput/Output

14Jin-Fu LiNational Central University

Page 15: Ch Chapter 1 Introduction to Memories - NCU

Conceptual 2-D Memory Organization

der

M C llAddressow

Dec

od Memory CellAddressRo

Column decoder

D t I/OData I/Os

15Jin-Fu LiNational Central University

Page 16: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – RAM

Bit line conditioning

Generic RAM circuit

ClocksBit line conditioning Clocks

RAM Cell

n-1:k

Sense Amp Column WriteSense Amp, Column Mux, Write Buffers

WriteClocks

write data read dataAddress

k-1:0

16Jin-Fu LiNational Central University

write data read data

Page 17: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – RAM Cells

6-T SRAM cellword line

bit - bit

4-T SRAM cell

word line

bit bit

word line

17Jin-Fu LiNational Central University

bit - bit

Page 18: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – RAM Cells

1-T DRAM cell

word line word line

bit bit

Layout of 1-T DRAM (right) word lineVdd

bitbit

18Jin-Fu LiNational Central University

Page 19: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – DRAM Retention Time

Write and hold operations in a DRAM cell

WL=1 WL=0

Input Vdd

onCs Vs

+

-+off

Cs Vs

+

--

Write Operation Hold

tDD VVVV −==)(max

max

tnDDs

tnDDs

VVCQVVVV

−=

19Jin-Fu LiNational Central University

Page 20: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – DRAM Retention Time

Charge leakage in a DRAM Cell

WL 0Vs(t)

WL=0

off +IL

Vmax

V1Minimum logic 1

voltageoffCs Vs(t)

+

-tth

sL dt

dQI −= )(

ssL

Vdt

dVCI

Δ

−= )(

s

ssL

VCtt

tVCI

Δ≈Δ=

ΔΔ

−≈

)(||

)(

20Jin-Fu LiNational Central University

sL

h VI

tt Δ≈Δ= )(||

Page 21: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – DRAM Refresh Operation

1050 15× −

As an example, if IL=1nA, Cs=50fF, and the difference of Vs is 1V, the hold time is

st h μ5.011011050

9 =×××

= −

Memory units must be able to hold data so long as the power is applied. To overcome the charge leakage problem, DRAM arrays employ a refresh operation where the data is periodically read from every cell amplified and rewrittenevery cell, amplified, and rewritten.

The refresh cycle must be performed on every cell in the array with a i i f h f f b tminimum refresh frequency of about

1

hrefresh t

f21

21Jin-Fu LiNational Central University

Page 22: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – DRAM Read Operation

WL=1

Ion

Cs Vs

+

-+

IL

Vf+V

Cbit

- VfVbit

fbitfss

sss

VCVCQVCQ

+==

sbits

sf V

CCCV )(+

=

This shows that Vf<Vs for a store logic 1. In practice, Vf is usually reduced to a few tenths of a volt, so that the design of the sense amplifier becomes a critical factor

22Jin-Fu LiNational Central University

p

Page 23: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – RAM Read Operation

prechargeprecharge

p g

bit, -bit

word lineword

bit- bit

data

data

23Jin-Fu LiNational Central University

Page 24: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – RAM Write Operation

NN

write dataword

N6N5

write

N4N3

word

bit bitbit- bit

bit, -bit

cell cell

writeN2N1

cell, -cellwrite data

24Jin-Fu LiNational Central University

Page 25: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – Row Decoder

word<3> word<0>

word<2> word<1>word<2> word<1>

word<1> word<2>

word<0> word<3>

25Jin-Fu LiNational Central University

a<1> a<0> a<1> a<0>

Page 26: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – Row DecoderPredecode circuitPredecode circuit

word<7>

d 6

word<5>

word<6>

word<3>

word<4>

word<1>

word<2>

word<1>

word<0>

26Jin-Fu LiNational Central Universitya0a1a2

Page 27: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – Row Decoder

a0

Actual implementation

a1a2a3a4

word

-a0 clk

Pseudo-nMOS example

worda0 o da0

a1 a2 en

27Jin-Fu LiNational Central University

Page 28: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – Column Decoder

bit<7>bit<6>bit<5>bit 5bit<4>bit<3>bit<2>

selected-data

bit 2bit<1>bit<0>

-bit<7>-bit<6>bit<5>

to sense amps and write ckts

-bit<5>-bit<4>

-bit<3>bit 2

-selected-data

-bit<2>-bit<1>-bit<0>

28Jin-Fu LiNational Central Universitya0 -a2a2-a1a1-a0

Page 29: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – Multi-Ported RAM

write

-rbit1 -rbit0 -rwr_data rbit1rbit0rwr_data

read0read1

writeread0read1

29Jin-Fu LiNational Central University

-rbit1 -rwr_data rbit0rwr_data

Page 30: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – ROM

A 4x 4-bit NOR-based ROM array

R1 R2 R3 R4 C1 C2 C3 C4R1 R2 R3 R4 C1 C2 C3 C4

R1 1 0 0 0 0 1 0 1

R20 1 0 0

0 0 1 0

0 0 1 1

1 0 0 1

R3 0 0 0 1 0 1 1 0

R4

30Jin-Fu LiNational Central University

C1 C2 C3 C4

Page 31: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – ROM

A 4x 4-bit NAND-based ROM array

C1 C2 C3 C4

R1 R2 R3 R4 C1 C2 C3 C4R1

C1 C2 C3 C4

0 1 1 1

1 0 1 1

0 1 0 1

0 0 1 1R2

1 1 0 1

1 1 1 0

1 0 0 1

0 1 1 0

R3

R4 1 1 1 0 0 1 1 0R4

31Jin-Fu LiNational Central University

Page 32: Ch Chapter 1 Introduction to Memories - NCU

Memory Elements – ROM

Typical ROM architecture

2N word lines

NOR Row

D d

NOR

Decoder ROM Array

1 2 3 N

Address bits 2M columns

32Jin-Fu LiNational Central University