COS
COS126_Lecture21_Circuits notes

COS126_Lecture21_Circuits notes - Lecture 21 Circuits...

Info icon This preview shows pages 1–2. Sign up to view the full content.

Lecture 21... Audio recording started: 10:02 AM Tuesday, April 23, 2013 In circuits; wires move from left to right? Carries of 1's and 0's NOT = an inverter X and Y in XY out AND gate (only 1 if both 1) OR gate (either 1 or 0 or both 1) 2 input gates can be combined to form multiple gates Boolean function - function whose inputs and outputs are 0 or 1. Truth tables express all the possibilities for boolean outputs. N inputs give 2 N rows Truth tables can be applied to 3 variables or more as well MAJ = majority (most of the inputs are one) [More than half?] Power of 2 number of lines ODD = is the number of 1's of the variables odd (i.e. 1 one or 3 ones or 4 ones) This can be done using AND, OR and NOT Many other can do so (slide 12) Using multiple logic gates, we can make any other logic gate AND is like a multiplication of x and y (i.e. xy) OR is effectively an addition of given stuffs x' is simply NOT(x) - use of an inverter works out here
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '08
  • DOUGLASW.CLARK
  • Addition, Logic gate, Least significant bit, general computer science

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern