SRAM Cell, Noise Margin, and Noise

Similar documents
CMPEN 411 VLSI Digital Circuits. Lecture 04: CMOS Inverter (static view)

ENGR890 Digital VLSI Design Fall Lecture 4: CMOS Inverter (static view)

C.K. Ken Yang UCLA Courtesy of MAH EE 215B

VLSI Design and Simulation

Lecture 5: DC & Transient Response

THE INVERTER. Inverter

CMOS Inverter (static view)

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

DC and Transient Responses (i.e. delay) (some comments on power too!)

EE5780 Advanced VLSI CAD

EEE 421 VLSI Circuits

Lecture 6: DC & Transient Response

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

MOS Transistor Theory

ECE 546 Lecture 10 MOS Transistors

Lecture 5: DC & Transient Response

MOS Transistor Theory

Using MOS Models. C.K. Ken Yang UCLA Courtesy of MAH EE 215B

ECE520 VLSI Design. Lecture 23: SRAM & DRAM Memories. Payman Zarkesh-Ha

Digital Microelectronic Circuits ( ) Ratioed Logic. Lecture 8: Presented by: Mr. Adam Teman

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

Integrated Circuits & Systems

Lecture 11 VTCs and Delay. No lab today, Mon., Tues. Labs restart next week. Midterm #1 Tues. Oct. 7 th, 6:30-8:00pm in 105 Northgate

! Memory. " RAM Memory. ! Cell size accounts for most of memory array size. ! 6T SRAM Cell. " Used in most commercial chips

ECE 438: Digital Integrated Circuits Assignment #4 Solution The Inverter

Lecture 12 Circuits numériques (II)

ECE 342 Solid State Devices & Circuits 4. CMOS

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Midterm. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Lecture Outline. Pass Transistor Logic. Restore Output.

Lecture 16: Circuit Pitfalls

Digital Integrated Circuits

CMPEN 411 VLSI Digital Circuits Spring 2011 Lecture 07: Pass Transistor Logic

Digital Integrated Circuits Designing Combinational Logic Circuits. Fuyuzhuo

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

DC and Transient. Courtesy of Dr. Daehyun Dr. Dr. Shmuel and Dr.

Miscellaneous Lecture topics. Mary Jane Irwin [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.]

Fig. 1 CMOS Transistor Circuits (a) Inverter Out = NOT In, (b) NOR-gate C = NOT (A or B)

EEC 118 Lecture #6: CMOS Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

EE141-Fall 2011 Digital Integrated Circuits

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Lecture 14 - Digital Circuits (III) CMOS. April 1, 2003

Lecture 4: DC & Transient Response

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

EEC 116 Lecture #5: CMOS Logic. Rajeevan Amirtharajah Bevan Baas University of California, Davis Jeff Parkhurst Intel Corporation

MOSFET and CMOS Gate. Copy Right by Wentai Liu

2007 Fall: Electronic Circuits 2 CHAPTER 10. Deog-Kyoon Jeong School of Electrical Engineering

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

and V DS V GS V T (the saturation region) I DS = k 2 (V GS V T )2 (1+ V DS )

EE141Microelettronica. CMOS Logic

ECE 342 Electronic Circuits. 3. MOS Transistors

Properties of CMOS Gates Snapshot

The CMOS Inverter: A First Glance

Lecture 13 - Digital Circuits (II) MOS Inverter Circuits. March 20, 2003

9/18/2008 GMU, ECE 680 Physical VLSI Design

Dynamic Combinational Circuits. Dynamic Logic

Digital Integrated Circuits A Design Perspective

EEC 118 Lecture #5: CMOS Inverter AC Characteristics. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

Semiconductor memories

4.10 The CMOS Digital Logic Inverter

DC & Transient Responses

Digital Integrated Circuits A Design Perspective

EE 434 Lecture 33. Logic Design

CMOS INVERTER. Last Lecture. Metrics for qualifying digital circuits. »Cost» Reliability» Speed (delay)»performance

5. CMOS Gate Characteristics CS755

Semiconductor Memories

CMOS Inverter. Performance Scaling

ECE321 Electronics I

Name: Answers. Grade: Q1 Q2 Q3 Q4 Q5 Total. ESE370 Fall 2015

COMBINATIONAL LOGIC. Combinational Logic

