34
Lecture 5 Static CMOS Gates Jack Ou, Ph.D.

Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Embed Size (px)

Citation preview

Page 1: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Lecture 5

Static CMOS GatesJack Ou, Ph.D.

Page 2: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

2-Input NOR Gate

F can only be pulled upif A=B=0 V

F can be pulled down byeither A=1 or B=1. (Or Both)

Page 3: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

2-Input NAND Gate

F can only be pulled down if both A=B=1.

F will be pulled up if either A or B is 0 V.

Page 4: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

NAND Gates

Page 5: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

NOR Gates

Page 6: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

2-Input AND GateNAND

Page 7: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

2-Input OR GateNOR

Page 8: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Alternative Implementation for High Fanin Gates

Page 9: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Steps for Generating Non-Trivial Static CMOS Logic Circuits

1. Implement the pull-down (NMOS)circuit using –Useful technique: DeMorgan’s Theorem

2. Synthesize the dual of the pull-down circuits using PMOS

Page 10: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

DeMorgan’s Theorem

• The complement of a function can be obtained by– Replacing each variable with its complement– Exchange the AND and OR functions

• Example– +

Page 11: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Dual

• The dual of any logic function can be obtained by exchanging the AND and OR operations.– ab ↔a+b– (a+b)c ↔ab+c

Page 12: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

A fictional AND Circuit

The current flows only when both A and B are closed.

Page 13: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Fictional OR Circuit

The current flows when either A or B is closed.

Page 14: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Implementation

• Use transistors in series to implement a logical AND function

• Use transistors in parallel to implement a logical OR function

Page 15: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

OAI Circuit ()

Page 16: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

XOR/XNOR

Page 17: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Mux

Page 18: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Determine a Boolean Expression a Schematic

1. Determine implemented by a NMOS pull-down network.

2. Complement to obtain F.

Page 19: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

2-Input XOR

𝐴 0 𝐴1

𝐴 0 𝐴1

(A0+A1)

𝐴 0 𝐴1(A0+A1XNOR

Page 20: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

CMOS Gate Sizing

Page 21: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Device Sizing

• Obtain the same delay as the inverter for the rise/fall cases.– ReffN=12.5 Kohm/SQ, ReffP=30 Kohm/SQ

– Reff=Reff(L/W)

– ReffP/ReffN=2.4

– To achieve the same delay, (assume LP=LN, WP=2.4WN, WP/WN is approximately 2.

Page 22: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Size Devices for the Worst Case

• Series transistors: Increase W to reduce Reff.

• Parallel transistors: assume the worst case, i.e. only one of the parallel transistor is ON.

Page 23: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Transistor Sizing Without Velocity Saturation

Figure 5.2Assumption: Equal rise delay and fall delayConsideration: Effective Resistance

Page 24: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Inverter

Page 25: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Inverter tPHL

tPHL=64.045 pS

Page 26: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

NAND2 Test Circuit

Page 27: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

NAND2 tPHL

tPHL=66.01 pS

Page 28: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Effective Width

• Transistors in Series– W1||W2||W3

• Transistors in Parallel– W+W2+W3

Page 29: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Trade-Off

Increase W to reduce the effectiveResistance for the pull down network.

The area is increased.

Page 30: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

FO4

Fanout ratio: total capacitance driven by a gate dividing by its input capacitance

Page 31: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

VTC of Gates

Page 32: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Adjust VS

• Knob:– χ as defined in EQ. 4.15– Increase WNLP/LNWP to decreased VS.

– Decrease WNLP/LNWP to increased VS.

Page 33: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Switching Voltage of a NAND Gate

Both inputs tied together: effective WN=W, WP=4W, VS shifts to the right.Both input A=high, sweep VB: effective WN=2W, WP=2W, VS shifts to the left.

Page 34: Lecture 5 Static CMOS Gates Jack Ou, Ph.D.. 2-Input NOR Gate F can only be pulled up if A=B=0 V F can be pulled down by either A=1 or B=1. (Or Both)

Switching Voltage of a NOR Gate

Both inputs tied together: effective WN=2W, WP=2W, VS shifts to the left.Both input A=ground, sweep VB: effective WN=W, WP=4W, VS shifts to the right.