ee434 asic & digital systems - washington...

33
1 EE434 ASIC & Digital Systems Partha Pande School of EECS Washington State University [email protected] Spring 2015 Dae Hyun Kim [email protected]

Upload: others

Post on 28-Feb-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

1

EE434

ASIC & Digital Systems

Partha Pande

School of EECS

Washington State University

[email protected]

Spring 2015

Dae Hyun Kim

[email protected]

Page 2: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

2

Lecture 4

More on CMOS Gates

Ref: Textbook chapter 2

Some of the slides are adopted from Digital Integrated Circuits

by Jan M Rabaey

Page 3: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

3

CMOS Properties

• Full rail-to-rail swing; high noise margins

• Logic levels not dependent upon the relative device sizes; ratio less

• Always a path to Vdd or Gnd in steady state; low output impedance

• Extremely high input resistance; nearly zero steady-state input current

• No direct path between power and ground; no static power dissipation

• Propagation delay function of load capacitance and resistance of transistors

• N fan-in gates need 2N transistors

Page 4: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

4

Special CMOS Design Styles

• Ratioed Logic (Pseudo-nMOS)

• Dynamic CMOS

• Domino Logic

• Multiple-Output Domino Logic

• Dual-Rail Logic

• Pass Transistor Logic

• Transmissions Gate Logic

Page 5: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

5

Ratioed Logic

• Pseudo NMOS

– Smaller area and load, but static power dissipation

– Follow board notes

Page 6: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

6

Pseudo-nMOS

VDD

𝑉𝑜𝑢𝑡

A

B

C

0

VDD

𝑉𝑜𝑢𝑡 = 𝑉𝐷𝐷

𝑅𝑛

𝑅𝑝 + 𝑅𝑛

VDD

𝑉𝑜𝑢𝑡 = 𝑉𝐷𝐷

𝑅𝑝

𝑅𝑛 𝑉𝑜𝑢𝑡 = 0.1𝑉𝐷𝐷 = 𝑉𝐷𝐷 ∙

𝑅𝑛

𝑅𝑝 + 𝑅𝑛

𝑅𝑝 = 9𝑅𝑛

Page 7: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

7

Pseudo-nMOS

• More accurate computation

– PMOS: Saturation

– NMOS: Linear

VDD

𝑉𝑜𝑢𝑡

A

0 𝛽𝑛

22 𝑉𝐷𝐷 − 𝑉𝑡𝑛 𝑉𝑂𝐿 − 𝑉𝑂𝐿

2 =𝛽𝑝

2(𝑉𝐷𝐷 − |𝑉𝑡𝑝|)

2

𝑉𝑂𝐿 = 𝑉𝐷𝐷 − 𝑉𝑡𝑛 − 𝑉𝐷𝐷 − 𝑉𝑡𝑛2 −

𝛽𝑝

𝛽𝑛(𝑉𝐷𝐷 − |𝑉𝑡𝑝|)

2

Page 8: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

8

Dynamic CMOS

• In static circuits at every point in time (except when switching) the output is connected to either GND or VDD via a low resistance path.

– fan-in of n requires 2n (n N-type + n P-type) devices

• Dynamic circuits rely on the temporary storage of signal values on the capacitance of high impedance nodes.

– requires on n + 2 (n+1 N-type + 1 P-type) transistors

Page 9: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

9

Dynamic CMOS

In1

In2 PDN

(nFETs)

In3

Mn

Mp

Clk

Clk

Out

CL

Out

Clk

Clk

A

B

C

Two phase operation

Precharge (CLK = 0)

Evaluate (CLK = 1)

Mn

Mp

Page 10: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

10

Dynamic CMOS

• Operation

0 𝑡

𝑉𝐷𝐷

Precharge

Mp: ON

Mn: OFF

Evaluate

Mp: OFF

Mn: ON

Precharge Evaluate

𝐶𝐾

Page 11: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

11

Dynamic CMOS

• 𝐹 = 𝐴 ∙ 𝐵 ∙ 𝐶

A

B

C

CK

𝑉𝑜𝑢𝑡

𝐶𝑜𝑢𝑡

Mp

Mn

Page 12: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

12

Dynamic CMOS

• Precharge

A

B

C

CK=0

𝑉𝑜𝑢𝑡 = 1

𝐶𝑜𝑢𝑡

Mp

Mn

Page 13: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

13

Dynamic CMOS

• Evaluation

A

B

C

CK=1

𝑉𝑜𝑢𝑡 = 0 𝑜𝑟 1

𝐶𝑜𝑢𝑡

Mp

Mn

Page 14: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

14

Properties of Dynamic CMOS

• Logic function is implemented by the PDN only

– number of transistors is N + 2 (versus 2N for static CMOS gates)

• Full swing outputs

• Non-ratioed - sizing of the devices does not affect the logic levels

• Faster switching speeds

– reduced load capacitance due to lower input capacitance (Cin)

– reduced load capacitance due to smaller output loading (Cout)

Page 15: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

15

Properties of Dynamic CMOS

• Overall power dissipation usually higher than static CMOS

– no static current path ever exists between VDD and GND

– no glitching

– higher transition probabilities

– extra load on Clk

• Needs a precharge/evaluate clock

Page 16: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

16

Dynamic CMOS

• Charge sharing

A

B

C

CK

𝑉𝑜𝑢𝑡

𝐶𝑜𝑢𝑡

Mp

Mn

