Related Concepts: 5.02 Code Converters & Data Routing Implementations | 5.03 Tree Networks (Cascading MUX, Decoders & DeMUX) | 5.04 Programmable Logic Devices (ROM & PLA)

5.06 Combinational Hardware Edge Cases & Logic Synthesis

Hardware Restrictions & Synthesis

Advanced exam questions test your ability to synthesize functions into restricted hardware architectures {such as designing a MUX using ONLY NAND gates or expanding unsimplified equations for a Decoder}.


1. Design a 4-to-1 MUX using ONLY NAND Gates

Major PYQ Problem (2018 - 10 Marks)

Question: Design a 4-to-1 line multiplexer using NAND gates.

Solution:

  1. MUX SOP Equation:
  2. NAND-NAND Transformation:
  3. Circuit Construction:
    • Two 2-input NAND gates (inputs tied) to produce and .
    • Four 3-input NAND gates in Level 1.
    • One 4-input NAND gate in Level 2.

2. Multi-Equation Decoder Implementation

Major PYQ Problem (2016, 2017, 2019, 2020 - 12 Marks)

Question: Design a circuit using a 3-to-8 decoder and external OR gates for:

Canonical Minterm Expansion Solution:

  1. Expand :

  2. Expand :

  3. Expand :

Circuit Implementation:

  • Connect inputs to a 3-to-8 decoder.
  • : Wire decoder pins 0, 1, 6 into a 3-input OR gate.
  • : Wire decoder pins 0, 1, 2, 3, 6, 7 into a 6-input OR gate (or pins 4, 5 into a 2-input NOR gate).
  • : Wire decoder pins 0, 1, 6, 7 into a 4-input OR gate.

3. Combinational Circuit Analysis Blueprint

Combinational circuit analysis is the reverse-engineering process of determining the logical function of an existing gate-level schematic.

3.1 The 4-Step Analysis Algorithm

  1. Label Intermediate Outputs: Assign distinct algebraic variables (e.g., ) to all intermediate gate output lines that are not connected directly to the primary inputs.
  2. Write Intermediate Boolean Equations: Starting from the input side and moving towards the output, write the Boolean expression for each intermediate labeled node.
  3. Formulate Output Equations: Derive the final Boolean equations for the primary circuit outputs in terms of the primary inputs.
  4. Construct the Truth Table:
    • List all binary input combinations.
    • Evaluate the intermediate and final equations for each input state to fill in the outputs.
    • Analyze the truth table or algebraically simplify the output equations to identify the circuit’s overall function (e.g., Adder, Comparator, Decoder).

Worked Example: Logic Circuit Analysis

Question: Analyze the logic circuit with inputs and outputs .

  • (Output of AND gate 1)
  • (Output of OR gate 2)

Truth Table Construction:

A B CT1 (AB)T2 (A+C)F1 (T1 ⊕ C)F2 (T2 • B’)
0 0 00000
0 0 10111
0 1 00000
0 1 10110
1 0 00101
1 0 10111
1 1 01110
1 1 11100

Simplified Output Equations:


4. Past Year Questions (PYQs)

PYQ Index for this note

Question (as asked)YearsMarksSolved in
Design a 4-to-1 line multiplexer using NAND gates201810§1
A combinational circuit is defined by , , . Design the circuit with a decoder and external gates2016, 2017 (12), 2020 (10)10–12§3, and 5.02 Code Converters & Data Routing Implementations §5.1

Pattern to notice: the decoder-with-three-functions question has appeared three times with identical functions. The trap is that , and arrive unsimplified — and you must not simplify them. A decoder supplies raw minterms, so the correct move is to expand each expression outwards into its full minterm list, then OR the corresponding pins. Simplifying first actively destroys the structure the question wants.

For circuit-analysis questions (“here is Fig. 2(b)/2(c) — find ”), see 4.07 Logic Analysis, Switching Circuits & Positive-Negative Logic §3, where the six-paper run of those questions is indexed.