CO5023 Building Circuits from Truth Tables. Build the following… Let’s say we want a circuit which acts as described by the following truth table: We.

Slides:



Advertisements
Similar presentations
Logic Gates A logic gate is an elementary building block of a digital circuit Most logic gates have two inputs and one output At any given moment, every.
Advertisements

Logic Gates.
Logic Gates.
Instructor Dr Sameh Abdulatif
Types of Logic Circuits
Logic Gate Level Part 2. Constructing Boolean expression from truth table First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result.
Computer organization at the logic level Some not so famous last words.
1 EECC341 - Shaaban #1 Lec # 6 Winter Combinational Circuit Analysis Example Given this logic circuit we can : Find corresponding logic.
Propositional Calculus Math Foundations of Computer Science.
PHY 201 (Blum)1 Karnaugh Maps References: Chapters 4 and 5 in Digital Principles (Tokheim) Chapter 3 in Introduction to Digital Systems (Palmer and Perlman)
Logic Circuits In today’s lesson we will look at: the symbols for NOT, AND, OR and EOR using truth tables to represent logic circuits two new operators.
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Binary Logic.
Chapter 3.5 Logic Circuits. How does Boolean algebra relate to computer circuits? Data is stored and manipulated in a computer as a binary number. Individual.
GCSE Computing: A451 Computer Systems & Programming Activity 1 Grab a whiteboard and pen, come to the front and work out the.
Computer Organization 1 Logic Gates and Adders. Propositions –Venn Diagrams.
What is Correlation? Do we have to learn it with high calculations? Do we have to go for a complicated formula to understand it?
Karnaugh Maps References:
Introduction to Sequential Circuit By : Pn Siti Nor Diana Ismail CHAPTER 5.
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.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Basic logic gates  AND gate:The truth table is given by A.BBA
Gates and Logic Dr John Cowell phones off (please)
Circuit Simplification Truth Table  Minimized Logic Gates.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
Basic Gates 3.1 Basic Digital Logic: NAND and NOR Gates ©Paul Godin Created September 2007 Last Update Sept 2009.
Combinational Logic Digital Design Department of Software Development Faculty of Information Technology Islamic University of Gaza Dr. Rebhi Baraka
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.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
Activity 1 Grab a whiteboard and pen, come to the front and work out the Truth Table for the following circuit: 5 minutes R A B C Q.
Combinational Logic Analysis. Basic Combinational Logic Circuits AND-OR logic AND-OR logic AND-OR logic produces an SOP expression. AND-OR logic produces.
WORKING PRINCIPLE OF DIGITAL LOGIC
Circuits, Truth Tables & Boolean Algebra. Expressions Can describe circuits in terms of Boolean expression.
Digital Logic Design. Truth Table  Logic Circuit 1. Start with truth table 2. When your output is a 1, figure out the combination of inputs, ANDs, and.
Activity 1 5 minutes Grab a whiteboard and pen, come to the front and work out the Truth Table for the following circuit: R A B C Q.
Universal Gate – NOR Universal Gate - NOR Digital Electronics
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Eng. Mai Z. Alyazji October, 2016
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Karnaugh Maps (K-Maps)
Universal Gate – NOR Universal Gate - NOR Digital Electronics
Circuits, Truth Tables & Boolean Algebra
AOI Design: Logic Analysis
Universal Gate – NAND Universal Gate - NAND Digital Electronics
JC Technology Logic Gates.
Logic Gates.
Digital Logic.
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
ECB2212-Digital Electronics K-Map
CS Chapter 3 (3A and ) – Part 2 of 5
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Universal Gate – NOR Universal Gate - NOR Digital Electronics
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
AOI Design: Logic Analysis
Circuits, Truth Tables & Boolean Algebra
AOI Design: Logic Analysis
Analysis of Logic Circuits Example 1
Analysis of Logic Circuits Example 1
Principles & Applications
Eng. Ahmed M Bader El-Din October, 2018
ECE 352 Digital System Fundamentals
Presentation transcript:

CO5023 Building Circuits from Truth Tables

Build the following… Let’s say we want a circuit which acts as described by the following truth table: We can express this function easily by looking at all the 1s in the ‘Out’ column. Each 1 can be obtained by ANDing some combination of (A or A’), (B or B’) and (C or C’) It should be understood that A’ means ‘not A’ in this context For example, the first 1 could be obtained with A’.B’.C’ The second is A.B’.C’ Can you complete the rest? To obtain the overall function, we OR all these together So the function A’.B’.C’ + A.B’.C’ + A.B’.C + A.B.C would give us our result For reference X.Y means “X and Y”, X+Y means “X or Y” ABCOut

Make a circuit It’s easy to make this into a circuit as follows: The function was A’.B’.C’ + A.B’.C’ + A.B’.C + A.B.C Test this in logic simulator to check it works

With NAND gates… The same result can be achieved using only NAND gates (which are faster in practice) A NAND of NANDS is equivalent to an OR of ANDs

Sum of products (and product of sums) This technique is know as the sum of products approach to circuit design. It works by ORing a number of ANDs – since mathematicians regard OR as being similar to + and AND as being similar to *, we use the term “sum of products” Sum of products: For each 1 in the output, take the combination of inputs (or their negations) which gives that output when ANDed together Then OR each of the ANDed terms together Remember you can then replace all the OR and AND gates with NANDs in practice. There is also a product of sums approach This works by taking all the zero outputs For each zero output, you should OR the negation of the inputs Then you AND these together Try this for the previous example… (next slide) Use