Topics

17
Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf Topics Combinational logic functions. Static complementary logic gate structures.

description

Topics. Combinational logic functions. Static complementary logic gate structures. Combinational logic expressions. Combinational logic: function value is a combination of function arguments. A logic gate implements a particular logic function. - PowerPoint PPT Presentation

Transcript of Topics

Page 1: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Topics

Combinational logic functions. Static complementary logic gate structures.

Page 2: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Combinational logic expressions

Combinational logic: function value is a combination of function arguments.

A logic gate implements a particular logic function.

Both specification (logic equations) and implementation (logic gate networks) are written in Boolean logic.

Page 3: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Gate design

Why designing gates for logic functions is non-trivial:– may not have logic gates in the libray for all

logic expressions;– a logic expression may map into gates that

consume a lot of area, delay, or power.

Page 4: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Boolean algebra terminology

Function:f = a’b + ab’

a is a variable; a and a’ are literals. ab’ is a term. A function is irredundant if no literal can be

removed without changing its truth value.

Page 5: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Completeness

A set of functions f1, f2, ... is complete iff every Boolean function can be generated by a combination of the functions.

NAND is a complete set; NOR is a complete set; {AND, OR} is not complete.

Transmission gates are not complete. If your set of logic gates is not complete, you

can’t design arbitrary logic.

Page 6: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Static complementary gates

Complementary: have complementary pullup (p-type) and pulldown (n-type) networks.

Static: do not rely on stored charge. Simple, effective, reliable; hence

ubiquitous.

Page 7: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Static complementary gate structure

Pullup and pulldown networks:

pullupnetwork

pulldownnetwork

VDD

VSS

outinputs

Page 8: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Inverter

a out

+

Page 9: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Inverter layout

(tubs notshown)a out

+

transistors

GND

VDD

a out

tub ties

Page 10: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

NAND gate

+

ba

out

Page 11: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

NAND layout

+

ba

out

b

a

out

VDD

GND

tubties

Page 12: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

NOR gate

+

b

a

out

Page 13: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

NOR layout

b

a

out

a

b

out

VDD

GND

tub ties

Page 14: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

AOI/OAI gates

AOI = and/or/invert; OAI = or/and/invert. Implement larger functions. Pullup and pulldown networks are compact:

smaller area, higher speed than NAND/NOR network equivalents.

AOI312: and 3 inputs, and 1 input (dummy), and 2 inputs; or together these terms; then invert.

Page 15: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

AOI example

out = [ab+c]’:

symbol circuit

and

or

invert

Page 16: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Pullup/pulldown network design

Pullup and pulldown networks are duals. To design one gate, first design one

network, then compute dual to get other network.

Example: design network which pulls down when output should be 0, then find dual to get pullup network.

Page 17: Topics

Modern VLSI Design 4e: Chapter 3 Copyright 2008 Wayne Wolf

Dual network construction

dum

my

a

b c

dummy

a

b c