Home / Learn Verilog / BCD Adder
BCD Adder
Add decimal digits in binary.
Bottom lineAdd decimal digits in binary.
Breaking it down
Definition
If a 4-bit sum exceeds 9, add 6 and carry.
Why you need this
Decimal calculators and meters.
How it works
Correct after binary addition.
Where you'll see this
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
BCD addVerilog: edit and run
7+8=15 shown as digits 1 and 5.
Test what you just read
1. BCD correction adds...
Skips the 6 unused codes.