80 likes | 201 Views
Chapter 3. Digital circuits. 3.1 Logic signals - Gates. Binary system : (binary bits or digits) - 0 & 1 - LOW & HIGH - N egated and A sserted. 3.1 Logic signals - Gates. Different devices used to represent binary bits 0 1 Pneumatic Logic low presure high
E N D
Chapter 3 Digital circuits
3.1 Logic signals - Gates • Binary system : (binary bits or digits) - 0 & 1 - LOW & HIGH - Negated and Asserted.
3.1 Logic signals - Gates Different devices used to represent binary bits 0 1 Pneumatic Logic low presure high Relay Logic open closed Fiber Optics light on off Read Only CD no pit pit (See table 3.1 of book)
X X Y Z F1 F2 1 0 0 0 0 1 2 0 0 1 1 1 3 0 1 0 0 1 4 0 1 1 0 1 5 1 0 0 0 1 6 1 0 1 0 1 7 1 1 0 1 0 8 1 1 1 1 0 F1 Logic Circuit Y F2 Z 3.2 How do we represent logic Black box view of logic circuit 3 inputs and 2 outputs N bits 2n different values Example N=3 : 23 = 8 Truth table Truth tables : it gives all combinaisons of input and corresponding Output values
3.3 Basic building blocks …NAND, NOR NAND gate : combination of NOT and AND NOR gate : combination of NOT and OR Note that NAND produces the opposite results of AND NOR produces the opposite results of OR
3.4 Example: a logical circuit 1 2 F X Y Z X’ Y’ X.Y X’.Y’.Z 1 + 2 0 0 0 1 1 0 0 0 0 0 1 1 1 0 1 1 0 1 0 1 0 0 0 0 0 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 1 1 0 0 1 0 1 1 2 F X Y Z X’ Y’ X.Y X’.Y’.Z 1 + 2 0 0 0 1 1 0 0 0 0 0 1 1 1 0 1 1 0 1 0 1 0 0 0 0 0 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 1 1 0 0 1 0 1
3.4 Example : …. Truth table Logic diagrams