GATE / CS ARCHIVE

GATE CSE 1991 / QUESTION 5(a)

Feedback majority circuit

Digital Logic · Flip-Flops, Registers & Sequential Circuits · Full GATE CSE 1991 paper

GATE 1991, Q5(a) 4 marks · Descriptive
Report issue

Flip-Flops, Registers & Sequential Circuits

Question 5(a), GATE 1991: Three two-input AND gates form aQ, ab and bQ; their outputs feed a three-input OR whose output Q is fed back to the first and third AND gates. Complete the output table for inputs ab=00,01,10,11, allowing for the prior stable output.
Tap to enlarge
Answer & solution

Answer: 00→0; 01→previous Q; 10→previous Q; 11→1. (no official key was published)

Denote the previously stable feedback value by Q_old. Reading each gate gives Q_new = aQ_old + ab + bQ_old. This is the majority function of a, b and Q_old, not a memoryless two-input gate.

For a=b=0 all three products vanish, so the circuit resets to 0. For a=0,b=1 only bQ_old remains, so the old output is retained. For a=1,b=0 only aQ_old remains, also retaining the old value. For a=b=1 the middle product ab forces 1 irrespective of the old state. Thus the requested table, in row order 00,01,10,11, is 0,Q_old,Q_old,1.

A connection schematic is: AND(a,Q) ┐; AND(a,b) ├→ OR → Q; AND(b,Q) ┘, with Q returned to the indicated inputs. This is a two-input Muller C-element: equal inputs update the state, unequal inputs hold it. Without an initial condition the held value cannot be replaced by a numerical zero or one. The table describes settled behavior and does not assert that arbitrary simultaneous input changes are hazard-free.

Original paper, page 5