Preview

Adder Subtractor Combinational Circuit

Satisfactory Essays
Open Document
Open Document
289 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Adder Subtractor Combinational Circuit
Full Adder is a combinational circuit that performs the arithmetic sum of three input bits. It consists of three inputs and two outputs. Three of the input variables can be defined as A, B, Cin and the two output variables can be defined as S, Cout.

The two input variables A and B represents the two significant bits to be added. The third input Cin represents the carry bit. We have to use two digits because the arithmetic sum of the three binary digits needs two digits. The two outputs represents S for sum and Cout for carry.

For designing a full adder circuit, two half adder circuits and an OR gate is required. It is the simplest way to design a full adder circuit. For this two XOR gates, two AND gates, one OR gate is required.

Circuit Diagram for the Full Adder

S=Cin XOR (A XOR B)
Cout=Cin(AB'+A'B)+AB

Truth Table for the Full Adder

A B Cin S Cout
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
Half-Subtractor is a combinational circuit that subtracts two bits and produces their differences. It also has an output to specify if a 1 has been borrowed. Suppose the minuend bit is x and the subtrahend bit is y. If we want to perform x-y, we have to check the relative magnitude between x and y.

If x>y, we have three possibilities: 0-0=0, 1-0=1 and 1-1=0.
The result is known as difference bit. If

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
  • 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
  • Powerful Essays

    CTR 212 Assignment 2

    • 818 Words
    • 5 Pages

    Digital circuits can easily distinguish between two voltage levels, which can be related to the binary digits 1 and 0. Therefore, the binary system can easily be applied to PLCs and computer systems.…

    • 818 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Altera Quartus Experiment

    • 19294 Words
    • 78 Pages

    The Adder/Subtractors main function and working principles were defined in an AHDL file with name…

    • 19294 Words
    • 78 Pages
    Powerful 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
  • 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
  • Satisfactory Essays

    In addition it has two 16-bit inputs, a 16-bit output, a 1-bit overflow and a 1-bit Zero output, which is set to 1 when all bits of the Result are 0.…

    • 500 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    a) The sale of the tables and chairs represents the total profit. The production plan includes oak tables and chairs, cherry tables and chairs, and pine tables and chairs.…

    • 202 Words
    • 19 Pages
    Satisfactory Essays
  • Good Essays

    Radix4 Booth Multiplier

    • 3100 Words
    • 13 Pages

    •Using Carry-save Adders •Full Tree Multipliers •High-Radix Multipliers •Alternative Reduction Trees •Tree Multipliers for signed numbers •Divide and Conquer Design •Array Multipliers y p •Additive Multiply Modules •Pipelined Tree and Array Multipliers •Bit-Serial Multipliers •Modular Multipliers •Squaring…

    • 3100 Words
    • 13 Pages
    Good 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
  • Powerful Essays

    The multiplier is based on the same form of number representation as Mitchell’s algorithm, but for error correction it uses different algorithm proposed by Z. Babic, A. Avramovic , P. Bulic. And to make it more efficient error correction is done using recursive logic. In such a way, the error correction can be done almost in parallel (actually this is achieved through pipelining) with the basic multiplication and The hardware solution involves adders and shifters, so without much gates are involve it is less area and power consuming .…

    • 4402 Words
    • 18 Pages
    Powerful Essays