LOGIC GATES & TRUTH TABLE 350151 – Digital Circuit 1 Choopan Rattanapoka.

Slides:



Advertisements
Similar presentations
Digital Systems: Logic Gates and Boolean Algebra Wen-Hung Liao, Ph.D.
Advertisements

Logic Gates.
Logic Gates.
Gate-Level Minimization. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
Logic Gate Level Combinational Circuits, Part 1. Circuits Circuit: collection of devices physically connected by wires to form a network Net can be: –
ECE 331 – Digital System Design Basic Logic Functions, Truth Tables, and Standard Logic Gates.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
Digital Logic Design ESGD2201
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
NOCTI Review Lesson 4 Objectives:
ECE 331 – Digital System Design
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
Digital Logic Design Week 3
Logic Gates. Outline  Logic Gates  The Inverter  The AND Gate  The OR Gate  The NAND Gate  The NOR Gate  The XOR Gate  The XNOR Gate  Drawing.
LOGIC GATES.
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.
Chapter 33 Basic Logic Gates. 2 Objectives –After completing this chapter, the student should be able to: Identify and explain the function of the basic.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
Basic Gates 3.1 Basic Digital Logic: NAND and NOR Gates ©Paul Godin Created September 2007 Last Update Sept 2009.
CS 1110 Digital Logic Design
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
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,
C.S. Choy21 BOOLEAN ALGEGRA The Mathematics of logic Boolean variables have only two possible values (binary) Operators:. Product+ SumComplement A.B A+B.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CHAPTER 5 Combinational Logic Analysis
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
ECE 331 – Digital System Design Basic Logic Operations, Boolean Expressions and Truth Tables, and Standard Logic Gates The slides included herein were.
1 Ch.3 Logic Gates and Boolean Algebra – Part 1
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Boolean Algebra & Logic Gates
Table 2.1 Postulates and Theorems of Boolean Algebra
Eng. Mai Z. Alyazji October, 2016
Chapter 3 Notes – Part II Review Questions
De Morgan’s Theorem,.
Unit 2 Boolean Algebra.
Logic Gates and Boolean Algebra
CS 105 Digital Logic Design
Logic Gates.
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
Boolean Expressions Lecture No. 10.
Basic Digital Logic Basic Gates
ECE 331 – Digital System Design
Boolean Algebra & Logic Circuits
Schematics 201 Lecture Topic: Electrical Symbols
BASIC & COMBINATIONAL LOGIC CIRCUIT
Logic Gates.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Table 2.1 Postulates and Theorems of Boolean Algebra
Department of Electronics
Basic Logic Operations
Presentation transcript:

LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka

Digital Circuit  We will study of 2 things here  Digital circuit analysis  Digital circuit synthesis  Digital circuit analysis (given) (given) (require)  Digital circuit synthesis (given) (require) (given) Circuit inputoutput Circuit inputoutput

Boolean variable  Boolean variable has 2 values  0 and 1  Example :  X is a Boolean variable  Thus, X can be either 0 or 1  In digital,  0 represents a low voltage  1 represents a high voltage

Boolean Operations  The basic operations of Boolean algebra are  AND  OR  NOT (complement or inverse)  Additional operations  Exclusive-OR (XOR)  Exclusive-NOR (XNOR)  NAND  NOR

Basic Operation : NOT (1)  The complement of 0 is 1, and the complement of 1 is 0.  We can write symbolically :  0’ = 1 and 1’ = 0  The prime (’) denotes complementation.  If X is a Boolean variable  X’ = 1 if X = 0  X’ = 0 if X = 1

Basic Operation : NOT (2)  An alternate name for complementation is inversion.  We represent an inverter by X X’

Basic Operation : AND (1)  The AND operation can be defined as follows :  0 0 = 0  0 1 = 0  1 0 = 0  1 1 = 1  The “” denotes AND.  AND operation is also referred to as logical multiplication.  However, the “” symbol is frequently omitted in a Boolean expression, and we will usually write AB instead of A B.

Basic Operation : AND (2)  If we write the Boolean expression C = A B, Then given the values of A and B, we can determine C from the following table :  A logic gate which performs the AND operation is represented by AB C = A B

Basic Operation: OR (1)  The OR operation can be defined as follows :  = 0  = 1  = 0  = 1  The “+” denotes OR, sometimes called inclusive-OR.  The OR operation is also referred as logical addition.

Basic Operation: OR (2)  If we write C = A + B, then given the values of A and B, we can determine C from the following table:  A logic gate which performs the OR operation is represented by AB C = A + B

Boolean Expression  The simplest expression consist of a single constant or variable, such as 0, X, or Y.  More complicated expression are formed by combining two or more other expressions using AND or OR, or by complementing another expression.  Example of Boolean Expression :  AB’ + C  [A ( C + D) ]’ + BE  Parentheses are added as needed to specify the order in which the operations are performed. When parentheses are omitted, complementation is performed first followed by AND and then OR.

Boolean Expression : Example  AB’ + C  No parentheses.  So, B’ is formed first, then AB’ and then AB’ + C  Each expression corresponds directly to a circuit of logic gates.

Truth Table  A truth table (also called a table of combination) specifies the values of a Boolean expression for every possible combination of values of the variables in the expression.  A truth table for an n-variable expression will have 2 n rows.

Truth table: Example  AB’ + C (3 variables, so a truth table has 8 rows) ABCB’AB’AB’ + C

Exercise 1  Draw the digital circuit and write the truth table of the following expression :  (A + C)(B’ + C)  BC’ + AC

Exercise 2  Find the Boolean expression of F and its truth table

XYX Y Exclusive-OR (1)  The exclusive-OR operation ( ) is defined as follows : 0 0 = = = = 0  Truth table of X Y is

Exclusive-OR (2)  We represent C = A B by  The following theorems apply to exclusive-OR  X 0 = X  X 1 = X’  X X = 0  X X’ = 1  X Y = Y X  (X Y) Z = X (Y Z) = X Y Z  X(Y Z) = XY XZ  (X Y)’ = X Y’ = X’ Y = XY + X’Y’

Exclusive-NOR (XNOR)  The XNOR operation is the complement of the XOR operation.  We can write C = (A B)’ or A B  The symbol of XNOR gate is  The truth table of XNOR is ABC = A B

NAND (Not AND)  Boolean expression C = (A B)’  Truth table of NAND  A logic gate is represented by AB C = (A B)’

NOR (Not OR)  Boolean expression C = (A + B)’  Truth table of NOR  A logic gate is represented by AB C = (A + B)’

Universal Logic Gate  NAND or NOR gates alone can represent all basic operations  It can reduce the cost of circuit by using NAND or NOR instead of AND, OR, NOT gates.

NAND as basic operations

Exercise 3  Find the Boolean expression of F and its truth table

TODO  Draw wiring diagram of these Boolean expressions:  (A + B)’ (B’C)  (A’BC + AB’C)(B C)  Find the Boolean expression and the truth table of this wiring diagram: