Basic Digital Logic Basic Gates

Slides:



Advertisements
Similar presentations
Basic Logic Gates Discussion D5.1 Section Sections 13-3, 13-4.
Advertisements

Digital logic gates.
Logic Gates.
CT455: Computer Organization Logic gate
Programmable Logic Controllers.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
by Prof. Dr. Ali S. Hennache
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 Logic generally has only 2 states, ON or OFF, represented by 1 or 0. Logic gates react to inputs in certain ways. Symbol for AND gate INPUT.
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
NOCTI Review Lesson 4 Objectives:
TODAY YOU ARE LEARNING to explain why data is represented in computer systems in binary form 2. to understand and produce simple logic diagrams.
Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
COMPSCI 210 Semester Tutorial 2: 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.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
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.
Basic logic gates  AND gate:The truth table is given by A.BBA
COE 202: Digital Logic Design Combinational Logic Part 4
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
Logic Gates Ghader Kurdi Adapted from the slides prepared by DEPARTMENT OF PREPARATORY YEAR.
CHAPTER 5 Combinational Logic Analysis
Basic Logic Gates By : Ashima Wadhwa Assistant Professor (giBS)
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
Chapter 33 Basic Logic Gates. Objectives After completing this chapter, you will be able to: –Identify and explain the function of the basic logic gates.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Chapter 3 Digital circuits. 3.1 Logic signals - Gates Binary system : (binary bits or digits) - 0 & 1 - LOW & HIGH - Negated and Asserted.
Computer Architecture & Operations I
Dr. Ameria Eldosoky Discrete mathematics
Eng. Mai Z. Alyazji October, 2016
Logic Gates.
Basic Digital Logic.
CSCI-100 Introduction to Computing
Exclusive OR Gate.
Discussion D5.1 Section Sections 13-3, 13-4
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Basics Combinational Circuits Sequential Circuits
How Boolean logic is implemented
Waveforms & Timing Diagrams
Logic Gates.
CSC 220: Computer Organization Logic Gates and Functions
Logic Gates.
KS4 Electricity – Electronic systems
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Discussion D5.1 Section Sections 13-3, 13-4
DIGITAL ELECTRONICS B.SC FY
Today You are Learning simple logic diagrams using the operations AND, OR and NOT truth tables combining Boolean operators using AND, OR and NOT.
Logic Gates.
Discussion D5.1 Section Sections 13-3, 13-4
Basic Logic Gates.
Binary Logic.
Basic Logic Gates.
Digital Logic Experiment
XOR Function Logic Symbol  Description  Truth Table 
Department of Electronics
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Logic Gates AIM: To know the different types of logic gate
Eng. Ahmed M Bader El-Din October, 2018
Further binary, Logic diagrams and truth tables
Logic Gates By: Asst Lec. Besma Nazar Nadhem
Introduction to Logic diagrams and truth tables
What are Logic Gates?.
Presentation transcript:

Basic Digital Logic Basic Gates

Digital Signals Digital Signals have two basic states: 1 (logic “high”, or H, or “on”) 0 (logic “low”, or L, or “off”) Digital values are in a binary format. Binary means 2 states. A good example of binary is a light (only on or off)

Digital Logic Hardware consists of a few simple building blocks These are called logic gates AND, OR, NOT, … NAND, NOR, XOR, … Logic gates are built using transistors NOT gate can be implemented by a single transistor AND gate requires 3 transistors Transistors are the fundamental devices Pentium consists of 3 million transistors Compaq Alpha consists of 9 million transistors Now we can build chips with more than 100 million transistors Functionality can be expressed by a truth table A truth table lists output for each possible input combination

Basic Gates Basic Digital logic is based on 3 primary functions (the basic gates): NOT Gate AND Gate OR Gate Other gates XOR Gate NAND Gate NOR Gate XNOR Gate

The AND function Usually represented by dot (.) Ex: x.y Logics: If all the inputs are high is the output is high If any input is low, the output is low

AND Logic Symbol Output Inputs If both inputs are 1, the output is 1 If any input is 0, the output is 0

