csee 3827 fundamentals of computer systems
play

CSEE 3827: Fundamentals of Computer Systems Lecture 2 January 26, - PowerPoint PPT Presentation

CSEE 3827: Fundamentals of Computer Systems Lecture 2 January 26, 2009 Martha Kim mak2191@columbia.edu 1 1 Agenda TA office hours Boolean algebra Logic gates Circuit fabrication 2 2 TA Office Hours TA Room, first floor


  1. CSEE 3827: Fundamentals of Computer Systems Lecture 2 January 26, 2009 Martha Kim mak2191@columbia.edu 1 1

  2. Agenda • TA office hours • Boolean algebra • Logic gates • Circuit fabrication 2 2

  3. TA Office Hours TA Room, first floor of Mudd (see: http://ta.cs.columbia.edu/tamap.shtml) Roopa Kakarlapudi Tuesdays 5-6:30PM Harsh Parekh Mondays 11-12:20PM; Tuesdays 3:30-5PM Nishant Shah Wednesdays 10-11:30AM 3

  4. Boolean Logic • Binary digits (or bits) have two values: {1,0} • All logical functions can be implemented in terms of three logical operations: OR NOT AND . x y x y x y x x x + y 1 0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 1 4 4

  5. Boolean Logic 2 • Precedence rules just like decimal system • Implied precedence: NOT > AND > OR • Use parentheses as necessary AB + C = (AB) + C (A + B)C = ((A) + B)C 5 5

  6. Boolean Logic: Example D X A L=DX + A 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 6 6

  7. Boolean Logic: Example D X A X DX L=DX + A 0 0 0 1 0 0 1 0 1 0 0 1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 1 1 0 0 1 1 1 1 0 1 0 0 0 1 1 0 1 1 1 0 0 1 (M&K Table 2-2) 7 7

  8. Boolean Logic: Example 2 X Y XY + XY 0 0 0 1 1 0 1 1 8 8

  9. Boolean Logic: Example 2 X Y X Y XY XY XY + XY 1 1 0 1 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 1 0 1 1 1 9 9

  10. Boolean Algebra: Identities and Theorems OR AND NOT X+0 = X X1 = X (identity) X+1 = 1 X0 = 0 (null) X+X = X XX = X (idempotent) X+X = 1 XX = 0 (complementarity) X = X (involution) X+Y = Y+X XY = YX (commutativity) X+(Y+Z) = (X+Y)+Z X(YZ) = (XY)Z (associativity) X(Y+Z) = XY + XZ X+YZ = (X+Y)(X+Z) (distributive) X+Y = X Y XY = X + Y (DeMorgan’s theorem) 10 10

  11. Boolean Algebra: Example Simplify this equation using algebraic manipulation. F = XYZ + XYZ + XZ 11 11

  12. Boolean Algebra: Example Simplify this equation using algebraic manipulation. F = XYZ + XYZ + XZ XY(Z + Z) + XZ (by reverse distribution) XY1 + XZ (by complementarity) XY + XZ (by identity) 12 12

  13. Boolean Algebra: Example 2 Find the complement of F. F = AB + AB F = 13 13

  14. Boolean Algebra: Example 2 Find the complement of F. F = AB + AB F = AB + AB (AB) (AB) (by DeMorgan’s) (A + B) (A + B) (by DeMorgan’s) (A + B) (A + B) (by involution) 14 14

  15. Boolean Algebra: Why? These circuits consume area, power, and time 15 15

  16. Logic gate area 16 16

  17. Information signaled through voltage level 0.0 v 1.3 v 0.0 v (AND) 17 17

  18. Idealized timing diagram of AND gate (AND) A B Q 18 18

  19. Actual signal timing has delays • transition time : time required for output to change (RC delay: ohms x farads = time • propagation time : time from input change to output change 19 19

  20. Returning to boolean algebra... F = XYZ + XYZ + XZ XY(Z + Z) + XZ (by reverse distribution) XY1 + XZ (by complementarity) XY + XZ (by identity) 20 20

  21. Returning to boolean algebra... 21 21

  22. Universal gates: NAND, NOR x y z = xy 1 0 0 1 0 1 XY 1 1 0 0 1 1 x y z = x+y 1 0 0 0 0 1 X+Y 0 1 0 0 1 1 22 22

  23. Universal how? 23 23

  24. Boolean algebra practice 1 Prove that this boolean equation is true using algebraic manipulation. 1 = AB + BC + AB + BC B (A + A) + B (C+C) (by distribution) B + B (by complementarity) 1 (by complementarity) 24 24

  25. Boolean algebra practice 2 Prove that this boolean equation is true using algebraic manipulation. X + Y = XY + XY + XY XY + XY + XY + XY (by idempotence) X (Y + Y) + Y (X + X) (by distribution) X 1 + Y 1 (by null) X + Y (by identity) 25 25

  26. Boolean algebra practice 3 Find the complement of F. F = (VW + X)Y + Z F = (VW + X)Y + Z ((VW + X)Y)Z (by DeMorgan’s) ((VW + X) + Y)Z (by DeMorgan’s & involution) (VW X + Y)Z (by DeMorgan’s) ((V + W)X + Y)Z (by DeMorgan’s) ((V + W)X + Y)Z (by null) 26 26

  27. Integrated circuit fabrication raw silicon crystallization of molten silicon silicon ingots wafer 27 27

  28. Integrated circuit fabrication 2 wafer processed wafer 28 28

  29. Integrated circuit fabrication 3 processed wafer dicing packaging 29 29

  30. Integrated circuit fabrication 4 $$$ packaged die test 30 30

  31. A more detailed tutorial on integrated circuit fabrication: http://www.necel.com/fab/en/flow.html 31 31

  32. Next class: more boolean algebra, duals 32 32

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