Combinational Circuits
- Half Adder

Half Adder

Syntax

FULL_ADDER {[Subcircuit-label-n] [label-n]}
Where, the Subcircuit labels are A, B, S, and C
All Subcircuit labels are mandatory
Order is arbitrary

Example

HALF_ADDER A a B b S s C c 
# A: Augend bit, B: Addend bit, S: Sum Bit, C: Input carry

Performs binary addition of an Augend bit with an Added bit and generates Sum bit and Carry.