Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read...

9
1 Penn ESE370 Fall2012 -- DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 28: November 16, 2012 Memory Periphery Today Memory Periphery • Driving • Decode • Sensing Energy (time permitting) Penn ESE370 Fall2012 -- DeHon 2 Bus Drivers Penn ESE370 Fall2012 -- DeHon 3 Memory Bank Penn ESE370 Fall2012 -- DeHon 4 Tristate Driver Penn ESE370 Fall2012 -- DeHon 5 Tri-State Drivers Penn ESE370 Fall2012 -- DeHon 6

Transcript of Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read...

Page 1: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

1

Penn ESE370 Fall2012 -- DeHon 1

ESE370: Circuit-Level

Modeling, Design, and Optimization for Digital Systems

Day 28: November 16, 2012 Memory Periphery

Today

Memory Periphery •  Driving •  Decode •  Sensing •  Energy (time permitting)

Penn ESE370 Fall2012 -- DeHon 2

Bus Drivers

Penn ESE370 Fall2012 -- DeHon 3

Memory Bank

Penn ESE370 Fall2012 -- DeHon 4

Tristate Driver

Penn ESE370 Fall2012 -- DeHon 5

Tri-State Drivers

Penn ESE370 Fall2012 -- DeHon 6

Page 2: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

2

Memory Bank

Penn ESE370 Fall2012 -- DeHon 7

Row Select

•  Logically a big AND – May include an enable for timing in

synchronous

Penn ESE370 Fall2012 -- DeHon 8 How many transistors (per address bit)?

How tall is a row?

•  Side length for cell of size: – 1000 λ2

–  600 λ2

–  100 λ2

Penn ESE370 Fall2012 -- DeHon 9 10

How tall is an AND?

Penn ESE370 Fall2012 -- DeHon

6λ 6λ

λ λ

10

Row Select

•  How can we do better? – Area – Delay – Match to pitch of

memory row

Penn ESE370 Fall2012 -- DeHon 11

Row Select

•  Compute inversions outside array – Just AND appropriate line (bit or /bit)

Penn ESE370 Fall2012 -- DeHon 12

Page 3: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

3

Row Select •  Share common terms •  Multi-level decode

Penn ESE370 Fall2012 -- DeHon 13

Row Select

•  Same number of lines •  Half as many AND inputs

Penn ESE370 Fall2012 -- DeHon 14

Row Select: Precharge NAND

Penn ESE370 Fall2012 -- DeHon 15

Row Select: Precharge NOR

Penn ESE370 Fall2012 -- DeHon 16

Sensing

Penn ESE370 Fall2012 -- DeHon 17

Penn ESE370 Fall2012 -- DeHon 18

SRAM Memory bit

Page 4: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

4

Simulation Waccess=20

Penn ESE370 Fall2012 -- DeHon 19

Sense Small Swings

•  What do we have to worry about?

Penn ESE370 Fall2012 -- DeHon 20

Sense Small Swings

•  Variation •  Common mode noise

Penn ESE370 Fall2012 -- DeHon 21

Differential Sense Amp

•  Goal: – Reject

common shift

Penn ESE370 Fall2012 -- DeHon 22

Differential Sense Amp

Penn ESE370 Fall2012 -- DeHon 23

What doe this do?

•  Output when: –  In=Gnd? –  In=Vdd? – Transfer curve?

Penn ESE370 Fall2012 -- DeHon 24

Page 5: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

5

“Inverter”

•  Input high – Ratioed like

grounded P •  Input low

– Pulls itself up – Until Vdd-VTP

Penn ESE370 Fall2012 -- DeHon 25

DC Transfer Function

Penn ESE370 Fall2012 -- DeHon 26

Differential Sense Amp

Penn ESE370 Fall2012 -- DeHon 27

Diffamp Transfer Function

•  in=/in, looks like “inverter” •  Deliberately

low gain in mid region

Penn ESE370 Fall2012 -- DeHon 28

Differential Sense Amp

•  “Inverter” output controls PMOS for second inverter

•  Sets PMOS operating point – current

Penn ESE370 Fall2012 -- DeHon 29

Differential Sense Amp

•  What happens when o In=/in ? o /in > in? o /in < in?

Penn ESE370 Fall2012 -- DeHon 30

Page 6: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

6

Differential Sense Amp

•  View: – Current mirror – Biases where inverter

operating

