ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCC-110Adder Design
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    CC-110

    Digital Logic Design

    Progress0 / 63 done
    Topics63
    1Introduction to Digital Systems2Number Systems3Introduction to Boolean Algebra4Basic theorems and properties of Boolean Algebra5Boolean Functions6Logic Gates7NAND and NOR Implementation8Representation of Function in Sum of Minterms or Product of Maxterms9Simplification of Boolean function using Karnaugh Map10Don't care Conditions11The Tabulation Method12Introduction to Combinational Logic13Design of Adders14Design of Subtractors15Code Convertors16Analysis Procedure of Combinational Circuits17Binary Parallel Adders18Decimal Adders19Magnitude Comparator20Decoders and its applications21Multiplexers22Demultiplexers23Encoders24ROM25Programmable Logic Array (PLA)26Introduction to Sequential Circuits27Basic Flip Flop28Clocked RS Flip Flop29Clocked D Flip Flop30Clocked JK Flip Flop31Clocked T Flip Flop32Analysis of Clocked Sequential Circuits33State Reduction and Assignment34Flip Flop Excitation tables35Design Procedure36Design of Counters37Design with State Equations38Introduction to Registers39Shift Registers40Ripple Counters41Synchronous Counters42Timing Sequences43Memory Unit44Random Access Memory45Introduction to Programmable Logic Devices (CPLD, FPGA)46Lab Assignments using tools such as Verilog HDL/VHDL, MultiSim47Familiarization with Digital Electronic Trainer48Logic gates operations49Half Adder Operation50Full Adder Operation51Half Subtractor Operation52Full Subtractor Operation537-Segment Display Operation54Decoder Operation55BCD To 7-Segment Display56Multiplexer Operation57Using Multiplexer and Demultiplexer/Decoder58Multiplexing 7-Segment Displays59Comparator Operations60D Latch and Flip-Flop Operation61Latching BCD Data for Displaying On 7-Segment Display62JK Flip-Flop Operation63Random Access Memories
    6 min read
    Topic 13 of 63
    Topic Study Note Illustration
    13

    Design of Adders

    Adders are essential components in digital systems, especially for arithmetic operations like addition. In digital circuits, an adder is a combinational logic circuit used to add binary...

    Design of Adders in Digital Logic

    Adders are essential components in digital systems, especially for arithmetic operations like addition. In digital circuits, an adder is a combinational logic circuit used to add binary numbers. The design of adders is fundamental in building larger systems such as processors, ALUs (Arithmetic Logic Units), and digital signal processors. There are several types of adders, each serving specific purposes based on the number of bits and required functionalities.

    Types of Adders

    1. Half Adder (HA)
    2. Full Adder (FA)
    3. Ripple Carry Adder (RCA)
    4. Carry Lookahead Adder (CLA)
    5. Binary Coded Decimal (BCD) Adder

    We'll dive deeper into these adders, starting with the basic ones.


    1. Half Adder (HA)

    Full adder
    Visual ReferenceFull Adder
    Wikipedia

    A half adder is the simplest adder circuit, which adds two single-bit binary numbers. It produces a sum and a carry output. A half adder does not take into account any carry input from a previous stage, hence the term "half."

    Truth Table for Half Adder:

    A B Sum (S) Carry (C)
    0 0 0 0
    0 1 1 0
    1 0 1 0
    1 1 0 1

    Boolean Equations for Half Adder:

    • Sum: S=A⊕BS = A \oplus BS=A⊕B (XOR gate)
    • Carry: C=A⋅BC = A \cdot BC=A⋅B (AND gate)

    Circuit Diagram:

    • The sum is calculated using an XOR gate.
    • The carry is calculated using an AND gate.

    2. Full Adder (FA)

    A full adder is a more general adder than a half adder. It adds three input bits: two significant bits and a carry input from the previous stage. It produces a sum and a carry output.

    Truth Table for Full Adder:

    A B Carry_in (Cin) Sum (S) Carry_out (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

    Boolean Equations for Full Adder:

    • Sum: S=A⊕B⊕CinS = A \oplus B \oplus CinS=A⊕B⊕Cin (XOR gate)
    • Carry-out: Cout=(A⋅B)+(Cin⋅(A⊕B))Cout = (A \cdot B) + (Cin \cdot (A \oplus B))Cout=(A⋅B)+(Cin⋅(A⊕B)) (AND and OR gates)

    Circuit Diagram:

    • The sum is computed using an XOR gate (for A⊕BA \oplus BA⊕B) followed by another XOR gate (for (A⊕B)⊕Cin(A \oplus B) \oplus Cin(A⊕B)⊕Cin).
    • The carry-out is computed using AND and OR gates as per the Boolean equation.

    3. Ripple Carry Adder (RCA)

    A ripple carry adder is a series of full adders chained together. The output carry of each full adder is connected to the carry input of the next full adder. Although simple to design, it is slow because the carry must "ripple" through each stage.

    Design and Operation:

    • If you're adding two nnn-bit numbers, you'll need nnn full adders, where each adder handles one bit of the two numbers and the carry from the previous stage.
    • The carry from the last bit is the carry-out of the entire adder.

    Speed Consideration:

    • The major disadvantage of the ripple carry adder is that it can be slow because the carry bit must propagate through all the stages. The time it takes for the carry to propagate through all the bits is the delay for this adder.

    4. Carry Lookahead Adder (CLA)

    The carry lookahead adder improves on the ripple carry adder by speeding up the carry generation process. It uses additional logic to predict the carry outputs, rather than waiting for the carry to propagate bit by bit.

    Carry Generation:

    • The key idea is to calculate the propagate and generate signals for each bit:

      • Propagate (PiP_iPi​): Pi=Ai⊕BiP_i = A_i \oplus B_iPi​=Ai​⊕Bi​
      • Generate (GiG_iGi​): Gi=Ai⋅BiG_i = A_i \cdot B_iGi​=Ai​⋅Bi​
    • Using these signals, the carry for each bit can be calculated directly without waiting for the previous carry bit to propagate.

    Carry Lookahead Logic:

    The lookahead logic reduces the carry propagation delay by determining all the carries in parallel.

    Speed Advantage:

    The CLA is faster than the ripple carry adder because it reduces the time required for the carry to propagate through all the bits. It does this by calculating carry values for all bits in parallel.


    5. Binary Coded Decimal (BCD) Adder

    A BCD adder adds two binary coded decimal numbers (each digit represented by a 4-bit binary number). It is used when working with decimal values, and the result of the addition must also be in decimal.

    BCD Addition Process:

    • In BCD, each decimal digit is represented by a 4-bit binary number.
    • If the result of an addition exceeds 9 (1001 in binary), a correction is needed. The correction can be done by adding 6 (0110 in binary) to the result to convert it back into valid BCD format.

    Design:

    • The BCD adder uses a full adder for the binary addition, and additional logic to detect when the result exceeds 9, adding 6 if necessary.

    Applications of Adders:

    Adders are used in numerous digital applications, including:

    1. Arithmetic Units: Adders are essential components of arithmetic logic units (ALUs) in processors.
    2. Digital Signal Processing: In DSP systems, adders are used to perform various arithmetic operations.
    3. Multiplication and Division: Adders are used in the hardware design of multipliers and dividers.
    4. Counters: Adders are used in counters for incrementing binary values.

    Conclusion:

    Adders are crucial components of digital systems and form the foundation for building more complex arithmetic operations. From simple half adders to more complex carry lookahead adders, these circuits enable fast and efficient binary addition. The design of adders directly impacts the speed and efficiency of digital systems, especially in processors and arithmetic units. Understanding the different types of adders and their respective advantages allows for the optimization of digital circuits in various applications.

    ← Previous topic 12
    Introduction to Combinational Logic
    Next topic 14 →
    Design of Subtractors

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    6mremaining
    1.1kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Digital Logic Design