Docsity

Arithmetic Functions - Introduction to Logic Design - Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Arithmetic Functions - Introduction to Logic Design - Lecture Slides and more Slides Digital Logic Design and Programming in PDF only on Docsity!

Decoders and Multiplexer

Circuits

Class 17 – Arithmetic Functions

  • Iterative Combinational Circuits
  • Binary Adders
  • Material from section 4-1 and 4-2 of text

Iterative Circuit

  • Consider an iterative circuit that operates on

two binary vectors.

  • Base unit
  • Iterative connection.

Iterative circuit area

  • A lot in arithmetic area of application.
    • Adders
    • Subtractors
    • Incrementors
    • Decrementors
    • Multiplication circuits

Half adder equations

  • The Sum and Carry equations
  • Implementation

S = X’Y + XY’ = X ⊕ Y

C = XY

The full adder

  • Can evolve half adder into a full adder.
  • Full adder truth table and minimization.

S=X’Y’Z+X’YZ’+XY’Z’+XYZ = X ⊕ Y ⊕ Z = (X ⊕ Y) ⊕ Z

The full adder

  • Have just seen a full adder implemented from the structural connection of two half adders and an OR gate.
  • Can do a direct implementation. It will end up with the same number and type of gates.
  • For a multibit implementation need a symbol for the unit.

Multibit use

  • And then can use that symbol in multibit or hierarchical representations.
  • A 2 bit example
  • In this adder the final output carry is generated in the final stage after the carry inputs to all the previous stages has settled.

Class 17 assignment

  • Covered sections 4-1 through 4-
  • Problems for hand in
    • none
  • Problems for practice
    • 4-
  • Reading for next class: sections 4-3, 4-