AND Logic Symbol Inputs Output Determine the output

AND Logic Symbol Inputs Output 1 Determine the output

AND Logic Symbol 1 1 Inputs Output 1 Determine the output

AND Truth Table To help understand the function of a digital device, a Truth Table is used: Input Output 1 Every possible input combination Truth Table for 3 inputs AND Gate

AND Gates It is possible to have AND gates with more than 2 inputs. The same logic rules apply – “if any input…”

AND Different Symbols X & Y X and Y X Y X * Y XY (textbook) and(Z,X,Y) V U

The OR Gate Usually represented by dot (+) Ex: x+y The OR function: if any input is high, the output is high if all inputs are low, the output is low

OR Logic Symbol Output Inputs If any input is 1, the output is 1 If all inputs are 0, the output is 0

OR Logic Symbol Inputs Output Determine the output

OR Logic Symbol 1 Inputs Output 1 Determine the output

OR Logic Symbol 1 1 Inputs Output 1 Determine the output

OR Truth Table Truth Table Input Output 1 Truth Table for 3 inputs 1 Truth Table for 3 inputs OR Gate

NOT Y = ~X Y = !X Y = not X Y = X’ Y = X Y = X (textook) not(Y,X)

The NOT function The NOT function: If any input is high, the output is low If any input is low, the output is high “The output is the opposite state of the input” The NOT function is often called INVERTER

NOT Logic Symbol Input Output If the input is 1, the output is 0

NOT Logic Symbol Output Input 1 Determine the output

NOT Logic Symbol 1 Output Input Determine the output

NOT Truth Table Truth Table Input Output 1 NOT Function

Exercise 1 1. Least Challenging Complete the sentences: If all inputs of an OR gate are low, the output is_________ If any input of an AND gate is low, the output is _________ The output of a NOT gate is always the ___________ of the input.

Chips

The XOR [Exclusive OR] function Usually represented by  Ex: x  y Logics: If all inputs are high or low then the output will be low Y X + = Å

XOR Logic Symbol X Z Output Inputs Y B A + = Å

XOR Logic Symbol Inputs Output Determine the output

XOR Logic Symbol 1 Inputs Output 1 Determine the output

XOR Logic Symbol 1 1 Inputs Output Determine the output

XOR Logic Symbol 1 Inputs Output 1 Determine the output

XOR Truth Table Truth Table for 3 inputs XOR Gate

The XNOR [Exclusive NOR] function Usually represented by Ex: X Y or (x  y)′ Logics: If all inputs are high or low then the output will be high

XNOR Logic Symbol X Z Output Inputs Y X Y =XY+X′Y′

XNOR Logic Symbol 1 Inputs Output Determine the output

XNOR Logic Symbol Inputs Output 1 Determine the output

XNOR Logic Symbol 1 Inputs Output Determine the output

XNOR Logic Symbol 1 1 Inputs Output 1 Determine the output

XNOR Truth Table Truth Table for 3 inputs XNOR Gate

The NAND [NOT-AND] function Usually represented by ′ or ‾ Ex: (XY)′ Logics: If all inputs are high output will be low

NAND Logic Symbol Output Inputs

NAND Logic Symbol 1 Inputs Output Determine the output

NAND Logic Symbol 1 Inputs Output 1 Determine the output

NAND Logic Symbol 1 1 Inputs Output Determine the output

NAND Logic Symbol 1 Inputs Output 1 Determine the output

NAND Truth Table Truth Table for 3 inputs NAND Gate

The NOR [NOT-OR] function Usually represented by ′ or ‾ Ex: (X+Y)′ Logics: If all inputs are low output will be high

NOR Logic Symbol Inputs Output

NOR Logic Symbol 1 Inputs Output Determine the output

NOR Logic Symbol Inputs Output 1 Determine the output

NOR Logic Symbol 1 Inputs Output Determine the output

NOR Logic Symbol 1 Inputs Output 1 Determine the output

NOR Truth Table NOR Gate Truth Table for 3 inputs

Draw a circuit diagram for  = (xy' + x'y)z.

(A.B+C′)D