Combinational Circuits
- 4 BIT RC Adder

4 BIT RC Adder

Syntax

4BIT_RC_ADDER {[Subcircuit-label-n] [label-n]}
# Where, the Subcircuit labels are 
# A3-A0, B3-B0, S3-S0, C_IN, C_OUT

Example

4BIT_RC_ADDER A3 a3 B3 b3 A2 a2 B2 b2 A1 a1 
B1 b1 A0 a0 B0 b0 S3 s3 S2 s2 S1 s1 
S0 s0 C_IN c1 C_OUT c2 
# (A0-A3): Augend bits, (B0-B3): Addend bits, (S0-S3): Sum bits, 
# C_IN: Input Carry, C_OUT: Output Carry

4-Bit Ripple Carry Adder. Consists of 4 sections of Full Adders connected in a carry-ripple fashion. Receives Addend and Augend bits with Input carry.