- Asked 5/22
- 2080 Bhadra · 5 marks
- 2080 Baisakh · 5 marks
Full adder using a single 1:4 DEMUX
Short answer
A 1:4 DEMUX with data=1 and selects A,B acts as a 2-to-4 decoder giving minterms Y0–Y3. Sum S = (Y1 OR Y2) XOR Cin, carry Cout = Y3 OR ((Y1 OR Y2) AND Cin). Requires one OR, one XOR, one AND, and one OR gate.
Realize a full-adder circuit using a single 1:4 demultiplexer and necessary logic gates.
A 1:4 demultiplexer with its data input tied to logic 1 behaves as a 2-to-4 decoder: with on the select lines, each output is one minterm of and . The third input is then combined with these outputs using a few gates.
Truth table of the full adder
| A | B | S | ||
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |
Expressing S and in terms of the DEMUX outputs
With , and data input :
From the table, grouping by :
| AB | DEMUX output | S | |
|---|---|---|---|
| 00 | 0 | ||
| 01 | |||
| 10 | |||
| 11 | 1 |
(Here .)
Circuit
+----------+
1 --->| D Y0 |-- (not used)
| 1:4 Y1 |--+
A --->| S1 Y2 |--+--[OR]--- P (= A xor B)
B --->| S0 Y3 |------------ Y3
+----------+
P, Cin ---[XOR]-------------------- S
P, Cin ---[AND]--- P.Cin --+
Y3 -------------------------+--[OR]-- Cout
Gates needed: one 2-input OR (), one XOR (), one AND () and one OR ().
Check: for : , , so and , i.e. . Correct.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Full subtractor using a 1:4 DEMUX · Digital Logic, chapter 4 · asked 6×
- Full adder using a single 4:1 MUX · Digital Logic, chapter 4
- Full adder using a 2×4 decoder · Digital Logic, chapter 4 · asked 2×
- Full adder using decoder; (57−43) by 2's complement · Digital Logic, chapter 4
- Decoder; 2-to-4 decoder as a full adder · Digital Logic, chapter 4
- Full adder using 4:1 multiplexers · Digital Logic, chapter 4
- 2-bit fast adder; full subtractor from half subtractors · Digital Logic, chapter 5
- Short note: Logic gates · Basic Electrical and Electronics Engineering, chapter 3
- VHDL models; full adder structural · Embedded System, chapter 9
- VHDL PROCESS; full adder with half adders · Embedded System, chapter 9
- Choppers; single-phase full bridge inverter · Advanced Electronics, chapter 7 · asked 2×