1 Binary Signals Logic gate circuits are designed to input and output only two types of signals: “high” (1) and “low” (0), as represented by a variable.

Slides:



Advertisements
Similar presentations
L14: Boolean Logic and Basic Gates
Advertisements

BOOLEAN ALGEBRA. A Mathematical notation used to represent the function of the Digital circuit. A notation that allows variables & constants to have only.
Chapter 2 Logic Circuits.
Chapter 11_1 (chap 10 ed 8) Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 3 Dr. Shi Dept. of Electrical and Computer Engineering.
1 Digital Logic
Chapter 4 Gates and Circuits.

ENGIN112 L5: Boolean Algebra September 12, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 5 Boolean Algebra.
Propositional Calculus Math Foundations of Computer Science.
Chapter 12 Digital Logic Circuit Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
3. DIGITAL ELECTRONICS..
Figure to-1 Multiplexer and Switch Analog
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
Digital Logic Circuits – Chapter 1 Section 1-3, 1-2.
Binary Codes Computers and other digital systems "work" with binary numbers. I/P & O/P is usually done using decimal numbers, alphabetics, special symbols.
1 CHAPTER 4: PART I ARITHMETIC FOR COMPUTERS. 2 The MIPS ALU We’ll be working with the MIPS instruction set architecture –similar to other architectures.
Summer 2014 Chapter 1: Basic Concepts. Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
Introduction to Computing Systems from bits & gates to C & beyond Chapter 3 Digital Logic Structures Transistors Logic gates & Boolean logic Combinational.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
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.
1 Lecture 6 BOOLEAN ALGEBRA and GATES Building a 32 bit processor PH 3: B.1-B.5.
CS/COE0447 Computer Organization & Assembly Language
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Logic Gates Digital Electronics.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
Introduction to Computing Systems and Programming Digital Logic Structures.
Appendix B: Digital Logic
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
WORKING PRINCIPLE OF DIGITAL LOGIC
©2010 Cengage Learning SLIDES FOR CHAPTER 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use.
UNIT 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
CHAPTER 13 Digital Logic Circuits. Figure Voltage analog of internal combustion engine in-cylinder pressure Figure 13.1.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Computer Architecture & Operations I
Boolean Algebra & Logic Gates
Chapter 3 - Binary Numbering System
Morgan Kaufmann Publishers
Logic Gates & Boolean Algebra
DIGITAL LOGIC CIRCUITS
Working with DIGITAL Information
Boolean Algebra & De Morgan's Theorems
CHAPTER 1 : INTRODUCTION
Digital Logic.
Component 1 – 2A, B, C Binary Logic
Jeremy R. Johnson Wed. Sept. 29, 1999
ECE 434 Advanced Digital System L03
Reading: Hambley Chapters
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
CSE 311 Foundations of Computing I
Digital Logic Structures Logic gates & Boolean logic
ECE434a Advanced Digital Systems L02
Fundamentals of Computer Systems
13 Digital Logic Circuits.
Binary Numbers.
Digital Fundamentals Floyd Chapter 4 Tenth Edition
Presentation transcript:

1 Binary Signals Logic gate circuits are designed to input and output only two types of signals: “high” (1) and “low” (0), as represented by a variable voltage: full power supply voltage for a “high” state and zero voltage for a “low” state Figure 13.3

2 Figure 13.1 Digital Logic Circuits Logic is defined as the science of reasoning. It is the development of a reasonable or logical conclusion based on known information. Voltage Analog of Internal Combustion Engine in-Cylinder Pressure

3 Figure 13.11, Table 13.9 An easy way to remember the OR gate is that any “high” input will yield a “high” output. Logical addition and the OR gate Rules for logical addition (OR)

4 Figure 13.12, Table The AND gate is a logic circuit that requires all inputs to be “true” at the same time in order for the output to be “true”. Logical multiplication and the AND gate Rules for logical multiplication (AND)

5 Figure Example of logic function implementation with logic gates

6 Inside a Logic Gate

7 Boolean Algebra Boolean logic, or Boolean algebra as it is called today, was developed by an English mathematician, George Boole, in the 19th century. He based his concepts on the assumption that most quantities have two possible conditions: True or False. Boolean algebra is used mainly by design engineers. By using this system, engineers are able to arrange logic gates to accomplish certain objectives. Boolean algebra also enables the engineers to achieve the desired output by using the fewest number of logic gates. Since space, weight, and cost are important factors in the design of equipment, you would usually want to use as few parts as possible.

8 Laws and Theorems LAW OF IDENTITY: a term that is TRUE in one part of an expression will be TRUE in all parts of the expression. COMMUTATIVE LAW:- the order in which terms are written does not affect their value (AB = BA, A+B = B+A). ASSOCIATIVE LAW: a simple equality statement A(BC) = ABC or A+(B+C) = A+B+C. IDEMPOTENT LAW: a term ANDed with itself or ORed with itself is equal to that term (AA = A, A+A = A). DOUBLE NEGATIVE LAW: a term that is inverted twice is equal to the term. COMPLEMENTARY LAW: a term ANDed with its complement equals 0, and a term ORed with its complement equals 1 (AA = 0, A+A = 1). LAW OF INTERSECTION: a term ANDed with 1 equals that term and a term ANDed with 0 equals 0

9 Figure De Morgan’s laws The inverter, often referred to as a NOT gate, is a logic device that has an output opposite of the input.

10 Figure De Morgan’s laws The inverter, often referred to as a NOT gate, is a logic device that has an output opposite of the input.

11 Figure 13.27, XOR gate The NAND gate is another logic device commonly found in digital equipment. This gate is simply an AND gate with an inverter (NOT gate) at the output. Realization of an XOR gate

12 Figure Truth table and Karnaugh Map Representations of a Logic Function Read Examples: 13.10; 13.12; and 13.14

13 Figure Karnaugh map for a four-variable expression

14 Figure Combinational Logic Gates: 4-to-1 Multiplexer Multiplexer (MUX), or data selectors, are combinational logic circuits that permit the selection of many inputs. A typical MUX has 2n data lines, n address (data select) lines and one output. Also, other control inputs may exist.

15 Figure 13.57, Table Functional diagram of four-input MUX

16 Figure Read-only memory ROM is a logic circuit that holds in storage (memory) information in the form of binary numbers-that cannot be altered by can be read by logic circuit. A ROM is an array of memory cells, each of which can store either a 1 or a 0. The array consists of 2 m x n cells, where n is the number of bits in each word stored in ROM, m address lines are required. To access the information stored in ROM, m address lines are required. When address is selected, the binary word corresponding to the address selected appears at the output, which consists of n bits, that is, the same number of bits as the stored words.

17 Application: Internet Protocol (IP) The Internet Protocol (IP) determine the addressing system that connects all computers to the Internet. The IP addressing scheme provides logical addressing of data packets so they can be routed both between local networks and throughout the Internet. The IP address is made up of two parts, the network portion and the host (computer portion). The network portion routes data packets between networks while the host portion determines the location of the particular device within a network. An IP address is a 32-bit number that is divided into four groups called octets. Each octet contains eight binary numbers (a byte) consisting of 1s and 0s. Because of the difficulty in remembering a bit pattern of a 32-bit binary number, IP addressing is simplified through the use of a numbering system called decimal notation.

An IP address with four 1-byte (8-bit) octets 8-bit octet (1) 8-bit octet (102) 8-bit octet (45) 8-bit octet (177)

19 Homework A microwave oven requires that the main power supply be on, the door be latched, and the inner set to a time other than zero before the oven will function. Draw a logic diagram for the operation of the oven. A lighter is being sold that uses a light beam to the light the lighter. The lighter has a cutout on its side that has been fixed with a light source and a light sensor. Opening the lid of the lighter activates the light source; interrupting the light source causes the lighter to light. Draw a logic diagram for the function of the lighter. An automatic parking lot gate extends a ticket to the customer when the customer’s car drives over a sensor S and the driver presses button B on the ticket vendor. Draw the logic diagram to control the release of the ticket. Once the extended ticket is taken from dispenser D, the arm A will raise to let the car through. Draw the logic diagram that control the raising of the arm.

20 Analog to Digital Converter (A/D) EPROM Fuel Injection System Air in Mass air flow sensor Fuel injector M A EPROM address MAMA T F EPROM content Fuel injection pulse width M A Mass of air M F Mass of Fuel M F = M A / 14.7 T F = M F / K F T F = M A / 14.7 K F Application: Automotive Fuel Injection System Control