Today s lecture. EE141- Spring 2003 Lecture 4. Design Rules CMOS Inverter MOS Transistor Model

5.0 CMOS Inverter. W.Kucewicz VLSICirciuit Design 1

CMOS Technology for Computer Architects

EECS 141: FALL 05 MIDTERM 1

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

CPE/EE 427, CPE 527 VLSI Design I L18: Circuit Families. Outline

CMOS logic gates. João Canas Ferreira. March University of Porto Faculty of Engineering

COMP 103. Lecture 16. Dynamic Logic

Digital Integrated Circuits A Design Perspective. Semiconductor. Memories. Memories

Hw 6 and 7 Graded and available Project Phase 2 Graded Project Phase 3 Launch Today

Lecture 4: CMOS Transistor Theory

The CMOS Inverter: A First Glance

EE5311- Digital IC Design

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

Digital Integrated Circuits A Design Perspective

Step 1. Finding V M. Goal: Þnd V M = input voltage for the output = V M both transistors are saturated at V IN = V M since

Nanoscale CMOS Design Issues

Power Dissipation. Where Does Power Go in CMOS?

ECE 415/515 ANALOG INTEGRATED CIRCUIT DESIGN

E40M. Binary Numbers. M. Horowitz, J. Plummer, R. Howe 1

Lecture 16: Circuit Pitfalls

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

Lecture 13 MOSFET as an amplifier with an introduction to MOSFET small-signal model and small-signal schematics. Lena Peterson

ECE 342 Electronic Circuits. Lecture 6 MOS Transistors

ECE 497 JS Lecture - 12 Device Technologies

University of Toronto. Final Exam

EE241 - Spring 2000 Advanced Digital Integrated Circuits. References

EEC 116 Lecture #3: CMOS Inverters MOS Scaling. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

EE105 Fall 2014 Microelectronic Devices and Circuits. NMOS Transistor Capacitances: Saturation Region

EE5311- Digital IC Design

Transcription:

SRAM Cell, Noise Margin, and Noise C.K. Ken Yang UCLA yangck@ucla.edu Courtesy of MAH and BAW 1

Overview Reading Rabaey 5.3 W&H 2.5 Background Reading a memory cell can disturb its value. In addition, if small bitline swings are used, great care must be taken to ensure that the sense amplifier detects the correct value. To understand why the cell can loose its value, or a sense amplifier can detect the wrong value, we need to take a closer look at what we mean when we talk about digital gates what assumptions do we make about these gates. To do this, we need to examine the voltage transfer functions of our gates, and check to make sure they obey the right properties. They need to have a high gain region and low gain regions to restore the digital signal. Next we will look at sources of noise and how these noise sources affect our digital gates. A gates immunity to noise is called its noise margin, and we will look at this in more detail in the following lecture. 2

SRAM Cell We need to be able to read and write a memory cell Read Transfer the value of the cell onto the bit lines Do this without changing the value of the cell Write Change the value of the bit cell Since there is only one control signal, how does this work? It is all done with the bitline levels 3

6T SRAM Cell Only one control terminal Bit Bit_b Read Both bit lines start at Vdd Cell pulls one down Write One bit line is pulled low Low bit line value overpowers cell M2 M3 M1 Wordline This is a ratio circuit M2 must overpower M3, but not M1 Interesting design problem (later) 4

6T-SRAM Layout Capacitances on the storage nodes are small Susceptible to noise coupling and soft errors. Notes M2 is vertical WL is in poly Can strap in metal (M1 or M3) with additional contact. Q and Q will couple to BL and BL But it couples to both so differential noise is partially compensated. Q node has large diffusion area. Dedicated SRAM processes can make cells half the area. Q M2 M1 M5 BL BL 20λ M4 M3 M6 Q V DD GND WL 32λ 5

Memory Cell Stability If a cell is not sized correctly, it can lose its value during a read Was a serious problem with poly load 4T cells Removed pmos devices, use very high value resistors Power problem otherwise. R = 10Gohms See this later in this lecture Why did the cell lose its value? How to size the cell? Is there some science? Bit M2 Wordline Bit_b M1 Think of this as Noise/Noise Margin issue. 6

Noise Margins and VTC 7

