Digital Electronics
Comprehensive exam revision notes for BCA-108N Unit 3 (Arithmetic Circuits & Combinational Logic Design). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.
Digital Electronics
Arithmetic Circuits & Combinational Logic Design
Core Definitions & Key Concepts
A Combinational Logic Circuit
A circuit whose output at any instant depends strictly and exclusively on the present combination of input variables, having zero memory elements or feedback loops.
Give the Boolean expressions for Sum and Carry of a Half Adder
Sum (S) = A ⊕ B = A'B + AB'Carry (C) = A * B
Give the Boolean expressions for Sum and Carry-out of a Full Adder
Sum (S) = A ⊕ B ⊕ CinCarry-out (Cout) = AB + BCin + ACin = AB + Cin(A ⊕ B)
How many Half Adders and OR gates are required to construct a Full Adder
Two Half Adders and one OR gate (the carries of both half adders are ORed together to form the final carry-out).
What is the primary advantage of a Look-Ahead Carry Adder over a Ripple Carry Adder
In a ripple carry adder, each full adder stage must wait for carry propagation from the previous stage, yielding O(n) delay. A Look-Ahead Carry Adder generates carries simultaneously using generate (G = AB) and propagate (P = A ⊕ B) logic, reducing delay to constant O(1).
A Multiplexer (MUX) and write the relation between data inputs and select lines
A MUX (Data Selector) routes one of 2^n input data lines to a single output line based on the bit pattern applied to n select lines: Inputs = 2^n, Select Lines = n.
What is a Demultiplexer (DEMUX)
A circuit that takes a single input data line and routes it to one of 2^n output lines based on n select control lines (the inverse of a multiplexer).
An Encoder and a Priority Encoder
- Standard Encoder: Converts
2^ninput lines tonbinary output lines; assumes only one input is active at any time. - Priority Encoder: Multiple inputs can be active simultaneously; the output binary code corresponds to the active input with the highest priority.
Conceptual & Architectural Analysis
Design a Full Subtractor using basic logic gates (Truth table, K-maps, Equations, Circuit)
1. Truth Table (Inputs: A, B, Bin; Outputs: Difference D, Borrow Bout)
| A | B | Bin | D | Bout |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 0 |
| 1 | 1 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 | 1 |
2. Boolean Equations
- Difference:
D = A ⊕ B ⊕ Bin - Borrow-out:
Bout = A'B + A'Bin + BBin = A'B + Bin(A ⊕ B)'
Can be implemented using two Half Subtractors and one OR gate.
Implement the Boolean function F(A, B, C) = Σ m(1, 3, 5, 6) using an 8:1 Multiplexer and a 4:1 Multiplexer
1. Implementation using 8:1 MUX
Connect inputs A, B, C to select lines S2, S1, S0. Connect minterm data lines I1, I3, I5, I6 to Logic 1 (Vcc), and lines I0, I2, I4, I7 to Logic 0 (Ground).
2. Implementation using 4:1 MUX (Inputs A, B on Select Lines S1, S0)
| AB | C=0 | C=1 | MUX Input Line |
|---|---|---|---|
| 00 (0,1) | 0 | 1 | I0 = C |
| 01 (2,3) | 0 | 1 | I1 = C |
| 10 (4,5) | 0 | 1 | I2 = C |
| 11 (6,7) | 1 | 0 | I3 = C' |
Inputs to 4:1 MUX: I0 = C, I1 = C, I2 = C, I3 = C', with select lines S1 = A, S0 = B.
In-Depth Analysis & Implementation
Decoders in detail. Design a 3-to-8 Line Decoder with Enable input using truth table and logic gates, and demonstrate how to construct a 4-to-16 Line Decoder using two 3-to-8 Decoders
1. 3-to-8 Line Decoder Architecture
A 3-to-8 decoder activates one of 8 output lines (Y_0 to Y_7) corresponding to the 3-bit binary input (A, B, C) when Enable (E) is asserted active-high. Equations: Y_0 = E \cdot A' B' C', \quad Y_1 = E \cdot A' B' C, \quad \dots, \quad Y_7 = E \cdot A B C
2. Construction of 4-to-16 Decoder using Two 3-to-8 Decoders
A 4-to-16 decoder has 4 input variables (w, x, y, z).
- Connect the 3 lower-order bits (x, y, z) in parallel to inputs (A, B, C) of both 3-to-8 decoders.
- Connect the most significant bit (w) to control the Enable inputs:
- For the First Decoder (Outputs 0 to 7): Connect w through a NOT gate to Enable E_1 (E_1 = w'). When w = 0, Decoder 1 is active.
- For the Second Decoder (Outputs 8 to 15): Connect w directly to Enable E_2 (E_2 = w). When w = 1, Decoder 2 is active.
w (MSB)
| |
| +---[ NOT ]---> E1 [ 3-to-8 Decoder 1 ] ---> Y0 to Y7
+----------------> E2 [ 3-to-8 Decoder 2 ] ---> Y8 to Y15
x, y, z ======> (A, B, C inputs of both decoders)Important Exam Points & Quick Revision
In BCA-108N Unit 3, Full Adder circuit design from two Half Adders, 8:1 MUX implementation of a Boolean function, and Decoder tree expansion (3-to-8 to 4-to-16) are the top 3 university exam questions.
100% left on this page — finishing it closes the gap for Arithmetic Circuits & Combinational Logic Design.
Arithmetic Circuits & Combinational Logic Design still counts as a weak topic until you finish this note and answer its questions.
Practise this unitTest Your Understanding
Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.