digital circuits and systems
play

Digital Circuits and Systems Universality, Rearranging Truth Tables - PowerPoint PPT Presentation

Spring 2015 Week 2 Module 7 Digital Circuits and Systems Universality, Rearranging Truth Tables Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras *Currently a Visiting Professor at IIT Bombay


  1. Spring 2015 Week 2 Module 7 Digital Circuits and Systems Universality, Rearranging Truth Tables Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras *Currently a Visiting Professor at IIT Bombay

  2. Summary of Digital Logic Gates Universality, Rearranging Truth Tables 2

  3. Summary of Digital Logic Gates Universality, Rearranging Truth Tables 3

  4. AND/OR CIRCUITS The simplest type of combinational logic design  consists of inverters, AND gates, and OR gates. This is known as an AND/OR circuit. An AND/OR circuit can be designed to implement any  function by performing the following steps: Put the expression in SOP form 1. Form complemented literals with inverters. 2. Form product terms with AND gates. 3. Sum the product terms with an OR gate 4. Universality, Rearranging Truth Tables 4

  5. Example   f(x, y, z) xy x yz f x y z Exercise     f(x, y, z) ( x y )( y z )( x x ) Implement the function using OR/AND logic Universality, Rearranging Truth Tables 5

  6. Universality  All Boolean functions can be implemented using the set {AND, OR, NOT}  Universal gates  Gates which can implement any Boolean function without the need to use any other type of gate  NAND and NOR are universal gates  To show universality of a gate:  Show that AND, OR and NOT can be implemented using that gate Universality, Rearranging Truth Tables 6

  7. NAND Universality  AND, OR and NOT can be implemented using NAND only NOT or INV x F = x.x = x AND P = xy x F = xy = xy y x OR F = x . y = x + y = x + y y Universality, Rearranging Truth Tables 7

  8. Exercises  Show that NOR gate is a universal gate also  Is XOR a universal gate?  If so, show how {AND, OR, NOT} operations can be done using XOR gates only.  If not, show which operations can be done and which cannot be. Universality, Rearranging Truth Tables 8

  9. Boolean Expression  Truth Table  To convert boolean expression to truth table:  Expand the expression into the minterms (i.e., canonical SOP form) and enter 1’s in truth table rows (or, expand into canonical POS and enter 0’s for each maxterm). Example x y z f 0 0 0 1     f x , y , z z y z 0 0 1 0      z x x yz 0 1 0 1 0 1 1 1    x z y z x z       1 0 0 1       x z y y y z x x x z y y 1 0 1 0       x y z x y z x y z x y z x y z x y z 1 1 0 1     0 , 2 , 3 , 4 , 6 , 7 1 1 1 1 Universality, Rearranging Truth Tables 9

  10. Truth Table  Boolean Expression  To convert a truth table to a boolean expression:  Write a canonical SOP expression that consists of all minterms (or write a canonical POS using maxterms) and then simplify the algebraic expression. Example      f x , y , z  0 , 2 , 3 , 4 , 6 , 7       x y z x y z x y z x y z x y z x y z             x z y y y z x x x z y y    x z y z x z      z x x yz   z y z Universality, Rearranging Truth Tables 10

  11. Truth tables to Boolean Expression  When the expressions get more complicated, simplification gets harder  You may miss out combinations  More inputs, more the effort  Systematic way to reduce effort  Karnaugh Maps Universality, Rearranging Truth Tables 11

  12. Rearranging Truth Tables Minterms f(x,y,z) x y z f m0 1 0 0 0 1 x\yz 00 01 10 11 m1 0 0 0 1 0 0 1 0 1 1 m2 1 0 1 0 1 1 1 0 1 1 m3 1 0 1 1 1 m4 1 1 0 0 1 1 0 1 0 m5 0 m6 1 1 1 0 1 x\yz 00 01 11 10 m7 1 1 1 1 1 0 1 0 1 1 1 1 0 1 1 Universality, Rearranging Truth Tables 12

  13. In General x 1 x 2 x 3 00 01 11 10 m 000 m 001 m 010 m 011 0 m 100 m 101 m 111 m 110 1 x 1 x 2 x 3 00 01 11 10 m 1 m 3 m 2 m 0 0 m 4 m 5 m 7 m 6 1 Universality, Rearranging Truth Tables 13

  14. End of Week 2: Module 7 Thank You Universality, Rearranging Truth Tables 14

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend