Boolean Algebra and Gate Networks

Slides:



Advertisements
Similar presentations
Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
Advertisements

Logic Gates.
Logic Gates.
INTRODUCTION LOGICAL OPERATIONS TRUTH TABLE AND RULES.
Lecture 2 Dr Richard Reilly Dept. of Electronic & Electrical Engineering Room 153, Engineering Building To insert your company logo on this slide From.
Section 10.3 Logic Gates.
Lecture 3. Boolean Algebra, Logic Gates
Boolean Algebra. Introduction 1854: Logical algebra was published by George Boole  known today as “Boolean Algebra” 1854: Logical algebra was published.

طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
Gate Circuits and Boolean Equations BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
22C:19 Discrete Math Boolean Algebra & Digital Logic Fall 2010 Sukumar Ghosh.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
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.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
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.
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.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
Boolean Algebra and Logic Gates CSE-1108 Ahsanullah University of Science and Technology (AUST)
CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits Lecture 5: Binary Logic and Gates.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
Chapter 4 Fundamentals of Computer Logic 1 Chapter 4: Fundamental of Computer Logic - IE337.
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.
Chapter 3 Digital Logic Structures
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Chapter 12. Chapter Summary Boolean Functions Representing Boolean Functions Logic Gates Minimization of Circuits (not currently included in overheads)
Lecture 4 Topics Boolean Algebra Huntington’s Postulates Truth Tables
ECE 301 – Digital Electronics
Logic Gates and Logic Circuits
Eng. Mai Z. Alyazji October, 2016
Computer Code.
Chapter 11 (Part 1): Boolean Algebra
Logic Gates and Boolean Algebra
Gate Circuits and Boolean Equations
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
Digital Logic & Design Dr. Waseem Ikram Lecture 05
EI205 Lecture 5 Dianguang Ma Fall 2008.
Overview Part 1 – Gate Circuits and Boolean Equations
Boolean Algebra.
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
Boolean Expressions Lecture No. 10.
TN 221: DIGITAL ELECTRONICS 1
Computer Architecture CST 250
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Dr. Clincy Professor of CS
Practice #Digital Logic Mr. Burleson
Digital Systems: Logic Gates and Boolean Algebra
Logic Gates L Al-zaid Math110.
Boolean Algebra & Logic Circuits
UNIVERSAL GATES.
Universal gates.
Digital Logic & Design Lecture 05
JC Technology Logic Gates.
Logic Gates.
Boolean Algebra.
KS4 Electricity – Electronic systems
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 4) Hasib Hasan
DIGITAL ELECTRONICS B.SC FY
Logic Gates Dr.Halimah Alshehri.
Introductory Concepts
Department of Electronics
BOOLEAN ALGEBRA.
Logic Gates By: Asst Lec. Besma Nazar Nadhem
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Boolean Algebra and Gate Networks Modern digital computers are designed , maintained , and their operation is analyzed using techniques and symbology from a field of mathematics called modern algebra The name Boolean algebra honors a fascinating English mathematics called modern algebra Boolean algebra was first brought to bear on problems by Claude Shannon in 1938 (switching circuits)

Boolean Algebra & logic gates In formula 2x+5y=z, in normal algebra (x,y and z may range through the entire field of real numbers) In Boolean algebra , the variables take only one of two possible values ( 0 or 1). So in equation x+y=z each of the variables x,y and z will be one of the values 0 or 1.

The possible input and output combinations may be arranged as follows: 0+0=0 0+1 =1 1+0 =1 1+1 =1 This is called logical addition (+ OR)

The second important operation in Boolean algebra is called ( The second important operation in Boolean algebra is called (. AND) or Logical Multiplication. 0 . 0 =0 0 .1 =0 1 .0 =0 1 . 1 =1 Both (+) and (.) Obey a mathematical rule called the associative law. (x+y)+z = x +(y+z) (x.y).z = x.(y.z)

If +’s and. ’s mixed , then the rule which is used is that ( If +’s and .’s mixed , then the rule which is used is that (. always performed before +) So x.y+z = (x.y )+ z And x.y + x.z means (x.y) + (x.z)

Logical Multiplication function Input Output A B F The (.) Operations are physically realized by electronic circuit called AND Gate Logical Multiplication function Input Output A B F 1 A 1 output 2 inputs 3 inputs 4 inputs Multiple inputs F B

AND Gate Timing Diagram

Logical Add function Input Output A B F 1 The + Operations are physically realized by electronic circuit called OR Gate Logical Add function Input Output A B F 1 1 output 2 inputs 3 inputs 4 inputs Multiple inputs A F B

OR Gate Timing Diagram

NOT Gate A Input Output A F 1 Invert function In Boolean algebra we have an operation called “Invertor” or “complementation” and the (- ) symbol will be used with the variable. So X is meaning the complement of X 1 input 1 output A Input Output A F 1 Invert function

NOT Gate Timing Diagram

The complement of a value can be taken repeatedly 0 = 1 = 0 = 1

AND Gate Applications Enable/Disable Device Counter counts when it receives pulses

OR Gate Applications Car door open alarm

NOT Gate Applications 1’s Complement

Evaluation of logical expressions To study a logical expression it is very useful to construct a table of values (Truth table) for the variables then evaluate the expression for each of the possible combination of variables in turn Consider the expression x+yz , there are 3 variables x,y,z so there are 2^3 combinations. X Y Z ‘Z Y’Z X+Y’Z 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

expression x.y+ x.z is also 3 variables y+z x.(y+z) x.y x.z (x.y)+(x.z) 1

NAND Gate function NOT-AND function Input Output A B F 1 B A

NAND Gate Timing Diagram

NOR Gate function NOT-OR function Input Output A B F 1 A B

NOR Gate Timing Diagram