digital integrated circuits© prentice hall 1995 combinational logic combinational logic

Post on 31-Mar-2015

233 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

COMBINATIONAL LOGIC

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Overview

Static CMOS

Conventional Static CMOS Logic

Ratioed Logic

Pass Transistor/Transmission Gate Logic

Dynamic CMOS Logic

Domino

np-CMOS

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Combinational vs. Sequential Logic

Logic

Circuit

Logic

CircuitOut

OutInIn

(a) Combinational (b) Sequential

State

Output = f(In) Output = f(In, Previous In)

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Static CMOS Circuit

At every point in time (except during the switching transients) each gate output is connected to either VDD or Vss via a low-resistive path.

The outputs of the gates assume at all times the value of the Boolean function, implemented by the circuit (ignoring, once again, the transient effects during switching periods).

This is in contrast to the dynamic circuit class, which relies on temporary storage of signal values on the capacitance of high impedance circuit nodes.

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Static CMOS

VDD

VSS

PUN

PDN

In1

In2

In3

F = G

In1

In2

In3

PUN and PDN are Dual Networks

PMOS Only

NMOS Only

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

NMOS Transistors in Series/Parallel Connection

Transistors can be thought as a switch controlled by its gate signal

NMOS switch closes when switch control input is high

X Y

A B

Y = X if A and B

X Y

A

B Y = X if A OR B

NMOS Transistors pass a “strong” 0 but a “weak” 1

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

PMOS Transistors in Series/Parallel Connection

X Y

A B

Y = X if A AND B = A + B

X Y

A

B Y = X if A OR B = AB

PMOS Transistors pass a “strong” 1 but a “weak” 0

PMOS switch closes when switch control input is low

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Complementary CMOS Logic Style Construction (cont.)

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Example Gate: NAND

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Example Gate: NOR

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Example Gate: COMPLEX CMOS GATE

VDD

A

B

C

D

D

A

B C

OUT = D + A• (B+C)

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

4-input NAND Gate

Out

In1 In2 In3 In4

In3

In1

In2

In4

In1 In2 In3 In4

VDD

Out

GND

VDD

In1 In2 In3 In4

Vdd

GND

Out

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Standard Cell Layout Methodology

VDD

VSS

Well

signalsRouting Channel

metal1

polysilicon

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Two Versions of (a+b).c

a c b a b c

xx

GND

VDDVDD

GND

(a) Input order {a c b} (b) Input order {a b c}

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Logic Graph

VDD

c

a

x

b

ca

b

GND

x

VDDx

c

b a

i

j

i

j

PDN

PUN

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Consistent Euler Path

GND

x

VDDx

c

b a

i

j

{ a b c}

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Example: x = ab+cd

GND

x

a

b c

d

VDDx

GND

x

a

b c

d

VDDx

(a) Logic graphs for (ab+cd) (b) Euler Paths {a b c d}

a c d

x

VDD

GND

(c) stick diagram for ordering {a b c d}

b

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Properties of Complementary CMOS Gates

High noise margins:

VOH and VOL are at VDD and GND, respectively.

No static power consumption:

There never exists a direct path between VDD and

VSS (GND) in steady-state mode.

Comparable rise and fall times:

(under the appropriate scaling conditions)

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Properties of Complementary CMOS Gates

High noise margins:

VOH and VOL are at VDD and GND, respectively.

No static power consumption:

There never exists a direct path between VDD and

VSS (GND) in steady-state mode.

Comparable rise and fall times:

(under the appropriate scaling conditions)

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Transistor Sizing

VDD

A

B

C

D

D

A

B C

1

2

22

6

6

12

12

F

• for symmetrical response (dc, ac)• for performance

Focus on worst-case

Input Dependent

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Propagation Delay Analysis - The Switch Model

VDDVDDVDD

CL

F CL

CL

F

F

RpRp Rp

Rp

Rp

Rn

Rn

RnRn Rn

A

AA

AA

A

B B

B

B

(a) Inverter (b) 2-input NAND (c) 2-input NOR

tp = 0.69 Ron CL

(assuming that CL dominates!)

= RON

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

What is the Value of Ron?

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Numerical Examples of Resistances for 1.2m CMOS

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Analysis of Propagation Delay

VDD

CL

F

Rp Rp

Rn

Rn

A

A B

B

2-input NAND

1. Assume Rn=Rp= resistance of minimum sized NMOS inverter

2. Determine “Worst Case Input” transition(Delay depends on input values)

3. Example: tpLH for 2input NAND- Worst case when only ONE PMOS Pulls

up the output node

- For 2 PMOS devices in parallel, the resistance is lower

4. Example: tpHL for 2input NAND- Worst case : TWO NMOS in series

tpLH = 0.69RpCL

tpHL = 0.69(2Rn)CL

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Design for Worst Case

VDD

CL

F

A

A B

B

2

2

1 1

VDD

A

B

C

D

DA

B C

12

22

2

24

4

F

Here it is assumed that Rp = Rn

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Influence of Fan-In and Fan-Out on Delay

VDD

A B

A

B

C

D

C D

tp a1FI a2FI2 a3FO+ +=

Fan-Out: Number of Gates Connected2 Gate Capacitances per Fan-Out

FanIn: Quadratic Term due to:

1. Resistance Increasing2. Capacitance Increasing(tpHL)

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

tp as a function of Fan-In

1 3 5 7 9fan-in

0.0

1.0

2.0

3.0

4.0t p

(ns

ec)

tpHL

tp

tpLHlinear

quadratic

AVOID LARGE FAN-IN GATES! (Typically not more than FI < 4)

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Fast Complex Gate - Design Techniques

• Transistor Sizing: As long as Fan-out Capacitance dominates

• Progressive Sizing:

CL

In1

InN

In3

In2

Out

C1

C2

C3

M1 > M2 > M3 > MN

M1

M2

M3

MN

Distributed RC-line

Can Reduce Delay with more than 30%!

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Fast Complex Gate - Design Techniques (2)

In1

In3

In2

C1

C2

CL

M1

M2

M3

In3

In1

In2

C3

C2

CL

M3

M2

M1

(a) (b)

• Transistor Ordering

critical pathcritical path

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Fast Complex Gate - Design Techniques (3)

• Improved Logic Design

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Fast Complex Gate - Design Techniques (4)

• Buffering: Isolate Fan-in from Fan-out

CLCL

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

Example: Full Adder

VDD

VDD

VDD

VDD

A B

Ci

S

Co

X

B

A

Ci A

BBA

Ci

A B Ci

Ci

B

A

Ci

A

B

BA

Co = AB + Ci(A+B)

28 transistors

Digital Integrated Circuits © Prentice Hall 1995Combinational LogicCombinational Logic

A Revised Adder Circuit

VDD

Ci

A

BBA

B

A

A BKill

Generate"1"-Propagate

"0"-Propagate

VDD

Ci

A B Ci

Ci

B

A

Ci

A

BBA

VDD

SCo

24 transistors

top related