𝐶1

𝐶2

𝐶3

Page 17: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

17

Dynamic CMOS

• Charge sharing

A=0

B=0

C=0

CK=0

𝑉𝑜𝑢𝑡 = 𝑉𝐷𝐷

𝐶𝑜𝑢𝑡

Mp

𝐶1

𝐶2

𝐶3

𝑉1 = 0

𝑉2 = 0

𝑉3 = 0

A=1

B=1

C=0

CK=1

𝑽𝒐𝒖𝒕↓

𝐶𝑜𝑢𝑡

Mn

𝐶1

𝐶2

𝐶3

𝑽𝟏↑

𝑉3 = 0

𝑽𝟐↑

Page 18: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

18

Dynamic CMOS

• Charge sharing

– 𝑉𝑜𝑢𝑡 = 𝑉1 = 𝑉2

– 𝑄 = 𝐶𝑜𝑢𝑡𝑉𝐷𝐷 = 𝐶𝑜𝑢𝑡𝑉𝑓 + 𝐶1𝑉𝑓 + 𝐶2𝑉𝑓 = 𝐶𝑜𝑢𝑡 + 𝐶1 + 𝐶2 𝑉𝑓

– 𝑉𝑓 = (𝐶𝑜𝑢𝑡

𝐶𝑜𝑢𝑡+𝐶1+𝐶2)𝑉𝐷𝐷

A=1

B=1

C=0

𝑽𝒐𝒖𝒕↓

𝐶𝑜𝑢𝑡

Mn

𝐶1

𝐶2

𝐶3

𝑽𝟏↑

𝑉3 = 0

𝑽𝟐↑

Page 19: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

19

Dynamic CMOS

• How to solve the charge sharing problem

– Constraint: 𝐶𝑜𝑢𝑡 ≫ 𝐶1 + 𝐶2

– Keeper

CL

Clk

Clk

Me

Mp

A

B

Out

Mkp

Keeper

Page 20: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

20

Dynamic CMOS

• How to solve the charge sharing problem

Clk

Clk

Me

Mp

A

B

Out

Mkp Clk

Precharge internal nodes using a clock-driven transistor

(at the cost of increased area and power)

Page 21: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

21

Domino Logic

CK

Page 22: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

22

Domino Logic

CK

PDN

PDN PDN

Page 23: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

23

Domino Logic

• Example

– 𝑆𝑢𝑚 = 𝑎⨁𝑏⨁𝑐 a b c

Sum

a

b 𝑏

𝑎

CK

𝑋

a

b 𝑏

𝑎

CK

𝑋

X

c 𝑐

𝑋

CK

𝑆𝑢𝑚

Page 24: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

24

Properties of Domino Logic

• Only non-inverting logic can be implemented

• Very high speed

– static inverter can be skewed, only L-H transition

– Input capacitance reduced

Page 25: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

25

Multiple-Output Domino Logic (MODL)

• 𝑓1 = 𝐺

• 𝑓2 = 𝐹 ∙ 𝐺

F

G

CK

𝑓1 = 𝐺

𝑓2 = 𝐹 ∙ 𝐺

Page 26: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

26

Dual-Rail Logic Network

• Differential Cascode Voltage Switch Logic (DCVSL)

Logic tree

𝑋1

𝑋2

𝑋3

𝑋1

𝑋2

𝑋3

𝑓 𝑓

𝑉𝐷𝐷

Page 27: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

27

Dual-Rail Logic Network

• Differential Cascode Voltage Switch Logic (DCVSL)

Logic tree

𝑋1

𝑋2

𝑋3

𝑋1

𝑋2

𝑋3

𝑓 𝑓

𝑉𝐷𝐷 𝑉𝐷𝐷

𝑎 𝑏

𝑎 ∙ 𝑏

𝑎

𝑏

𝑎 ∙ 𝑏

Page 28: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

28

Pass Transistor Logic

Inputs

Switch

Network

OutOut

A

B

B

B

• N transistors

• No static consumption

Page 29: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

29

Pass Transistor Logic

• Example

𝐴

𝐵

𝐵

0

𝐹 = 𝐴 ∙ 𝐵

𝐴

𝐵

𝐵

1

𝐹 = 𝐴 + 𝐵

Page 30: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

30

Issues with Pass Transistor Logic

• Threshold drop

• Capacitive feed through

• Charge sharing

• Follow board notes

𝑉𝐷𝐷 − 𝑉𝑡𝑛

𝑉𝐷𝐷 − 2𝑉𝑡𝑛

Page 31: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

31

Pass Transistor Logic

• Capacitive Feedthrough

G

D S 𝐶𝑔𝑛𝑑

𝐶𝑓

𝑉𝐷𝐷

0𝑉

𝑉𝑖𝑛

𝑉𝑜𝑢𝑡

0𝑉

Page 32: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

32

Transmission Gate Logic

AM2

M1

B

S

S

S F

VDD

• The control signal S turns the

transfer gates on and off depending

on its value.

• When s=1, the upper transfer gate is

on and that allows A to follow to the

output

• Implement the Multiplexer with static CMOS and compare with this

Page 33: EE434 ASIC & Digital Systems - Washington Statedaehyun/teaching/2015_EE434/Handouts/lecture_04.pdf• Logic function is implemented by the PDN only – number of transistors is N +

33

Transmission Gate Logic

A

B

F

B

A

B

B

M1

M2

M3/M4