ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Digital Logic Design
    CC-110
    Progress0 / 63 topics
    Topics
    1. Introduction to Digital Systems2. Number Systems3. Introduction to Boolean Algebra4. Basic theorems and properties of Boolean Algebra5. Boolean Functions6. Logic Gates7. NAND and NOR Implementation8. Representation of Function in Sum of Minterms or Product of Maxterms9. Simplification of Boolean function using Karnaugh Map10. Don't care Conditions11. The Tabulation Method12. Introduction to Combinational Logic13. Design of Adders14. Design of Subtractors15. Code Convertors16. Analysis Procedure of Combinational Circuits17. Binary Parallel Adders18. Decimal Adders19. Magnitude Comparator20. Decoders and its applications21. Multiplexers22. Demultiplexers23. Encoders24. ROM25. Programmable Logic Array (PLA)26. Introduction to Sequential Circuits27. Basic Flip Flop28. Clocked RS Flip Flop29. Clocked D Flip Flop30. Clocked JK Flip Flop31. Clocked T Flip Flop32. Analysis of Clocked Sequential Circuits33. State Reduction and Assignment34. Flip Flop Excitation tables35. Design Procedure36. Design of Counters37. Design with State Equations38. Introduction to Registers39. Shift Registers40. Ripple Counters41. Synchronous Counters42. Timing Sequences43. Memory Unit44. Random Access Memory45. Introduction to Programmable Logic Devices (CPLD, FPGA)46. Lab Assignments using tools such as Verilog HDL/VHDL, MultiSim47. Familiarization with Digital Electronic Trainer48. Logic gates operations49. Half Adder Operation50. Full Adder Operation51. Half Subtractor Operation52. Full Subtractor Operation53. 7-Segment Display Operation54. Decoder Operation55. BCD To 7-Segment Display56. Multiplexer Operation57. Using Multiplexer and Demultiplexer/Decoder58. Multiplexing 7-Segment Displays59. Comparator Operations60. D Latch and Flip-Flop Operation61. Latching BCD Data for Displaying On 7-Segment Display62. JK Flip-Flop Operation63. Random Access Memories
    CC-110›Decimal Adders
    Digital Logic DesignTopic 18 of 63

    Decimal Adders

    6 minread
    1,046words
    Intermediatelevel

    Decimal Adders

    Decimal adders are circuits designed to perform addition on decimal (base-10) numbers. Unlike binary adders that operate on binary digits (bits), decimal adders are used when the numbers involved are in decimal (base-10) form. These are particularly important in applications where decimal arithmetic is required, such as in financial calculations, digital clocks, and calculators.

    Types of Decimal Adders

    There are primarily two types of decimal adders:

    1. BCD (Binary-Coded Decimal) Adder
    2. Decimal Adder with Carry Generation

    Let’s explore these two types in detail:


    1. BCD (Binary-Coded Decimal) Adder

    A BCD Adder is a digital circuit used to add two decimal digits, each represented by a 4-bit binary number (since each decimal digit can be represented using 4 bits). The BCD system uses a 4-bit binary representation for each decimal digit (0–9). This allows a system to work with decimal numbers while operating in binary logic.

    BCD Addition:

    When adding two decimal digits in binary form, the result may exceed the maximum BCD value of 9 (i.e., 1001 in binary). If the sum exceeds 9, a correction is needed to ensure that the result remains a valid BCD representation.

    • The BCD code for decimal digits is as follows:
    Decimal Digit BCD Representation
    0 0000
    1 0001
    2 0010
    3 0011
    4 0100
    5 0101
    6 0110
    7 0111
    8 1000
    9 1001
    • If the sum of two BCD digits exceeds 1001 (9 in decimal), a correction is made by adding 6 (binary 0110) to the result. This is because in BCD, numbers greater than 9 need to be adjusted to fit the valid range.

    BCD Adder Operation:

    • The basic procedure for a BCD adder is to add the corresponding BCD digits along with any carry from the previous addition. If the sum exceeds 1001 (decimal 9), a correction factor of 6 is added to the result. A carry is generated if the result of the addition exceeds 9.

    Example:

    Let’s add two decimal digits: 7 and 8 (in BCD format).

    1. Convert the decimal digits to BCD:

      • 7 in BCD = 0111
      • 8 in BCD = 1000
    2. Add the BCD digits:

      • 0111 (7) + 1000 (8) = 1111 (15 in decimal)
    3. Check if the sum exceeds 9:

      • The sum 1111 (15 in decimal) exceeds 9, so we need to adjust it.
      • Add 0110 (6 in decimal) to the result: 1111 + 0110 = 10101.
    4. Final BCD Result:

      • The result is 10101 (21 in decimal), but we keep only the lower 4 bits for the sum and carry the upper bit to the next addition stage.
      • The sum in BCD = 0001 (1 in BCD for the next decimal place) and the carry = 1.

    Thus, the BCD addition of 7 + 8 gives us 15 in decimal, represented as 0001 (for 1) and 0101 (for 5), with a carry to the next decimal place.

    BCD Adder Design:

    The BCD adder is designed by combining the following components:

    • A binary adder (such as a Full Adder).
    • A detection circuit that checks if the sum exceeds 1001.
    • A correction mechanism that adds 0110 (6 in decimal) when the sum exceeds 9 and generates a carry.

    BCD Adder Circuit:

    • Use a 4-bit binary adder to add the BCD digits.
    • A comparator checks if the sum is greater than 1001 (binary for 9).
    • If the sum exceeds 9, add 0110 and generate a carry.

    The circuit will thus be able to add BCD digits correctly, accounting for any values exceeding 9.


    2. Decimal Adder with Carry Generation

    In a Decimal Adder with Carry Generation, the process is similar to the binary addition, but the adder is designed to work with full decimal values instead of just binary digits.

    This type of adder is more commonly used in systems that work with multi-digit decimal numbers, such as financial systems, calculators, and digital watches. The adder performs addition by directly adding two decimal digits, managing carry generation, and ensuring that results are correctly handled.

    Steps in Decimal Addition:

    1. Add the decimal digits: The two decimal digits are first added together using binary addition.
    2. Handle carry: If the sum exceeds 9, a carry is generated to the next column (or next higher decimal place).
    3. Adjust sum: If the sum exceeds 9, a correction factor of 6 is added to ensure the sum is a valid decimal value.
    4. Carry to the next decimal place: Any overflow (carry from the previous stage) is propagated to the next stage.

    Example: Adding 85 + 72

    We will break the two numbers into their decimal digits and add them one column at a time.

    Step-by-Step Process:

    1. Add the units place: 5 + 2 = 7 (No carry needed)
    2. Add the tens place: 8 + 7 = 15. Since the sum exceeds 9, we add 6 to it:
      • 15 + 6 = 21. We take the lower 4 bits (0001 for the carry to the next stage) and the lower 4 bits (0101 for the sum in BCD format).
      • The result for the tens place is 0101 (representing the digit 5), and the carry to the next place is 1 (which will be added to the next column).

    The final sum is 157 in decimal (BCD representation: 0001 for 1, 0101 for 5, 0111 for 7).


    Key Points of Decimal Adders:

    • BCD Adders: These add two decimal digits (0-9) that are represented in binary format (each decimal digit takes 4 bits in BCD format). BCD adders account for the correction needed when the sum exceeds 9.
    • Carry Generation: Decimal adders ensure that carries are correctly generated and propagated to the next higher decimal place when the sum exceeds 9.

    Conclusion

    Decimal adders are essential when working with decimal numbers in digital systems, such as in calculators and financial systems. The most commonly used decimal adder is the BCD Adder, which handles the addition of binary-coded decimal numbers. By applying correction factors when the sum exceeds 9, BCD adders ensure that the results remain in the valid decimal range. Other types of decimal adders may be used in more advanced systems that require carry generation and propagation for multi-digit decimal numbers.

    Previous topic 17
    Binary Parallel Adders
    Next topic 19
    Magnitude Comparator

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time6 min
      Word count1,046
      Code examples0
      DifficultyIntermediate