Noise and The Digital Abstraction Signals are represented by voltages Voltages are not fundamentally quantized Signals will have noise All this means is that the signals are not all going to have the same values In digital systems, noise should not affect output Divide voltage range into regions: 0, X, 1 Noise 1 1 unknown unknown 0 0 Input range Output range 8

Digital Gates All digital gates need to map input voltages to an output voltage V IH, V IL for input, and V OH, V OL for output Often VDD or Gnd. Generally the range allows you to cascade gates In prior lectures, we haven t been too concerned about the voltage Concern was mostly about the amount of current available to drive the load capacitance, and how to size this current What happens to voltages between Vdd and Gnd? Want to attenuate any noise V IL < V IN < V IH still results in V OH or V OL at the output. 9

Voltage Transfer Characteristics DC plot of V out vs. V in V out 1 1 Ideal 0 Actual Signal Levels V OUT V in NONINVERTING V IN Input range GAIN > 1 V OUT INVERTING 0 Output range For gain to GAIN 0 be small at the ends, it must be GAIN 0 greater than 1 in the V middle of IN the transfer function 10

CMOS I-V Surface Plots VTC NMOS IV surface PMOS IV surface Intersection of IV surfaces of NMOS + PMOS devices 11

CMOS Inverter s Transfer Function Looks pretty ideal Flat near Vdd, Gnd Either pmos, or nmos off High gain in middle Both transistors saturated Not vertical because of output resistance of transistors Rounded on top and bottom One transistor linear, the other is saturated in this region Switching point depends on nmos to pmos size ratio This is for a 2-1 pmos to nmos Derivation is appended at the end. V out 3 2 1 0 0 1 2 3 V in 12

Transfer Function Plot shows three curves pmos 4x, 2x 1x Red solid 4x Green dash 1x V out High gain region V in where nmos and pmos current balance 3 2 Main point: Large flat regions Tolerate lots of noise Symmetric curve Good high and low margins 1 0 0 1 2 3 V in 13

Single Stage Noise Margins Simplest type of noise margin is the single-stage noise margin Defined as maximum noise, v n, in a single stage that still allows subsequent stages to recover to the right value (regenerative property) V OL V OH v + n -??? 1 2 3 4 Noise In the above circuit V i2 = V o1 - v n = V OH - v n For noise added to a high level input, the correct levels will be maintained if V OH - v n > V sw (point where V in = V o ) For noise added to a low level input, correct levels will be maintained if V OL + v n < V sw 14

Single Stage Noise Margins V O (EVEN) V (O D D ) V SW SSNM H = V OH - V TH SSNM L = V TH - V OL SSN M L V O2 V O4 V OL ( ) = V O 6 v n V O3 V OH V (EVEN ) V O (O D D) V O5 SSN M H 15

Multiple Noise Sources V OL V OH v + n - v n +? 1 2 Noise 3 What happens if there are more then one noise source? Many ways to look at this problem Most conservative method finds max noise possible at EVERY gate and still have the system work 16

Alternate View of Multi-stage Noise The chain is the same as two cross connected inverters! Draw the VTC on the same plot. Mirror along the unity axis. 2 stable points Stable logic values of 0 and 1 as a signal propagates down the chain. How to find the tolerable noise? Ideally, it is the maximum shift in VTC that still maintains stable binary values. Classical analytical approach is the unity-gain noise margin Unity-gain point on the curves Conceptually, these points are when noise has gain > 1 and is no longer suppressed. V OUT 4 3 2 1 0 0 1 2 3 4 V IN V OUT V IN 17

Multi-Stage Noise Margin A.K.A. Static Noise Margin Noise is essentially a shift in the voltage. A shift of all even stages (V IN +ve shift right). And a shift of all odd stages (V OUT ve shift). Maximum tolerable magnitude of noise Largest shift (in both directions) that still results in intersecting VTC. Essentially, it s the largest SQUARE we can fit inside the VTC. V OUT, V OUT * V NZ2 4 3 2 1 0 0 1 2 3 4 V IN V IN * V OUT * +_ +_ V OUT V NZ1 V NZ2 V IN V IN,V IN * V OUT * V OUT V NZ1 V IN * 18

Unity Gain Noise Margins An estimate of the size of the largest box. Works well for symmetric VTCs. Good for static CMOS logic. V DD 3 V OUH UGM H = V OUH - V IUH UGM L = V IUL - V OUL 2 Note: V IUL is the same as V IL V IUH is the same as V IH 1 V OUL 0 0 1 2 3 V IUL V IUH V DD 19

