CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/Combinational Logic

Full Adder from Half Adders

EasyLogic CircuitBuildFree

Arithmetic logic units and digital multipliers rely on chained addition stages to process multi-bit data. The fundamental unit of these chains combines two data bits and an incoming carry bit to produce a sum and an outgoing carry.

Implement full addition logic for inputs A, B, and Cin to produce outputs Sum and Cout according to the following truth table:

| A | B | Cin | Sum | 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 |

Constraints

  • Construct the circuit using exactly two Half Adder blocks and one OR gate.
  • Do not use discrete logic gates to implement the sum or initial carry generation logic.

Topics

AdderArithmeticHierarchical Design

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

Free to solve. A Codiode account keeps your progress.

Sign in to solve

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Related problems

  • Binary to HexEasy
  • 1-to-4 Demultiplexer from AND and NOT GatesEasy
  • Odd Parity Bit Generator for 3-bit DataEasy
  • Hex Nibble to BinaryEasy
  • 2-to-4 Line Decoder with Active-High EnableEasy
  • Modulo ArithmeticMedium
  • Two's Complement: Encode a Negative DecimalEasy
  • BCD Addition with Carry CorrectionMedium

Browse all problems · Learning tracks