15930 Lecture Logic Gates (1)

download 15930 Lecture Logic Gates (1)

of 25

Transcript of 15930 Lecture Logic Gates (1)

  • 8/3/2019 15930 Lecture Logic Gates (1)

    1/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    Digital Systems

    Introduction

    Binary Quantities and Variables

    Logic Gates

    Boolean Algebra Combinational Logic

    Number Systems and Binary Arithmetic

    Numeric and Alphabetic Codes

  • 8/3/2019 15930 Lecture Logic Gates (1)

    2/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    Introduction

    Digital systems are concerned with digital signals

    Digital signals can take many forms

    Here we will concentrate on binary signals sincethese are the most common form of digital signals

    can be used individually

    perhaps to represent a single binary quantity or the state of a

    single switch can be used in combination

    to represent more complex quantities

  • 8/3/2019 15930 Lecture Logic Gates (1)

    3/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    Binary Quantities and Variables

    A binary quantity is one that can take only 2 states

    9.2

    A simple binary arrangement

    S LOPEN OFF

    CLOSED ON

    S L0 01 1A truth table

  • 8/3/2019 15930 Lecture Logic Gates (1)

    4/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    A binary arrangement with two switches in series

    L = S1 AND S2

  • 8/3/2019 15930 Lecture Logic Gates (1)

    5/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    A binary arrangement with two switches in parallel

    L = S1 OR S2

  • 8/3/2019 15930 Lecture Logic Gates (1)

    6/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    Three switches in series

    L = S1 AND S2AND S3

  • 8/3/2019 15930 Lecture Logic Gates (1)

    7/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    Three switches in parallel

    L = S1 OR S2OR S3

  • 8/3/2019 15930 Lecture Logic Gates (1)

    8/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    A series/parallel arrangement

    L = S1 AND (S2OR S3)

  • 8/3/2019 15930 Lecture Logic Gates (1)

    9/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    Representing an unknown network

  • 8/3/2019 15930 Lecture Logic Gates (1)

    10/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    Logic Gates

    A logic gate is an electronic circuit/device which makes

    the logical decisions.

    The building blocks used to create digital circuits are

    logic gates

    There are three elementary logic gates and a range of

    other simple gates

    Each gate has its own logic symbol which allows

    complex functions to be represented by a logic diagram

    The function of each gate can be represented by a truth

    table or using Boolean notation

  • 8/3/2019 15930 Lecture Logic Gates (1)

    11/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    The AND gate

  • 8/3/2019 15930 Lecture Logic Gates (1)

    12/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    The OR gate

  • 8/3/2019 15930 Lecture Logic Gates (1)

    13/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    The NOT gate (or inverter)

  • 8/3/2019 15930 Lecture Logic Gates (1)

    14/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    A logic buffer gate

  • 8/3/2019 15930 Lecture Logic Gates (1)

    15/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    The NAND gate

  • 8/3/2019 15930 Lecture Logic Gates (1)

    16/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

  • 8/3/2019 15930 Lecture Logic Gates (1)

    17/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    The NOR gate

  • 8/3/2019 15930 Lecture Logic Gates (1)

    18/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

  • 8/3/2019 15930 Lecture Logic Gates (1)

    19/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    The Exclusive OR gate

  • 8/3/2019 15930 Lecture Logic Gates (1)

    20/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    The Exclusive NOR gate

  • 8/3/2019 15930 Lecture Logic Gates (1)

    21/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    Realization of other gates from NAND andNOR

    The universality of the NAND gate means that it canbe used :

    as an inverter and that combinations of NAND gates

    can be used to implement the AND, OR, and NORoperations.

    Similarly, the NOR gate can be used to implementthe inverter (NOT), AND, OR, and NAND operations.

  • 8/3/2019 15930 Lecture Logic Gates (1)

    22/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    NAND Gate as a Universal Gate Element

  • 8/3/2019 15930 Lecture Logic Gates (1)

    23/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

  • 8/3/2019 15930 Lecture Logic Gates (1)

    24/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#

    NOR Gate as a Universal Gate Element

  • 8/3/2019 15930 Lecture Logic Gates (1)

    25/25

    Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 9.#