chap1_lect02_basics2

12

Click here to load reader

Transcript of chap1_lect02_basics2

Page 1: chap1_lect02_basics2

1

Prin CMPE 413

Co

S gates always pro-

plement (dual) of

p OFF Pull-up ON

loat) 1

0 X(Crowbar)

ciples of VLSI Design CMOS Basics

mplementary CMOS

Comlementary CMOS Logic Gates: nMOS pull-down network pMOS pull-up network Static CMOS

Complementary CMOduce 1 or 0

Pull-up network is com pull-down network

Pull-u

Pull-down OFF Z (f

Pull-down ON

pMOSpull-upnetwork

outputinputs

nMOSpull-downnetwork

Page 2: chap1_lect02_basics2

2

Prin CMPE 413

Bu

easier to build.

pression.

of n transistorsof n transistors

C

D

B) C D•( )+

: Parallel

ciples of VLSI Design CMOS Basics

ilding CMOS Gates (n-side)

CMOS is inherently inverting.

Gates with expression of the form are

For making the n-side (pull-down network) use the un-inverted ex

For e.g.: Implement

For n-side use

AND expressions are implemented using series connection OR expressions are implemented using parallel connection

F ressionexp( )=

F A B•( ) C D•( )+( )=

F A B•( ) C D•( )+=

A

B

A

B

A B•( ) C D•( )

C

D

AND: Series AND: Series

A •(

OR

Page 3: chap1_lect02_basics2

3

Prin CMPE 413

Bu

d for n-side.

of p transistorsof p transistors

B) C D+( )•

D: Series

B

D

ciples of VLSI Design CMOS Basics

ilding CMOS Gates (p-side)

For making the p-side (pull-up network) invert the expression use

For e.g.: Implement

For n-side use (previous slide)

For p-side invert above expression:

AND expressions are implemented using series connection OR expressions are implemented using parallel connection

F A B•( ) C D•( )+( )=

F A B•( ) C D•( )+=

F A B+( ) C D+( )•=

A B+( ) C D+( )

OR: Parallel OR: Parallel

A +(

AN

A

C

A B C D

Page 4: chap1_lect02_basics2

4

Prin CMPE 413

Bu

final gate.

ciples of VLSI Design CMOS Basics

ilding CMOS Gates (Final CMOS gate)

Combine the n-side (pull-down) and p-side (pull-up) to make the

F A B•( ) C D•( )+( )=

A

B

C

D

A B

C D

F

Page 5: chap1_lect02_basics2

5

Prin CMPE 413

Us

f abstractions

opriate form, which may

ssions, e.g., using De

n be realized in full-com-rs.ctures in which the

e 2: XOR, XNOR)

CMOS layout

ciples of VLSI Design CMOS Basics

eful Transformations

You must know all the following transformations between levels o

(1) Boolean expression to CMOS transistor schematic Previous analysis shows how to do this step It assumes that the Boolean expression is already in the appr

not always be ture.

Boolean Expression Reduction You should already know how to manipulate boolean expre

Morgan's Laws, from exercises in other courses. The objective is to reduce a boolean expression so that it ca

plementary CMOS using the minimum number of transisto You are not expected to realize CMOS gates using pass stru

inputs are used to drive the output of the gate. e.g. (Lectur

Boolean expression CMOS transistor-level (with reductions) schematic analysis

1

2

3

4

Page 6: chap1_lect02_basics2

6

Prin CMPE 413

Us

ill help you to obtain

nal expression of the

ignals in your circuit.

omplemented literals in

m complemented literals

ffs.

ciples of VLSI Design CMOS Basics

eful Transformations

The following heuristics can be applied as target reductions that wminimum realizations:

Since CMOS is naturally inverting, you'll want to target a fiform:

Many times only uncomplemented literals are available as s

Therefore, the reductions should attempt to remove the cthe Boolean expression.

Application of De Morgan's Laws can be used to transforto NANDs and NORs.

You should analyze each transformation to learn the trade-o

F expression( )=

Page 7: chap1_lect02_basics2

7

Prin CMPE 413

Tr

Ds and removes the

are needed here?

D+ )E

AI, 8 for B AOI,

OAI, 2 forr final OAI.

nsistors

ciples of VLSI Design CMOS Basics

ansformation ExamplesLet's try:

The following reduction sequence can be applied that targets NANcomplemented literals:

F AB( ) C D+( )E+=

F AB( ) C D+( )E+=

F AB C D+( )E•=