Penn ESE370 Fall2012 -- DeHon 31

Differential Sense Amp

•  View: –  adjusting the pullup

load resistance – Changing the trip

point for “inverter”

Penn ESE370 Fall2012 -- DeHon 32

DC Transfer /in with in=0.5V

Penn ESE370 Fall2012 -- DeHon 33

DC Transfer Various in

Penn ESE370 Fall2012 -- DeHon 34

DC Transfer Various in •  What is trip

point when: •  In=0.3V? •  In=0.4V? •  In=0.5V? •  In=0.6V? •  In=0.7V?

Penn ESE370 Fall2012 -- DeHon 35

After Inverter

Penn ESE370 Fall2012 -- DeHon 36

Page 7: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

7

Ramp 50mV Offset

Penn ESE370 Fall2012 -- DeHon 37

Closeup 50mV Offset

Penn ESE370 Fall2012 -- DeHon 38

Connect to Column

•  Equalize lines during precharge

Penn ESE370 Fall2012 -- DeHon 39

Singled-Ended Read

Penn ESE370 Fall2012 -- DeHon 40

5T SRAM

Penn ESE370 Fall2012 -- DeHon 41

Single Ended

•  Given same problems – How sense small swing on single-ended

case?

Penn ESE370 Fall2012 -- DeHon 42

Page 8: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

8

Single Ended

•  Need reference to compare against •  Want to look just like bit line •  Equalize with bit line

Penn ESE370 Fall2012 -- DeHon 43

Split Bit Line

•  Split bit-line in half •  Precharge/equalize both •  Word in only one half

– Only it switches •  Amplify difference

Penn ESE370 Fall2012 -- DeHon 44

Open Bit Line Architecture

•  For 1T DRAM •  Add dummy cells •  Charge dummy cells to

Vdd/2 •  “read” dummy in

reference half

Penn ESE370 Fall2012 -- DeHon 45

Memory Bank

Penn ESE370 Fall2012 -- DeHon 46

Energy

(Time Permitting)

Penn ESE370 Fall2012 -- DeHon 47

Single Port Memory

•  What fraction is involved in a read/write?

•  What are most cells doing on a cycle? •  Reads are slow

– Cycles long lots of time to leak

Penn ESE370 Fall2012 -- DeHon 48

Page 9: Memory Bank - seas.upenn.eduese370/fall2012/lectures/Day28_6up.pdf• Monday: in Detkin Lab – Read lab2 assignment before coming to class • Tuesday: Proj2 Milestone due • Wednesday:

9

ITRS 2009 45nm

Penn ESE370 Fall2012 -- DeHon 49

High Performance

Low Power

Isd,leak 100nA/µm 50pA/µm Isd,sat 1200 µA/µm 560µA/µm Cg,total 1fF/µm 0.91fF/µm Vth 285mV 585mV

C0 = 0.045µm × Cg,total

High Power Process

•  V=1V d=1000 γ=0.5 Waccess=Wbuf=2 •  Full swing for simplicity •  Csc = 0

–  (just for simplicity, typically <Cload) •  BL: Cload=1000C0 ≈ 45 fF = 45×10-15F •  WN = 2 Ileak = 9×10-9 A

•  P= (45×10-15) freq + 1000×9×10-9 W Penn ESE370 Fall2012 -- DeHon

50

Relative Power

•  P= (45×10-15) freq + 1000×9×10-9 W •  P= (4.5×10-14) freq + 9×10-6 W

•  Crossover freq<200MHz •  How partial swing on bit line change?

 Reduce dynamic energy  Increase percentage in leakage energy  Reduce crossover frequency

Penn ESE370 Fall2012 -- DeHon 51

Consequence

•  Leakage energy can dominate in large memories

•  Care about low operating (or stand-by) power

•  Use process or transistors with high Vth – Reduce leakage at expense of speed

Penn ESE370 Fall2012 -- DeHon 52

Idea

•  Minimize area of repeated cell •  Compensate with periphery

– Amplification (restoration) •  Match periphery pitch to cell row/column

– Decode – Sensing – Writer Drivers

Penn ESE370 Fall2012 -- DeHon 53

Admin

•  Monday: in Detkin Lab – Read lab2 assignment before coming to class

•  Tuesday: Proj2 Milestone due •  Wednesday: Lecture •  Thursday/Friday: Thanksgiving Holiday

Penn ESE370 Fall2012 -- DeHon 54