Preview

Half Adder

Satisfactory Essays
Open Document
Open Document
576 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Half Adder
Functions of Combinational Circuits

• Adders
A circuit to perform addition of two binary numbers, to produce a sum and carry out, is called a HalfAdder. In multi-bit binary numbers, after adding the two least significant bits, the addition becomes one of adding two operands plus the carry produced by the previous add. The circuit to implement this operation is called a Full-Adder. A circuit to add two multi-bit binary numbers together in parallel, or at least pseudo-parallel is called a ripple-carry adder. We will examine each of these circuits below.

Half Adder
The half-adder is described by block diagram, truth table and logic equation for Sum and Carry.
Fig. 7.5 Half Adder block diagram

a 0 0 1 1

b 0 1 0 1

Cout 0 0 0 1

Sum 0 1 1 0 Cout = ab a→ b→ H.A. → Sum → Cout

From the minterms in the truth table we get the following Boolean equations for the circuit. Sum = a’b + ab’ or a ⊕ b

Circuit Diagram for half adder which produces a Sum and Cout

p. 1 of 5

Functions of Combinational Circuits

Full Adder
The full-adder is described by block diagram, truth table and logic equation for Sum and Carry below.
Fig. 7.6

a 0 0 0 0 1 1 1 1

b 0 0 1 1 0 0 1 1

Cin Cout 0 1 0 1 0 1 0 1 0 0 0 1 0 1 1 1

Sum 0 1 1 0 1 0 0 1

a b cin ↓ ↓ ↓ F.A. ↓ ↓
Cout Sum

\Cin A B\ 00 01 11 10

0 0 0 1 0 Carry

1 0 1 1 1

\Cin A B\ 0 0 0 1 1 1 1 0

0 0 1 0 1 Sum

1 1 0 1 0

Cout = ab + Cin b + Cin a Sum = Cin′a′b + Cin′ab′ + Cina′b′ + Cinab = =Cin′ (a ⊕ b) + Cin (a ⊕ b) ′ Cin′ (a′b + ab′) + Cin (ab + a′b′)

=

Cin ⊕ a ⊕ b

p. 2 of 5

Functions of Combinational Circuits

Ripple-carry Adder
Cin A: = B: = SUM: c3 c2 a3 b3 s3 c1 a2 b2 s2 c0 a1 b1 s1 a0 b0 s0 A parallel binary adder implements the addition of two n bit numbers by adding the two least significant bits using a Half-adder, then the rest of the bits are added using a Full-adder. Fig. 7.7 below illustrates the addition of two four bit numbers.

Figure 6--7

You May Also Find These Documents Helpful

  • Satisfactory Essays

    cout << num1 << " + " << num2 << " = " << num1+num2;…

    • 426 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1330 Unit 9 Quiz

    • 1332 Words
    • 6 Pages

    Any problem that can be solved by building circuitry (AND, OR, NOT, XOR circuits) can also be solved by implementing the solution in a computer program.…

    • 1332 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    23. Write a program for finding product of two positive integers A and B by addition and bit…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Quiz Comp Archi

    • 438 Words
    • 3 Pages

    4) Please describe how the clock works in the digital circuit and what are main concerns on the clock design (performance, power).…

    • 438 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    ECT114 Week3 Homework

    • 1022 Words
    • 15 Pages

    TP1 is the output of an OR gate. The Boolean operator for the OR gate is + and the inputs are A and B. Refer to Chapter 3 of the textbook for more information.…

    • 1022 Words
    • 15 Pages
    Satisfactory Essays
  • Good Essays

    Compter Science

    • 819 Words
    • 4 Pages

    truth table construction, subexpression construction using AND and NOT gates, subexpression combination using OR gates, circuit diagram production…

    • 819 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Bearing in mind the key words indicated above the table below was used to add Boolean operators which are words…

    • 291 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    2 2 2 2 2 2 2 2. You use the method of subtraction, if you can subtract the number that corresponds with the value you “2” you are dealing with you need to place a 1 under the 2 that corresponds with the number you are subtracting. This is like saying yes the number works. If it doesn’t subtract you place a zero underneath the “2” that you are dealing with, this is like saying “no” it doesn’t represent anything. That is the basic formula for doing binary. With the math diagram I can will show the practice in more detail.…

    • 332 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Lights Out Linear Algebra

    • 1112 Words
    • 5 Pages

    The purpose of this project is to solve the game of Light’s Out! by using basic knowledge of Linear algebra including matrix addition, vector spaces, linear combinations, and row reducing to reduced echelon form.…

    • 1112 Words
    • 5 Pages
    Better Essays
  • Satisfactory Essays

    Unit 4 Study guide

    • 344 Words
    • 2 Pages

    6. State the steps that the SUBB instruction will go through for each of the following:…

    • 344 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Von numen

    • 420 Words
    • 3 Pages

    1. Under the von Neumann architecture, a program and its data are both stored in memory. It is therefore possible for a program, thinking a memory location holds a piece of data when it actually holds a program instruction, to accidentally (or on purpose) modify itself. What implications does this present to you as a programmer?…

    • 420 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Math Symbol Definitions

    • 413 Words
    • 2 Pages

    + (addition) Plus, or A + B = C Add the A and B to get C…

    • 413 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    mind map

    • 280 Words
    • 2 Pages

    Create a mapping for the decimal number 2931 using either paper and pencil or a Word document.…

    • 280 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Qwertyuiop

    • 1256 Words
    • 6 Pages

    Safe and Sound Taylor Swift ft. Civil Wars Sungha Jung Music by yuji812 Double Dropped D 1 =D 6 =D Moderate = 73 1 S-Gt Capo. fret 5 5 2 2 0 4 0 0 0 2 0 0 0 0 2 2 5 0 0 0 0 2 2 4 0 4 2 0 0 5 0 2 2 0 4 0 0 0 2 0 0 0 4 0 0 5…

    • 1256 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Ic Number Display

    • 13097 Words
    • 53 Pages

    9 => 0 => A => 6 => B => 1 => C => D => 5 => 7 => 4 => E…

    • 13097 Words
    • 53 Pages
    Satisfactory Essays