4-bit adder from components (144 MOSFETs)
Four full adder components with a carry chain.
Open in the simulatorNo account needed: press Simulate and it runs.
How it works
The full adder as its own component (ports A, B, Cin, S, Cout), used four times with a carry chain. Switches A0–A3 / B0–B3 = two 4-bit numbers, LEDs = sum (S0 = least significant bit) + carry. Preset to 5 + 6 = 11. Click a component → "Open internals".
Wiring
Each line is one connection (net) and the pins it joins.
| Net | Pins |
|---|---|
| GND | D_C4 KD_S0 KD_S1 KD_S2 KD_S3 KR_A0 2R_A1 2R_A2 2R_A3 2R_B0 2R_B1 2R_B2 2R_B3 2V1 − |
| VDD | SW_A0 1SW_A1 1SW_A2 1SW_A3 1SW_B0 1SW_B1 1SW_B2 1SW_B3 1V1 + |
| A0 | R_A0 1SW_A0 2 |
| A1 | R_A1 1SW_A1 2 |
| A2 | R_A2 1SW_A2 2 |
| A3 | R_A3 1SW_A3 2 |
| B0 | R_B0 1SW_B0 2 |
| B1 | R_B1 1SW_B1 2 |
| B2 | R_B2 1SW_B2 2 |
| B3 | R_B3 1SW_B3 2 |
Parts
- Resistor× 13
- Switch× 8
- LED× 5
- DC voltage