Gain Calculations Like voltage transfer functions unity gain points are complex to calculate Have methods of calculation in the notes, but not critical Key point is to use small-signal methods 20

Gain Calculation V DD V IN + v IN g mp v IN g mn v IN r op r on v O + where g mn = g mp = Ι DN V GS Ι DP V GS 1 r on 1 r op = = Ι DN V DS Ι DP V DS Then A v = V o V in = - (g mn + g mp ) r op r on = - (g mn + g mp )/(g ON + g OP ) 21

Derivation of Noise Equations So which equations should we use for the derivation? Our equations incorporating velocity saturation are: (for V ds < V dsat : linear) (for V ds > V dsat : saturation) I Dlin = W µ I Dsat = W N ν sat C ox (V gs - V TN ) 2 e C ox V (V gs - V TN - ds L V 2 ) V ds (1+ ds ) (V gs - V TN ) + E c L N E c L The use of these equations directly may be too complicated when computing the partial derivatives, but we still want accurate results! One approach: since V ds is small in the first equation, we could replace the term (1+V ds /E c L) with a constant to represent the degradation factor. Then, we could replace the second equation with the alpha-power law model. I Dlin = F 1 V (V gs - V TN - ds 2 ) V ds W L µ e C ox V (1+ ds ) E c L With V ds set to a small value I Dsat = F 2 (V gs - V T ) α 22

Unity Gain Points for CMOS Inverter Unity gain points are the two points where A v = -1 Case 1: V in = V IL, V o = V OUH (n-channel saturated, p-channel linear) g mn = αf 2N (V GS - V TN ) 1/r on = 0 g mp = F 1P (V DD - V o ) 1/r op = F 1P (V o - V in + V TP ) At V IN = V IL, A v = - α F 2N (V IL - V TN ) + F 1P (V DD - V OUH ) = -1 F 1P (V OUH - V IL + V TP ) Cannot solve this unless we have one other constraint: I DN (sat) = I DP (lin) F 2N (V gs - V TN ) α = F 1P V (V gs - V TN - ds 2 ) V ds V IL V DD - V IL V DD - V OUH Use this relationship and the gain equation above to solve for V IL and V OUH 23

Unity Gain Calculation (cont d) Case 2: V in = V IH, V o = V OUL (n-channel linear, p-channel saturated) g mp = αf 2P (V DD - V in + V TP ) 1/r op = 0 g mn = F 1N V o 1/r on = F 1N (V in - V TN - V o ) At V IN = V IH, A v = - F 1N V OUL + α F 2P (V DD - V IH + V TP ) = -1 F 1N (V in - V TN - V o ) Cannot solve this unless we have one other constraint: I DN (lin) = I DP (sat) F 1N V (V gs - V TN - ds 2 ) V ds = F 2P (V gs - V TN ) α V IH V OUL V DD - V IH Use this relationship and the gain equation above to solve for V IH and V OUL 24

UGM Inaccuracy For asymmetric VTCs, unity-gain margin is incorrect for the NM. The best way is to graphically fit a maximum square. V OUT 4 3 2 1 0 0 1 2 3 4 V IN 25

Memory Cell Analysis 26

Semi-static CMOS SRAM Analysis (Read) Analysis to illustrate the sizing issue. Semistatic BL doesn t move O.K. assumption Internal voltages don t move. Overestimate Ideal square law models actually solvable! But, only gives us an idea (not entirely realistic). Both BL and BL_b are precharged to Vdd. M4 and M6 are both pulling HIGH so no sizing constraint. M1 fights against M5. M1 in Triode, M5 in Sat M1 must win to avoid flipping the cell. k BL N_M1 ((V DD V VTN = 4 (W ) L DD N_M5 M6 M4 VDD VTN) 2 V ; VTN* = 3 < 18(W ) L DD N_M1 2 DD V 8 k ) > N_M5 2 M1 V ( 2 DD M5 V TN* WL BL_b ) 2 ; 27

