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.

Slides:



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

ENGIN112 L7: More Logic Functions September 17, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 7 More Logic Functions: NAND, NOR,
Logic Gates.
Lecture 6 More Logic Functions: NAND, NOR, XOR and XNOR
ECE 238L Computer Logic Design Spring 2010
Chapter 2 Logic Circuits.
التصميم المنطقي Second Course
Boolean Algebra and Logic Gate
COMBINATIONAL LOGIC CIRCUITS C.L. x1 x2 xn Z Z = F (x1, x2, ……., Xn) F is a Binary Logic (BOOLEAN ) Function Knowing F Allows Straight Forward Direct Implementation.
Section 10.3 Logic Gates.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Number Systems & Logic Gates Day 2. Octal Number System Base (Radix)8 Digits0, 1, 2, 3, 4, 5, 6, 7 e.g = =648 1 =88 0 =1 The digit.
CS 105 Digital Logic Design
Chapter 2: Boolean Algebra and Logic Functions
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
In science, technology, business, and, in fact, most other fields of endeavor, we are constantly dealing with quantities. Quantities are measured, monitored,
Chapter 2 Combinational Systems And / Or / Not. TRIAD PRINCIPLE: Combinational is about And / Or / Not combinations As well as equivalent functions. It.
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:
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
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.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
ECE 331 – Digital System Design
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
Chap 2. Combinational Logic Circuits
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.
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,
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
1’S COMPLEMENT REPRESENTATION 1’s complement of a number (binary) is obtained by changing all 1’s to 0 and all 0’s to 1. If one of these numbers is positive.
1 Ch.3 Logic Gates and Boolean Algebra – Part 1
Logic Gates and Boolean Algebra Introduction to Logic II.
1 CS 352 Introduction to Logic Design Lecture 1 Ahmed Ezzat Number Systems and Boolean Algebra, Ch-1 + Ch-2.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Logic Gates Review. Logic Gates OR gate – 1 if either input is 1 – 0 if they both are 0.
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
CHAPTER 3 Simplification of Boolean Functions
Table 2.1 Postulates and Theorems of Boolean Algebra
Eng. Mai Z. Alyazji October, 2016
Computer Code.
Chapter 3 Notes – Part II Review Questions
Chapter 2: Boolean Algebra and Logic Functions
DIGITAL LOGIC CIRCUITS
Boolean Algebra.
CS 105 Digital Logic Design
Princess Sumaya University
Combinational Circuits
Computer Architecture CST 250
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
DIGITAL LOGIC CIRCUITS
ECE 331 – Digital System Design
Boolean Algebra Why study Boolean Algebra?
Boolean Algebra.
Boolean Algebra & Logic Circuits
Basic Logic Gates 1.
Example Question: Consider the expressions: (a) F = XY + XY'
Week 7: Gates and Circuits: PART II
Logic Gates.
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
Table 2.1 Postulates and Theorems of Boolean Algebra
DIGITAL ELECTRONICS B.SC FY
Boolean Algebra and Gate Networks
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Presentation transcript:

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

2 Digital Electronics Analog signal:Signal is constantly changing levels Digital signal:Signal is either present (1) or not (0) Computers Communications Music

3 Why Digital?

4 Noise:Clarity of signal Storage:Real time storage Programmable:Processing is easier Precision:Not dependent on component values Circuit Density:Much higher than analog

5 Basic Binary Arithmetic Decimal system-Base 10 Binary system-Base 2 Octal system-Base 8 Hexadecimal System-Base 16 Decimal system: = 2x x x x x x x10 -3 Binary system: = 1x x x x x x x2 -3 = = Each of the binary numbers is called a “bit”

6 Adding binary numbers x x x x 2 0 = 10 0 x x x x 2 0 = 7 16

7 Representation of Binary Signals

8 All Logic Circuits can be realized with just three basic building blocks Inverter And Gate Or Gate

9 Truth Table A table that lists all possible outputs for all possible inputs A BC n possible combinations AND Gate C = A  B “AB” Boolean expression:

10 Operation of AND Gate

11 A BC OR Gate Boolean expression: C = A + B

12 AC Inverter (“Not”) Boolean expression: C = A

13 NAND Gate A BC Boolean expression: C = A  B C = AB

14 NOR Gate A BC Boolean expression: C = A + B

15 A B A  B C X = A  B + C

16 To go the other way: Suppose we want to implement: Need a three-input OR Gate

17 Need two two-input AND Gates Need one three-input AND Gate Need two inverters

18 Exclusive OR (XOR) Gate A BC XOR Gate Boolean expression: C = A + B

19 The XOR gate can be used to make a circuit that adds two one - bit binary numbers = 0 no carry = 1 no carry = 0 1 carry

20 Adding binary numbers x x x x 2 0 = 10 0 x x x x 2 0 = 7

21 Boolean Algebra Theorems x  0 = 0 x  1 = x x  x = x x  x = 0 x + 0 = x x + 1 = 1 x + x = x x + x = 1 Single variable x + y = y + x x  y = y  x x + (y + z) = (x + y) + z = x + y + z x (yz) = (xy)z = xyz x(y + z) = xy + xz (w + x)(y + z) = wy + xy + wz + xz x + xy = x x + xy = x + y Multiple variables

22 Example: Simplify Factor out

23 DeMorgan’s Theorems (x + y) = x  y (x  y) = x + y Example: Simplify z = (A + C) + (B + D) z = (A  C) + (B  D) A = A, D = D z = AC + BD