Electrical – Full adder using DEC 2/4

circuit-designdecoderdigital-logic

I want to design a full adder of one bit numbers using 2/4 Decoders and NOR gates.

I have the truth table: enter image description here

Now, what's confusing me are the inputs and outputs. The inputs for one DEC would be A and B, right? What do I do with Cin and Cout? Everything goes into the NOR gate and there's S, but how to get there?

Best Answer

If you are constrained to use decoders and NOR gates, the logic is a whole lot simpler if you redefine the carry inputs and outputs to be active-low instead of active-high. I'll present a solution based on this, and maybe it will provide some insight to your original problem.

schematic

simulate this circuit – Schematic created using CircuitLab

Actually, it only requires one additional gate to make them active-high, but I'll leave that as an exercise for the reader.