CS Chapter 3 (3A and ) – Part 2 of 5

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

Chapter 4 Gates and Circuits.
Lecture 8 Topics –Switch –Transistor –CMOS transistor –Logic gates AND, OR, NOT Universal gates: NAND, NOR XOR.
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Boolean Algebra and Digital Logic Chapter 3. Chapter 3 Objectives  Understand the relationship between Boolean logic and digital computer circuits. 
Boolean Algebra and Digital Logic Nizamettin AYDIN
Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
DeMorgan Theorem, Computer Simulation Exercises
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Dr. ClincyLecture Slide 1 CS Chapter 3 (3A and ) Part 2 of 8 Dr. Clincy Professor of CS.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Dr. ClincyLecture Slide 1 CS6020- Chapter 3 (3A and ) Dr. Clincy Professor of CS First Exam - Tuesday, September 6th Coverage: All subjects up to.
Computer Architecture & Operations I
Computer Architecture & Operations I
Boolean Algebra & Logic Gates
Basics of Logic gates - Part 1
Digital Logic.
Morgan Kaufmann Publishers
Boolean Algebra and Digital Logic
CS Chapter 3 (3A and ) Part 1 of 8
EI205 Lecture 5 Dianguang Ma Fall 2008.
Dr. Clincy Professor of CS
CS Chapter 3 (3A and ) Part 1 of 8
Boolean Expressions Lecture No. 10.
Jeremy R. Johnson Wed. Sept. 29, 1999
Dr. Clincy Professor of CS
Fundamentals & Ethics of Information Systems IS 201
Boolean Algebra and Digital Logic
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Week 7: Gates and Circuits: PART II
Dr. Clincy Professor of CS
CS Chapter 3 (3A and ) Part 3 of 8
Dr. Clincy Professor of CS
CSC 220: Computer Organization Logic Gates and Functions
Logic Gates.
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
GCSE Computer Science – Logic Gates & Boolean Expressions
ECB2212-Digital Electronics Boolean algebra
CS Chapter 3 (3A and ) – Part 3 of 5
Dr. Clincy Professor of CS
Lab Instructors will overview the MSP430
Dr. Clincy Professor of CS
Truth tables Mrs. Palmer.
Dr. Clincy Professor of CS
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
ECE 352 Digital System Fundamentals
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Presentation transcript:

CS 3510 - Chapter 3 (3A and 10.2.2) – Part 2 of 5 Dr. Clincy Professor of CS Dr. Clincy Slide 1 1

Conceptually Boolean Algebra Truth Table Logic Circuit

Boolean Algebra It is easy to convert a function to sum-of-products form using its truth table. We are interested in the values of the variables that make the function true (=1). Using the truth table, we list the values of the variables that result in a true function value. Each group of variables is then ORed together. The sum-of-products form for our function is: We note that this function is not in simplest terms. Our aim is only to rewrite our function in canonical sum-of-products form. Dr. Clincy Lecture

Logic Gates We have looked at Boolean functions in abstract terms. In this section, we see that Boolean functions are implemented in digital computer circuits called gates. A gate is an electronic device that produces a result based on two or more input values. In reality, gates consist of one to six transistors, but digital designers think of them as a single unit. Integrated circuits contain collections of gates suited to a particular purpose. Dr. Clincy Lecture

Logic Gates The three simplest gates are the AND, OR, and NOT gates. They correspond directly to their respective Boolean operations, as you can see by their truth tables. Dr. Clincy Lecture

Logic Gates Another very useful gate is the exclusive OR (XOR) gate. The output of the XOR operation is true only when the values of the inputs differ. Note the special symbol  for the XOR operation. Dr. Clincy Lecture

Logic Gates NAND and NOR are two very important gates. Their symbols and truth tables are shown at the right. Dr. Clincy Lecture

Logic Gates NAND and NOR are known as universal gates because they are inexpensive to manufacture and any Boolean function can be constructed using only NAND or only NOR gates. Dr. Clincy Lecture

Logic Gates Gates can have multiple inputs and more than one output. A second output can be provided for the complement of the operation. We’ll see more of this later. Dr. Clincy Lecture

Combinational Circuits We have designed a circuit that implements the Boolean function: This circuit is an example of a combinational logic circuit. Combinational logic circuits produce a specified output (almost) at the instant when input values are applied. In a later section, we will explore circuits where this is not the case (sequential circuits). Dr. Clincy Lecture

Combinational Circuits We have designed a circuit that implements the Boolean function: This circuit is an example of a combinational logic circuit. Combinational logic circuits produce a specified output (almost) at the instant when input values are applied. In a later section, we will explore circuits where this is not the case (sequential circuits). Dr. Clincy Lecture

Combinational Circuit – Example 1 - XOR C.How do we construct a truth table for the expression ? 1.Determine AND values 2.Determine OR values A. The expression for this circuit is this - explain B.The function is in the “sum-of-products” form – which is really this Digital logic implies the following order: NOT, AND, OR D.When comparing the output to the input pattern – we see we have an XOR case – we could replace that circuit with a simple XOR gate

Combinational Circuit – Example 2 Explain how to extract from the truth table the expression for the circuit for f1 Two 3-variable functions First, figure out the PRODUCTS that make f1 true/high/one – NOT the variables that 0 so that when they are ANDed, the result is 1 x x x f f 1 2 3 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Combinational Circuit – Example 2 continuing

Combinational Circuit – Example 2 continuing Given the expression initially, evaluate the expression and see if it is equal to the original output for f1 Evaluation of the expression x x + x x 1 2 2 3 x x x x x x x x x + x x = f 1 2 3 1 2 2 3 1 2 2 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Combinational Circuit – Example 2 continuing Two 3-variable functions Lets do f2 x x x f f 1 2 3 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Truth-table technique for proving equivalence of expressions This algebraic expression represents the distributive identity We can prove it is correct by constructing a truth table for the left-handside and the right-handside and seeing if they match Left-hand side Righ t-hand side w y z y + z w ( y + z ) w y w z w y + w z 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1