In digital electronics, a combinational circuit is a fundamental building block whose outputs depend only on the current combination of inputs. Unlike sequential circuits, which depend on past inputs or stored states (memory), combinational circuits produce their result instantaneously (ignoring propagation delay). This makes them essential for tasks where immediate decision-making based on input is necessary.
Two important types of combinational circuits are multiplexers and decoders. While both deal with binary inputs and outputs, their functions differ:
These devices are widely used in communication systems, memory addressing, data routing, and display technologies. Understanding their operation is crucial for designing efficient digital systems and solving competitive exam problems.
At the heart of combinational circuits is combinational logic, where the output is a direct function of the current inputs only. The circuits contain logic gates - fundamental elements that perform basic logical operations such as AND, OR, and NOT.
To analyze and design these circuits, truth tables and Boolean algebra are indispensable tools:
Below is a schematic illustrating the most commonly used gates with their truth tables:
A multiplexer, often called a MUX, is a combinational circuit that selects one input from many inputs and forwards it to the output based on control signals called select lines. Think of a multiplexer as a multi-way switch in your home that connects exactly one input device to an output line at a time, determined by the position of the switch.
The n-to-1 multiplexer has:
The output Boolean expression of an n-to-1 MUX can be written as:
The output \(Y\) of a 4-to-1 MUX with inputs \(D_0\) to \(D_3\) and select lines \(S_1\), \(S_0\) is given by the equation:
This Boolean expression shows that only one term is true at a time, depending on the select input combination, ensuring only the selected data input passes to the output.
Step 1: Write the truth table for the output \(Y\) based on select inputs:
| S1 | S0 | Selected Input \(D_i\) |
|---|---|---|
| 0 | 0 | \(D_0\) |
| 0 | 1 | \(D_1\) |
| 1 | 0 | \(D_2\) |
| 1 | 1 | \(D_3\) |
Step 2: Write the Boolean expression using the select lines:
\[ Y = D_0 \overline{S_1} \overline{S_0} + D_1 \overline{S_1} S_0 + D_2 S_1 \overline{S_0} + D_3 S_1 S_0 \]
Step 3: Implement using basic gates:
Answer: The 4-to-1 MUX is designed by combining NOT, AND, and OR gates as shown above, implementing the Boolean expression.
A decoder is a combinational circuit that converts binary information from n input lines into a maximum of \(2^n\) unique output lines. Essentially, the decoder activates exactly one output line corresponding to the binary input value, often called a one-hot output. This is analogous to decoding a PIN to open only one lock among many.
Common decoders include the 2-to-4 and 3-to-8 line decoders:
The output of a decoder can be expressed using the formula:
The outputs are mutually exclusive - only one output line is active (1) for each valid input combination.
Step 1: Identify all input combinations for 2 inputs:
Step 2: For each input, one output line is active (logic 1) corresponding to the binary value:
| \(A_1\) | \(A_0\) | \(Y_0\) | \(Y_1\) | \(Y_2\) | \(Y_3\) |
|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 | 0 | 1 |
Answer: The truth table above shows the one-hot output lines activated according to the input binary code.
Step 1: Understand the problem - 3 bits input selects a digit from 0 to 7, enabling one decoder output at a time.
Step 2: Note the segments labeled a to g (7 segments). Each digit lights some combination of these segments.
(Segment labels a to g)
Step 3: Prepare a table mapping the 3-bit input (decoder output) to segments for digits 0 to 7:
| Decimal | Binary | Decoder Output | Segments ON |
|---|---|---|---|
| 0 | 000 | Y0 | a b c d e f |
| 1 | 001 | Y1 | b c |
| 2 | 010 | Y2 | a b d e g |
| 3 | 011 | Y3 | a b c d g |
| 4 | 100 | Y4 | b c f g |
| 5 | 101 | Y5 | a c d f g |
| 6 | 110 | Y6 | a c d e f g |
| 7 | 111 | Y7 | a b c |
Step 4: Use additional logic gates to combine decoder outputs and drive relevant segments. For instance, segment 'a' is ON for digits 0, 2, 3, 5, 6.
Step 5: Write Boolean expressions for each segment based on decoder outputs. For example, segment 'a' logic is:
Answer: By combining decoder outputs with OR gates corresponding to each segment's required digits, a 3-to-8 decoder drives a 7-segment display effectively.
Step 1: Recognize this is already minimal logically but can be checked with K-map for confirmation.
Step 2: Draw K-map for variables \(S_1, S_0\) with values being \(D_i\), showing the output \(Y\). The MUX output function selects \(D_i\) based on \(S_1S_0\) address.
Step 3: Observing the map, each output depends only on data inputs when select lines match. No further simplification reduces gate count without changing MUX function.
Step 4: The minimized expression remains:
Answer: The original multiplexer output expression is already optimized, reflecting one active data input selected by two control bits.
Step 1: Identify gate levels in the MUX circuit:
Step 2: Add delays in series (the longest path):
Total delay = NOT gate delay + AND gate delay + OR gate delay
Step 3: Calculate:
Total delay = 10 ns + 10 ns + 10 ns = 30 ns
Answer: The propagation delay of the 4-to-1 multiplexer is 30 nanoseconds.
When to use: To quickly and visually minimize logical expressions for multiplexers and decoders, reducing gate count.
When to use: When designing or debugging decoders to ensure only one output is high at a time, avoiding output conflicts.
When to use: To map select input patterns directly to data input selection, simplifying design and troubleshooting.
When to use: For propagation delay or frequency calculations, always use nanoseconds, microseconds, or MHz for uniformity and accuracy in exams.
When to use: During validation, ensure each output corresponds uniquely to input combinations to avoid overlaps.
Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.
Go to practice →