EveryCircuit
Powering up...
Circuit
Public
Private
Unlisted
Save

4-bit adder with carry

@pifu
3 years ago
https://everycircuit.com/circuit/5499379668484096
4-bit integers sum/subtraction. N1 + N2: set the bottomright input bit to 0. Red led is ON if result exceeds 8 bits (carry bit). N1 - N2: set the bottomright input bit to 1. Red led is OFF if N2>N1 (borrow bit). In this example: 13 - 3 = 10.
Comments
Post