Semi-static CMOS SRAM Analysis (Write) 2 possible constraints Only 1 needs to be satisfied for write to occur. Writing a LOW M6,M4 are both in Triode M6 must overwrite M4. Writing a HIGH M1 in Triode, M5 in Sat BL M5 should overwrite M1. This condition is superceded by READ. k k V N_M6 N_M1 TN (W L M6 ((V DD V VDS = 2 μn( W ) L DD M4 N_M6 V TN H V ) 2 DD > μp( W ) L P_M4 2 DD V 8 2 DD VDD V ((VDD VTN) 2 8 VDD VDD = ; VTN* = 4 3 ) N_M5 > 18(W ) L N_M1 L ) > k M1 P_M4 k ) < 2 N_M5 ((V DD V ( 2 DD M5 V V TP TN* 2 ) ; WL BL_b V ) 2 DD 28 2 DD V 8 );

Memory Cell Margins Read operation is more sensitive to noise. It is better to look at the memory cell s margin during a READ operation to finalize the sizing. Assume bit lines are at Vdd M2 Access device becomes a load Out If we break the cross coupling In M1 These are the dotted lines Results in a funny inverter This inverter needs to be a good digital gate Needs to have noise margins If the resistor current is very small this inverter is easy to analyze both M1 and M2 are saturated for much of the swing 29

Cell Inverter Transfer Function If M1 and M2 are the same size If both are saturated M2 V gs of both transistors needs to be rougly the same Implies In M1 Out V out = Vdd V in for V th < V in < V x V x is the input voltage where M1 leaves saturation Since V dsat is around 1.5V, should be around Vdd 1.5V Remember until M1 becomes linear, V gs of transistors match This implies gain of this gate is only 1 This is the middle curve 3 2 M1=0.5*M1 M1=1.5*M2 1 0 0 1 2 3 30

Cell Stability What happens when you cross couple two of these inverters. Draw the transfer curve of both inverters in one plot V out of one inverter is V in of the the other, and vice versa For M1 equal M2 Only one place curves cross Vdd/2 Cell will forget value Not enough gain in cell Increase gain Make M1 larger 3 2 1 0 0 1 2 3 31

Cell Stability This plot shows what happens when M1 = 1.5 M2 Cell is stable in theory Three crossing points What about noise? Noise shifts curve ~100mV of noise will flip the cell 3 2 1 0 0 1 2 3 32

6-Transistor SRAM Bit M3 Wordline Bit_b No current Increasing current M2 M1 Can be thought of as injecting a current with M2 which shifts the curve. Not quite because current changes with the voltage. But it reduces the margin. 33

Read Margin for 6-T SRAM pmos devices help margin a lot But gain is still small Around 2 PMOS helps the g m. Margins are much better. Several hundred millivolts V OUT 4 3 2 1 VTC 0 0 1 2 3 4 V IN 34

Write Noise Margin During a write, the cell is imbalanced intentionally One BL is driven to Vdd (Same VTC as a READ) The other BL is driven to Gnd. The smallest square that touches both lines is the margin. Shift cannot cause a crossing. V OUT W a V IN V OUT V V OUT IN W d W a W d V IN 35

Noise Sources 36

Sources of Noise and Static Offsets 1. Capacitive and inductive coupling between lines: 2. Power and ground variations: 3. Transistor mismatches: W+ΔW L+ΔL V T +ΔV T 4. High-energy particles: α-particle 37

(Pseudo-)Differential Signals Can build circuits that have differential outputs Voltage mode (differential domino) R R Current mode (mostly) Current Switch Circuits ECL like circuits -- SCFL (source-coupled fet logic) Analog like functions V 1 i 1 i 2 tail I o V 2 Have low common-mode noise sensitivity Look at voltage difference between wires If noise coupling is to both nodes you don t see it Pseudo-differential is when the other node is a DC reference voltage. Maintain the same coupling. 38

Transistor Matching Transistor matching is a function of the area. σ VT = k VT (Area) -0.5 The larger area, the smaller the mismatch. k VT ~20mV-µm Threshold mismatch is dominant Value is Gaussian distributed. Simply modeled by adding a voltage source to the gate. Low-V T +_ V IN +_ V OUT * High-V T V NZ2 V IN * +_ +_ V OUT V NZ1 39

Threshold Voltage Matching Scaling Trend Threshold variation has been increasing with the increased variation of doping concentrations 40

