integrated circuits & systems

33
Lecture 24 Memory & Array Structures – 2 Original slides prepared by Prof. Luiz C. V. Santos (from J. Rabaey’s, A. Chandrakasan’s, and B. Nikolic’s book) Prof. José Luís Güntzel [email protected] Integrated Circuits & Systems INE 5442 Federal University of Santa Catarina Center for Technology Computer Science & Electronics Engineering

Upload: others

Post on 03-Oct-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Integrated Circuits & Systems

Lecture 24 Memory & Array Structures – 2

Original slides prepared by Prof. Luiz C. V. Santos (from J. Rabaey’s, A. Chandrakasan’s, and B. Nikolic’s book)

Prof. José Luís Güntzel [email protected]

Integrated Circuits & Systems INE 5442

Federal University of Santa Catarina Center for Technology

Computer Science & Electronics Engineering

Page 2: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.2

  Static (SRAM)   Data stored as long as supply is applied   Large (6 transistors/cell)   Fast   Differential

  Dynamic (DRAM)   Periodic refresh required   Small (1-3 transistors/cell)   Slower   Single Ended

Read-Write Memories

Efficiently implemented in same technology as processor cores in SoCs: embedded memories

It requires special technology to allow high densities: external memories

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 3: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.3

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

6-T CMOS SRAM Cell

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 4: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.4

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

6-T CMOS SRAM Cell

1 0

(Stored bit)

Read

Page 5: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.5

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

6-T CMOS SRAM Cell

VDD 0

(Precharge)

Read VDD VDD

Page 6: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.6

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

6-T CMOS SRAM Cell

VDD 0

(Word line selection)

Read VDD VDD

VDD

Page 7: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.7

WL

BL V DD

M 5 M 6

M 4

M 1 V DD V DD V DD

BL Q = 1 Q = 0

C bit C bit

Ripple here must be small so as to avoid flipping Q

Since ΔV is small, M5 is saturated: VDS = VDSATn

VD

D

GND

ΔV

M5 must be weaker than M1

CMOS SRAM Analysis (Read)

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 8: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.8

WL

BL V DD

M 5 M 6

M 4

M 1 V DD V DD V DD

BL Q = 1 Q = 0

C bit C bit

CMOS SRAM Analysis (Read)

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 9: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.9

0 0

0.2

0.4

0.6

0.8

1

1.2

0.5 1 1.2 1.5 2 Cell Ratio (CR)

2.5 3

Volta

ge R

ise

ΔV

(V)

For higher density: min W1 and min L1 → min W5, larger L5 → CWL↑

CMOS SRAM Analysis (Read)

Adapted from: Rabaey; Chandrakasan; Nikolic, 2003

0.25 µm tech.

Page 10: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.10

For performance: min W5 and min L5 → larger W1, min L1 → Cell area↑

CMOS SRAM Analysis (Read)

Adapted from: Rabaey; Chandrakasan; Nikolic, 2003

0 0

0.2

0.4

0.6

0.8

1

1.2

0.5 1 1.2 1.5 2 Cell Ratio (CR)

2.5 3

Volta

ge R

ise

ΔV

(V)

0.25 µm tech.

Page 11: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.11

Read upset immunity enforced since VQ clamped at VDD by BL

Read upset immunity improved if precharge to VDD/2

Read time must be accelerated by sense amplifier

Read Robustness and Performance

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

VDD 0

VDD VDD

VDD

Page 12: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.12

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

6-T CMOS SRAM Cell

1 0

(Stored bit)

Write

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 13: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.13

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

6-T CMOS SRAM Cell

1 0

(Driving bit lines)

Write 0 1

Page 14: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.14

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

6-T CMOS SRAM Cell

(Driving bit lines)

Write 0 VDD

VDD 0

VDD

Page 15: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.15

Due to sizing for Read, this value is kept below 0.4V:

BL must flip Q. VDD

GND

VQ

When VQ is small, M4 is saturated: VDS = VDSATp

M4 must be weaker than M6

CMOS SRAM Analysis (Write)

Source: Rabaey; Chandrakasan; Nikolic, 2003

BL=1 BL=0

Q = 0 Q = 1

M 1

M 4

M 5 M 6

V DD

V DD WL

BL does not flip Q !

Page 16: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.16

BL = 1 BL = 0

Q = 0 Q = 1

M 1

M 4

M 5 M 6

V DD

V DD WL

CMOS SRAM Analysis (Write)

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 17: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.17

W4/L4

W6/L6 PR =

Due to read sizing: min W6 and min L6 → min L4, larger W4?

Even with min W4, Write is realiable! (since PMOS is weaker than NMOS)

CMOS SRAM Analysis (Write)

