Você está na página 1de 28

ECE 5745 Complex Digital ASIC Design Topic 3: CMOS Circuits

Christopher Batten
School of Electrical and Computer Engineering Cornell University

http://www.csl.cornell.edu/courses/ece5950

Combinational Logic

Sequential State

Part 1: ASIC Design Overview


P P M M
Topic 4 Full-Custom Design Methodology Topic 6 Closing the Gap Topic 5 Automated Design Methodologies Topic 3 CMOS Circuits Topic 7 Clocking, Power Distribution, Packaging, and I/O Topic 1 Hardware Description Languages Topic 8 Testing and Verification

Topic 2 CMOS Devices

ECE 5745

T03: CMOS Circuits

2 / 28

Combinational Logic

Sequential State

CMOS Logic, State, Interconnect

Lo na gi tio c na

ct

C om

In t

ECE 5745

T03: CMOS Circuits

Se

St e n at ti e al

co n

ne

er

qu

bi

3 / 28

Combinational Logic

Sequential State

CMOS Logic, State, Interconnect

Lo na gi tio c na

ct

C om

In t

ECE 5745

T03: CMOS Circuits

Se

St e n at ti e al

co n

ne

er

qu

bi

4 / 28

Combinational Logic

Sequential State

CMOS Inverter Simple RC Model


Close switch when Vin = 0

Vin Vdd
Close switch when Vin = Vdd

Vout

ECE 5745

T03: CMOS Circuits

5 / 28

A simple RC model for the inverter can provide significant insight CMOS Inverter Simple RC Model
Combinational Logic Sequential State

Reff

Vin

Vout

Vin Cg Cd

Vout

Reff

Reff = Reff,N = Reff,P Cg = Cg,N + Cg,P Cd = Cd,N + Cd,P


6.375 Spring 2006 L04 CMOS Transistors, Gates, and Wires 11

ECE 5745

T03: CMOS Circuits

6 / 28

The most basic CMOS gate CMOS Inverter Layout is an inverter


Combinational Logic

Sequential State

VDD

WP/LP Vin Vout WN/LN A Y

PMOS

NMOS

GND
ECE 5745
6.375 Spring 2006 L04 CMOS Transistors, Gates, and Wires 10 T03: CMOS Circuits 7 / 28

The most basic CMOS gate is an inverter CMOS Inverter


Combinational Logic

Sequential State

Lets make the following assumptions WP/LP Vin Vout WN/LN 1 2 1. All transistors are minimum length 2. All gates should have equal rise/fall times. Since PMOS are twice as slow as NMOS they must be twice as wide to have the same effective resistance 3. Normalize all transistor widths to minimum width NMOS

ECE 5745

6.375 Spring 2006 L04 CMOS Transistors, Gates, and Wires 9 T03: CMOS Circuits 8 / 28

Combinational Logic

Sequential State

Series Transistors

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 9 / 28

Combinational Logic

Sequential State

Parallel Transistors

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 10 / 28

Series and parallel MOSFET networks Series/Parallel Transistor Networks areother Natural Duals provide natural duals of each
Combinational Logic Sequential State

A A A B B
Conducts if A=0 Conducts if A=0 OR B=0 Conducts if A=0 AND B=0

A B

Conducts if A=1

Conducts if A=1 AND B=1

Conducts if A=1 OR B=1

6.375 Spring 2006 L04 CMOS Transistors, Gates, and Wires 20

ECE 5745

T03: CMOS Circuits

11 / 28

More complicated gates use more CMOS Static Logic Style networks transistors in pullup/pulldown
Combinational Logic Sequential State

VDD Pullup network, connects output to VDD, contains only PMOS


Input 0 Input 1 Input N

VOUT Pulldown network, connects output to GND, contains only NMOS

For every set of input logic values, either pullup or pulldown network makes connection to VDD or GND
If both connected, power rails would be shorted together If neither connected, output would float (tristate logic)
ECE 5745 T03: CMOS Circuits
6.375 Spring 2006 L04 CMOS Transistors, Gates, and Wires 19

12 / 28

NAND and NOR gates illustrate the dual natureNAND/NOR of the pullup/pulldown Static CMOS Logic networks Gates
Combinational Logic Sequential State

NAND Gate A B (A.B) A B A (A.B) B A

NOR Gate (A+B)

B (A+B)

ECE 5745

T03: CMOS 6.375 Circuits / 28 Spring 2006 L04 CMOS Transistors, Gates, and Wires13 21

Combinational Logic

Sequential State

Approach for Designing More Complex Gates


Goal is to create a logic function f (x1 , x2 , ...)
We can only implement inverting logic with one CMOS stage

Implement pulldown network Write PD = f (x1 , x2 , ...)


Use parallel NMOS for OR of inputs Use series NMOS for AND of inputs

Implement pullup network Write PU = f (x1 , x2 , ...) = g (x1 , x2 , ...)


Use parallel PMOS for OR of inverted inputs Use series PMOS for AND of inverted inputs

ECE 5745

T03: CMOS Circuits

14 / 28

Designers can use a methodical approach to build more complex gates Complex Logic Gate Example
Combinational Logic Sequential State

A B (A+B).C C

(A

B) C

PD
PU

(A
(A (A

B) C
B) C B) C C

( A B)

ECE 5745

T03: CMOS Circuits

15 / 28

Combinational Logic

Sequential State

Single- vs. Multi-Stage Static CMOS Logic

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 16 / 28

Combinational Logic

Sequential State

Multiple Stages of Static CMOS Logic

Each design has different delay, area, and energy trade-offs

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 17 / 28

Combinational Logic

Sequential State

CMOS Pass-Transistor Logic Style

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 18 / 28

Combinational Logic

Sequential State

CMOS Transmission Gate Multiplexer

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 19 / 28

Combinational Logic

Sequential State

CMOS Tri-State Buffers


Vdd En A En Gnd Y

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 20 / 28

Combinational Logic

Sequential State

Various Multiplexer Implementations


Each design has different delay, area, and energy trade-offs Simple rst-order analysis can help suggest some of these trade-offs

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 21 / 28

Combinational Logic

Sequential State

Larger Tri-State Multiplexers

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 22 / 28

Combinational Logic

Sequential State

CMOS Logic, State, Interconnect

Lo na gi tio c na

ct

C om

In t

ECE 5745

T03: CMOS Circuits

Se

qu St e n at ti e al

bi

er

co n

ne

23 / 28

Combinational Logic

Sequential State

Level-High Latch

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 24 / 28

Combinational Logic

Sequential State

Positive-Edge Triggered Flip-Flop

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 25 / 28

Combinational Logic

Sequential State

Positive-Edge Triggered Flip-Flop

Adapted from [Weste11] ECE 5745 T03: CMOS Circuits 26 / 28

Combinational Logic

Sequential State

Take-Away Points
We have reviewed basic CMOS circuit implementations
Combinational Logic: static CMOS, pass-transistor, tri-state buffers Sequential State: latches, ip-ops

In the next two sections, we will explore various methodologies which enable mapping designs written in a hardware-description language down into these circuits In the next part of the course, we will explore the details of how to quantitatively evaluate the cycle time, area, and energy of these circuits

ECE 5745

T03: CMOS Circuits

27 / 28

Combinational Logic

Sequential State

Acknowledgments
[Weste11] N. Weste and D. Harris, CMOS VLSI Design: A Circuits and Systems Perspective, 4th ed, Addison Wesley, 2011.

ECE 5745

T03: CMOS Circuits

28 / 28

Você também pode gostar