9/15/09 - l6 other gate typescopyright 2009 - joanne degroat, ece, osu1 other gate types

15
9/15/09 - L6 Other Gate types Copyright 2009 - Joanne DeGroat, ECE, OSU 1 Other gate types

Upload: kendal-oke

Post on 31-Mar-2015

223 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

9/15/09 - L6 Other Gate types Copyright 2009 - Joanne DeGroat, ECE, OSU 1

Other gate types

Page 2: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 2

Class 9 outline Other gate types The XOR High Impedance

Material from section 2-8 thru 2-11 of text

Page 3: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

Other gate types So far have seen

AND OR NOT

There are some other basic gates besides these

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 3

Page 4: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

Other basic gates The Buffer F=X

The buffer is used when the signal needs redriven The Tri-State Buffer or 3-State Buffer

Useful for busses where there are multiple drivers

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 4

Page 5: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

More basic gates – Very popular NAND – Not AND

NOR – Not OR

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 5

Page 6: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

Complex Logic Gates XOR – Exclusive OR

F = XY’ + X’Y = X Y

XNOR – Exclusive NOR F = XY + X’Y’ = X Y

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 6

Page 7: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

More complex logic gates AND-OR-INVERT (AOI)

F=(WX+YZ)’

OR-AND-INVERT (OAI) F = ( (W+X)(Y+Z) )’

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 7

Page 8: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

And some more complex gates AND-OR

F = WX + YZ

OR-AND F = (W+X)(Y+Z)

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 8

Page 9: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

More complex gates In general, complex gates are used to reduce

the circuit complexity needed to implement the Boolean function.

In VLSI land AND-OR is implemented as NAND-NAND

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 9

Page 10: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

Identities of the XOR operation The following identities apply to the XOR

operation: X 0 = X X 1 = X’ X X = 0 X X’ = 1 X Y’ = (X Y)’ X’ Y = (X Y)’

Any or all of these can be proven by truth table or algebraic manipulation

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 10

Page 11: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

Another XOR relationship Show XNOR is the compliment of XOR.

(X Y)’ = X Y (XY’ + X’Y)’ = XY + X’Y’ Use DeMorgans (XY’)’(X’Y)’ = XY + X’Y’ (X’+Y)(X+Y’) = XY + X’Y’ X’X + X’Y’ + XY + YY’ = XY + X’Y’ 0 + XY + X’Y’ + 0 XY + X’Y’

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 11

Page 12: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

XOR K-maps 2-variable map

Z = XY’+Y’X Z = X Y

3-variable map Z=XYZ

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 12

Page 13: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

XOR K-maps (continued) 4-variable map

Z=WXYZ

Note that function is a one for an odd number of 1’s on the inputs

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 13

Page 14: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

High Impedance Outputs Consider the following circuit with tri-state

buffers

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 14

Page 15: 9/15/09 - L6 Other Gate typesCopyright 2009 - Joanne DeGroat, ECE, OSU1 Other gate types

Class 9 assignment Covered sections 2-8 thru 2-10 Problems for hand in

none Problems for practice

2-34

Reading for next class: none – midterm section 3-1 and 3-2 after midterm.

9/15/09 - L6 Other Gate types

Copyright 2009 - Joanne DeGroat, ECE, OSU 15