Docsity

Combinational Logic: Gates, Circuits, and Converters, Lecture notes of Computer Science

Partial preview of the text

Download Combinational Logic: Gates, Circuits, and Converters and more Lecture notes Computer Science in PDF only on Docsity!

MOHD. YAMANI IDRIS/ NOORZAILY 1

Combinational Gates

  • (^) Introduction
  • (^) Analysis arrangement
  • (^) Half Adder/Full Adder
  • (^) Half Subtractor/Full Subtractor
  • (^) BCD to Excess-3 converter
  • (^) Arithmetic Circuit
    • (^) Adder/Subtractor
    • (^) Parallel Adder/Cascading Adder
    • (^) BCD Adder
    • (^) Magnitud Comparator

MOHD. YAMANI IDRIS/ NOORZAILY 2

Combinational Gates

  • (^) Medium Scale Integration Circuit (MSI Component) - (^) Decoder - (^) Encoder - (^) Demultiplexer - (^) Multiplexer
  • (^) Programmable Logic Device
    • (^) Read-Only-Memory ROM
    • (^) Programmable ROM (PROM)

MOHD. YAMANI IDRIS/ NOORZAILY 4

Combinational Gates - Introduction

  • (^) Sequential Logic
    • (^) Each output depends on both current and the previous input. Memory (from feed back loop) contains previous information

MOHD. YAMANI IDRIS/ NOORZAILY 5

Combinational Gates – Analysis Arrangement

  • (^) Given combinational logic, can you analyze it’s function?
  • (^) Step 2
    • (^) Mark it’s input and output
    • (^) Get the function on each starting gate with the nearest gate to the input follows to the output
    • (^) Draw TT
    • (^) Get the function of the circuit – Half Adder

MOHD. YAMANI IDRIS/ NOORZAILY 7

Combinational Gates – Half Adder

  • (^) Design arrangement
    1. Get simplest Boolean function. Use K-Map
    2. Draw logic diagram

MOHD. YAMANI IDRIS/ NOORZAILY 8

Combinational Gates – Full Adder

  • (^) Half adder only adds two bits
  • (^) To add two binary number, we nee to add three bits (including carry)
  • (^) Example:
  • (^) Full Adder can be produced from half adder

MOHD. YAMANI IDRIS/ NOORZAILY 10

Combinational Gates – Full Adder

  • (^) Other method, use algebra manipulation

MOHD. YAMANI IDRIS/ NOORZAILY 11

Combinational Gates – Full Adder

  • (^) From the formula,
  • (^) Full Adder is constructed from two Half Adder and OR gate

MOHD. YAMANI IDRIS/ NOORZAILY 13

Combinational Gates – Half Subtractor

  • (^) From TT
  • (^) circuit

MOHD. YAMANI IDRIS/ NOORZAILY 14

Combinational Gates – Full Subtractor

  • (^) Subtraction of two binary numbers need three input Full subtractor
  • (^) Contains borrow input from previous LSB
  • (^) Example

MOHD. YAMANI IDRIS/ NOORZAILY 16

Combinational Gates – Full Subtractor

  • (^) Other method, use algebra manipulation

MOHD. YAMANI IDRIS/ NOORZAILY 17

Combinational Gates – Full Subtractor

  • (^) With that formula, we get
  • (^) Full subtractor is constructed from two half subtractor and OR and NOT gate

MOHD. YAMANI IDRIS/ NOORZAILY 19

Combinational Gates – Arithmetic Circuit

  • (^) Full Adder

MOHD. YAMANI IDRIS/ NOORZAILY 20

Combinational Gates – Arithmetic Circuit

  • (^) Half Subtractor