Invert both sides.

How many transistors

F A B+( ) C D+( )E•=

F A C D+( )E B C D+( )E+= Multiply.

F A C D+( )E B C D+( )E++=

F A C D+( )E B C D+( )E++=

F A B+( ) C(•=

Build here?:

Or Build here?: 6 for O

# transistors: 6 forinverter for B, 6 fo

6 for final AOI.

Build Inverse : 14 TraF AB( ) C D+( )E+=

Page 8: chap1_lect02_basics2

8

Prin CMPE 413

Tr

f in the previous case.

al without increasing the

s.

C D+( )E 6 for OAI, 4 foror final OAI.

OR, 2 for I.

nsistors

ciples of VLSI Design CMOS Basics

ansformation Examples

Note that further reductions to NANDs and NORs may not pay of

In the next case, it is possible to get rid of an uncomplemented litersize of the OAI:

Further transformations are not useful -- convince yourself.

F AB( ) C D+( )E+=

F AB C D+( )E•=

Invert both sides.

Apply DeMorgan's Law

F A B+( ) C D+( )E•=

F A B+( ) C D+ E+( )=

F A B+( ) •=

Build here?:

# transistors:inverters, 6 f

F AB( ) C D+( )E+=

Or Build here?: 4 for Ninverter, 8 for final OA

Build Inverse : 16 Tra

Page 9: chap1_lect02_basics2

9

Prin CMPE 413

Tr

ouple transistors

e other terms, e.g,

D BC A ACD+( )+

ciples of VLSI Design CMOS Basics

ansformation Examples

Expressions with repeated variables may be simplified to save a c

F ABC ACD+=

F ABC ACD+= 4 + 2 + 10 + 2

F A BC+( ) A CD+( )= 2 + 4 + 10

F AA ACD ABC BCCD+ + +=

BCCD is redundant (covered) by th

F ACD ABC+= 2 + 4 + 10

F A CD+( ) ABC+=

F A CD+( ) ABC+= 6 + 8 ( 14 !)

F ACD BC A CD+( )+ AC= =

Page 10: chap1_lect02_basics2

10

Prin CMPE 413

Tr

D, 8 for OAI, ND.

C+ )D

for inverter,

A C+ )Dor inverted B, I.

I -- no better thanression.

ciples of VLSI Design CMOS Basics

ansformation Examples

In contrast to:

F AB( ) A C+( )D+=

F A B+( ) A C+( )D=

F A B+( ) AD CD+( )=

6 for AB NAN4 for final NA

F AB( ) A C+( )D+=F AB( ) A(=

F A B+( ) A D+( ) C D+( )=

F AA AD AB BD+ + +( ) C D+( )=

F ABC ABD ADC ADD BDC BDD+ + + + +=

F ABC ABD AD BD+ + +=

F ABC D A B+( )+=

F A B C+ +( ) D A B+( )+=6 for NOR, 2

F A B+( )(=8 for OAI, 2 f6 for final OA

8 for final OAthe earlier exp

Page 11: chap1_lect02_basics2

11

Prin CMPE 413

Tr

inverter.

rt a couple of the literals

needed here?

ciples of VLSI Design CMOS Basics

ansformation Examples

Sometimes it is best to implement the inverse function and add anFor example, Carry, which has all uncomplemented inputs.

What about XOR and XNOR?

The best way to learn this is through practice.Simply make up an expression of multiple variables and inveand/or subexpressions.

Carry AB Cin A B+( )+=

Carry AB Cin A B+( )+=

F AB AB+=

F A B+( ) A B+( )=

F AB AB+=

F AB A B+( )+=

F AB AB+=

How many transistors are

Page 12: chap1_lect02_basics2

12

Prin CMPE 413

Us

essions is straightfor-

arallel transistors given

ut is covered in the labo-

s is also covered in the

ted to VDD or GND

sources are connected to

erly by tracing the poly

ciples of VLSI Design CMOS Basics

eful Transformations

(2) Translating from transistor-level schematics to Boolean exprward.

Simply write the n-tree expression using the rules for series and pearlier. Invert the final expression.

(3) Translating from transistor-level schematic diagrams to layoratories.

(4) Translating from layout to transistor-level schematic diagramlaboratories.

In general, start by identifying the transistor sources connec

nodes. Add series transistors in the schematic for transistors whose

drains of the previously identified transistors. Add parallel transistors at fan-out points. Label the transistors so it possible to connect the gates prop

connections.