Impact of Cell Sizing and Supply on Noise Margin The read margin depends on the sizing ratio of (pull-down:access) Ratio, β=w/l M1 : W/L M2 Higher ratio is better for read. Read margin is very sensitive to the supply voltage. Bit Bit_b Wordline M3 M2 M1 41

High-Energy Particles and Soft Errors Neutron or a-particle (He ion) creates electron-hole pairs upon impact. Atmospheric or lead in packages Perturbs the potential of the junction momentarily. Ion Track +V Vss n+ diffusion p- epi Junction Collection Electric Field Funnel Collection Diffusion Collection Potential Contour Deformation Electron-Hole Pairs Recombination p+ substrate 42

Impact of a Collision holes electrons Electrons collect in n-type diffusion Lowers voltage. Has an impact if stored value was a 1. Holes collect in p-type diffusion. Raises voltage. Has an impact if stored value was a 0. 43

Impact on SRAM Cell 44

What Does Soft Error Rate Depend On Number of particles Type of packaging (lead free) Shielding of cosmic rays (more sensitive for space applications) Volume (Area * depth) of the collecting diffusion. Larger the area the more charge induced from the particle. Error rate depends on Q induced. Q induced > Q critical = Q store + constant Constant proportional to I dsat Increasing the storage capacitance helps minimize error. Increasing the voltage reduces the impact of the particle charge. Metric: Failure-In-Time (FIT) per megabit value, 1 FIT = 1 Failure in 10 9 hours Example: Assume SER for a SRAM = 4000 FIT/Mb SRAM contains = 16Mb 64,000 errors in 10 9 hours or 1 failure every 1.8years (acceptable?) 45

Why is SER Important SER induces high failure rates for SRAMs. Getting worse for flip-flops Impact on system is not predicted and hence undetected errors can impact computational accuracy. Problem worsens with scaling Lower voltage Higher density. 46

Addressing SER: Technology Deep N-Well technology Reduce depth of P-Well Provide a second place for charge to go. Reduce SER 1.5x-2.5x for α-particles 47

Addressing SER: Layout Hardening the bit cells Add capacitance to increase Q crit Penalizes circuits 6-8% speed, 13-15% area 23x SER improvement [MTDT04 N.Derhacobian] 48

Addressing SER: Architecture Error-Correction-Code (ECC) Simple Parity bit check a big XOR to detect an error One extra bit per byte to perform check Complex: Detect and correct errors (single-bit, multi-bit) Area and performance overhead Area overhead is inversely proportional to word width. ~20% for 32bits, ~10% for 64bits >10x SER improvement 49

SRAM Cell Design Trends 50

Dual V dd Design Increase READ margin without sacrificing WRITE margin Dynamically vary the V dd. When READ Use max V dd for the cell Lower pre-charge voltage (V a ) for bitlines When WRITE Use lower voltage for cell (V a ) Use max voltage for WL When not accessing Use lower cell voltage (<V a ) Minimize leakage MoritaIEICE12/07 51

Dual V dd Margin Dual V dd can dramatically increase the margins. Write margin is the VTC when the bit-lines are split. Account for worst case variations 52

Dual Vdd Corner Simulations Single V dd Dual V dd 53

8T Cell Use more transistors per cell Many possible designs Use separate RBL No read/write conflict Slightly improve SER MoritaIEICE12/07 54

Area Comparison 6T cell layout Depends on sizing of access transistors 8T cell can use minimum devices throughout Devices are NMOS (in series) Little overhead for additional transistors. Added RBL is over active devices. Almost same area (10% penalty for min 6T design) MoritaIEICE12/07 55

Summary SRAM cells are a good way to understand noise margins. Single stage noise margin is not realistic enough for the worst case scenario. SRAM feedback is similar to generalized noise margin (multiple noise sources). Gain in the logic gate is critical in providing noise margin. READ access leads to low noise margins because of the reduced gain. Noise margins are critical to recover from noise injection. SER is a serious issue for deeply scaled devices due to the low Q crit. Modern designs for memories are favoring larger capacitances, more complex cells, and accessing of the cells to improve margin. 56

Review of Voltage Transfer Characteristics Courtesy of BAW 57

Voltage Transfer Functions Many classes spend a lot of time deriving VTC I don t think it is very useful, so we won t do it The next pages of lecture notes outline the derivation With a real MOS model they become complex Unless you have a computer Important points to remember The switching point V sw is set by ratio of up / down currents Transfer functions found by finding region of operation nmos linear, pmos sat, etc Estimating shape is easy Need flat regions and high gain regions 58

