GATE / CS ARCHIVE

GATE CSE 2007 / QUESTION 34

Universal function realization with one mux

Digital Logic · Combinational Circuits · Full GATE CSE 2007 paper

GATE 2007, Q34 2 marks · MCQ
Report issue

Combinational Circuits

Question 34, GATE 2007: Only one multiplexer and one inverter may implement an arbitrary Boolean function of n variables. What is the minimum universal multiplexer size?
Options:
(A) 2^n-to-1
(B) 2^(n+1)-to-1
(C) 2^(n−1)-to-1
(D) 2^(n−2)-to-1
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

1. Approach. Shannon expansion fixes selector variables and leaves a cofactor at each data input. If one variable remains, its only four Boolean functions are 0,1,x,x′, all available with constants, a wire and one inverter.

2. Derivation and interpretation. Use n−1 variables as selector bits of a 2n−1-to 1 multiplexer. For each selector assignment the remaining one-variable function is 0,1,x or x′, so a single shared inverter suffices. A smaller selector set leaves at least two variables; some cofactors, such as two-variable parity, cannot be supplied by a constant, a wire or one inversion. Thus the universal size under direct-variable selector wiring is 2n−1:1, C.

Original paper, page 7