ic220 slide set 6 digital logic appendix b
play

IC220 Slide Set #6: Digital Logic (Appendix B) 1 2 Appendix - PowerPoint PPT Presentation

ADMIN Very different material! Reading Appendix: Read B.1, B.2, B.3. Skim B.5. IC220 Slide Set #6: Digital Logic (Appendix B) 1 2 Appendix Goals Logic Design Digital Signals Establish an understanding of the basics of


  1. ADMIN • Very different material! • Reading – Appendix: Read B.1, B.2, B.3. Skim B.5. IC220 Slide Set #6: Digital Logic (Appendix B) 1 2 Appendix Goals Logic Design – Digital Signals Establish an understanding of the basics of • Only two valid, stable values – False = logic design for future material – True = • Gates • Vs. voltage levels – Basic building blocks of logic – Low voltage “usually” • Combinational Logic – High voltage “usually” – But for some technologies may be the reverse – Decoders, Multiplexors, PLAs • How can we make a function with these signals? • Clocks 1. Specify equations: • Memory Elements • Finite State Machines 2. Implement with 3 4

  2. Boolean Algebra Gates • One approach to expressing the logic function • Operators: – NOT x = A Output true if – AND: ‘A logical product’ x = A • B = AB Output true if x = A + B – OR : ‘A logical sum’ Output true if – XOR x = A ⊕ B Output true if – NAND x = A • B Output true if – NOR x = A + B Output true if 5 6 Example Truth Tables Part 1 • Alternative way to specify logical functions • List all outputs for all possible inputs A(1) – n inputs, how many entries? B(1) – Inputs usually listed in numerical order G x = A x = A + B C(0) A x A B x D(1) 0 1 0 0 0 1 0 0 1 1 1 0 1 Equation: 1 1 1 7 8

  3. EX: B-1 to B-4 Truth Tables Part 2 Laws of Boolean Algebra • Not just for individual gates • Identity Law A + 0 = A A • 1 = A • Not just for one output A F B • Zero and One Law + 1 = 1 A A • 0 = 0 G C A B C F G + A = 1 A A • A = 0 • Inverse Law 0 0 0 0 0 1 0 1 0 0 1 1 • = • A B B A • Commutative Law A + B = B + A 1 0 0 1 0 1 1 1 0 1 1 1 9 10 Laws of Boolean Algebra • Associative Law A + ( B + C ) = ( A + B ) + C • ( • ) = ( • ) • A B C A B C • Distributive Law A • ( B + C ) = ( A • B ) + ( A • C ) + ( • ) = ( + ) • ( + ) A B C A B A C • DeMorgan’s Law A + B = A • B A • B = A + B 11

Recommend


More recommend