Simple Resistive Load R L V DD When V in =0 V, the MOS transistor turns off and the output capacitance is charged up to V DD through the resistance R. Therefore, V in =0 V in =V DD R L W N L N V DD V OL V OH V o = V DD = V OH When V in =V DD, the MOS transistor turns on and discharges the output capacitance to a low value, V OL, that depends on the ratio of R to the on-resistance of the transistor. Therefore, V DD - V OL k W (V DD - V TN - V OL ) V OL = R L L 2 V OL V DD R L k (W/L) (V DD - V TN ) 59

Using Advanced Model V DD What happens if we use velocity saturation model? V in =0 R L V OH V o = V DD = V OH (no change) R L V DD V OL V DD - V OL µ e C ox W (V DD - V TN - V OL ) V OL = R L (1 + V OL /E c L) L 2 V in =V DD V OL V DD R L k (W/L) (V DD - V TN ) (roughly the same) 60

Load Line for Resistive Load Inverter What happens between the two extreme points? => look at load-line characteristics of the two devices RESISTOR LOAD Linear Saturation V DD D V IN = V DD R L V DD R L III V O II V IN I V T V TN VOL V DD V O (= V ) OH 61

VTC Calculation I II INVERTER OFF (V IN < V TN ) V O = V OH = V DD INVERTER SATURATED I D = k I 2 V IN V TN ( ) 2 where k I = Δ W µ n C ox L I and I D = V DD V O R L V DD k I ( 2 V IN V TN ) 2 = V DD V O R L R L V O V O = V DD R L k I 2 ( V IN V TN ) 2 V in sat. 62

VTC Calculation (cont d) III INVERTER LINEAR I D = k I V IN V TN V O V 2 O = V DD V O R L V O 1 + R L k I V IN V TN V O 2 = V DD V DD ΙΙ ΙΙΙ TRANSITION R L V O V IN V TN = V O V O 1 + R L k I V 2 O = V DD V O = 1 1 + 2V DD R L k I 1 R L k I [ ] V in linear 63

Summary of VTC for Resistive Load Case V O V DD I II Typically large resistors are needed II œiii TRANSITION to achieve desired V OL not practical way III to implement an V OL V IN inverter in MOS design. V TE N V DD 64

CMOS Inverter Load Line Characteristics, DN DP IV B A II V III I V O = V DSN = V DD + V DSP = V DD œ V DSP A B I II III IV V N-CHANNEL OFF N-CHANNEL SATURATED, P-CHANNEL LINEAR N-CHANNEL SATURATED, P-CHANNEL SATURATED ( III EXISTS IF V > V ) OA OB N-CHANNEL LINEAR, P-CHANNEL SATURATED P-CHANNEL OFF 65

CMOS Inverter VTC VO I VOA V DD II A V TP V TN V TH III V OB V TN B IV V V DD V IN V + χv + V DD TN TP 1 + χ V DD + V TP 66

Equations for CMOS VTC Ι. N-channel device off: V in V TN V o = V DD ΙΙ. N-channel saturated, P-channel linear I DP = W P L P µ e C ox V (1+ ds ) E c L V (V gs - V TP - ds 2 ) V ds Where V gs = V DD - V in, V ds = V DD - V o I DN = W N ν sat C ox (V gs - V TN ) 2 (V gs - V TN ) + E c L N Where V gs = V in, V ds = V o Set I DP = I DN ΙΙΙ. N-channel saturated, P-channel saturated I DN = W N ν sat C ox (V (V gs - V TP ) 2 gs - V TN ) 2 = W P ν sat C ox = I DP (V gs - V TN ) + E c L N (V gs - V TP ) + E c L P 67

Equations for CMOS VTC (cont d) ΙV. N-channel linear, P-channel saturated I DN = W L µ e C ox V (1+ ds ) E c L Where V gs = V in, V ds = V o I DP = Wν sat C ox (V gs - V TP ) 2 Where V gs = V DD - V in, V ds = V DD - V o (V gs - V TP ) + E c L P Set I DP = I DN V (V gs - V TN - ds 2 ) V ds V. P-channel device off, V in = V DD, V o = 0 68