Adapted from: Rabaey; Chandrakasan; Nikolic, 2003

Pull-up Ratio (PR)

Cel

l Vol

tage

VQ [V

] 0.25 µm tech.

Page 18: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.18

Very robust since it relies on stronger BL driver

Write time dominated by delay of cross-coupled inverter pair

WL

BL

V DD

M 5 M 6

M 4

M 1

M 2

M 3

BL

Q Q

0 VDD

VDD 0

VDD

Write Robustness and Performance

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 19: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.19

VDD

GND

Q Q

WL

BL BL

M1 M3

M4 M2

M5 M6

6-T SRAM Layout

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 20: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.20

“This memory comes from my memories (18 years ago)” Designed at UCL, Louvain-la-Neuve, Belgium, 1990. (Source: Luiz Santos, MSc dissertation)

6-T SRAM: Mirrored Layout

Page 21: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.21

••• •••

CAM

Bit Word

Bit

••• CAM

Bit Bit

CAM

Word

Wired-NOR Match Line

••• CAM

Static CAM Memory Cell

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 22: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.22

S

S

BIT

BIT

INT

BIT S INT

0 0 1

0 1 0

1 0 0

1 1 1

INT = BIT ⊕ S

CAM Cell Requires 1-Bit Comparator

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 23: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.23

••• •••

CAM

Bit Word

Bit

••• CAM

Bit Bit

CAM

Word

Wired-NOR Match Line

••• CAM

Static CAM Memory Cell

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 24: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.24

••• •••

CAM

Bit Word

Bit

••• CAM

Bit Bit

CAM

Word

Wired-NOR Match Line

Match M1 M2

M7 M6 M4 M5 M8 M9

M3 int S Word

••• CAM

Bit Bit

S

Static CAM Memory Cell

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 25: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.25

••• •••

CAM

Bit Word

Bit

••• CAM

Bit Bit

CAM

Word

Wired-NOR Match Line

Match M1 M2

M7 M6 M4 M5 M8 M9

M3 int S Word

••• CAM

Bit Bit

S

6T-SRAM cell

Static CAM Memory Cell

Page 26: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.26

••• •••

CAM

Bit Word

Bit

••• CAM

Bit Bit

CAM

Word

Wired-NOR Match Line

Match M1 M2

M7 M6 M4 M5 M8 M9

M3 int S Word

••• CAM

Bit Bit

S

2T-comparator

Static CAM Memory Cell

Page 27: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.27

••• •••

CAM

Bit Word

Bit

••• CAM

Bit Bit

CAM

Word

Wired-NOR Match Line

Match M1 M2

M7 M6 M4 M5 M8 M9

M3 int S Word

••• CAM

Bit Bit

S

1T-discharger

Static CAM Memory Cell

Page 28: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.28

••• •••

CAM

Bit Word

Bit

••• CAM

Bit Bit

CAM

Word

Wired-NOR Match Line

Match M1 M2

M7 M6 M4 M5 M8 M9

M3 int S Word

••• CAM

Bit Bit

S

All match lines precharged; all but one discharged (at best) → Pdyn↑

Static CAM Memory Cell

Page 29: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.29

CAM ARRAY

Input Drivers

Tag

SRAM ARRAY

Sense Amps / Input Drivers

Data

Add

ress

Dec

oder

Address

Hit

Logi

c

Hit R/W

CAM in Cache Memory

Source: Rabaey; Chandrakasan; Nikolic, 2003

Page 30: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.30

CAM ARRAY

Input Drivers

Tag

SRAM ARRAY

Sense Amps / Input Drivers

Data

Add

ress

Dec

oder

Address

Hit

Logi

c

Hit R/W Cache controller Datapath Status/Control

CAM in Cache Memory

Page 31: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.31

[R. Banakar, S. Steinke, B.-S. Lee, 2001]

Ecache = 3,5 a 4,0 x ESPM

Ecache = 2,25 a 2,7 x ESPM

The Impact of the CAM Array

Page 32: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.32

 Embedded Memories   6T SRAM cell: SPM   9T CAM cell + 6T SRAM cell: cache

 Energy Efficiency   SPM is promising (no CAM)   But requires embedded SW optimization

Conclusions

Page 33: Integrated Circuits & Systems

Memory & Array Structures

Lecture 24 – 2012/2 Prof. José Luís Güntzel

INE/CTC/UFSC Integrated Circuits and Systems Slide 24.33

Reference

1.  RABAEY, J; CHANDRAKASAN, A.; NIKOLIC, B. Digital Integrated Circuits: a design perspective. 2nd Edition. Prentice Hall, 2003. ISBN: 0-13-090996-3