GATE / CS ARCHIVE

GATE CSE 2003 / QUESTION 47

Transitions through cascaded delayed XOR gates

Digital Logic · Counters & Timing · Full GATE CSE 2003 paper

GATE 2003, Q47 2 marks · MCQ
Report issue

Counters & Timing

Question 47, GATE 2003: Two zero-delay XOR gates are cascaded. The first receives A directly and A through a non-inverting buffer delayed by 2 ns. Its output X feeds the second XOR directly and through a non-inverting buffer delayed by 4 ns. All wires/gates except those buffers have zero delay, and every signal is initially 0. A rises from 0 to 1 at t=1 ns and stays 1. How many transitions occur at the final output B from t=0 to 10 ns?
A. 1  B. 2  C. 3  D. 4
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

1. Before 1 ns both first-XOR inputs are 0. At 1 ns its direct input rises, but its delayed input stays 0 until 3 ns. Therefore X is 1 exactly on [1,3).
2. The 4 ns delayed copy of X is 1 on [5,7). The second XOR is high when exactly one copy is high, so B is high on those two nonoverlapping intervals.
3. List the changes: 0→1 at 1 ns, 1→0 at 3 ns, 0→1 at 5 ns, and 1→0 at 7 ns. There are four, giving D.

Solution: Let A(t) rise once at t=1 ns. The first XOR output is A(t) XOR A(t−2), a pulse on [1,3). The second output XORs this pulse with its copy delayed by 4 ns. The copies occupy [1,3) and [5,7), so they do not overlap and the output changes at 1,3,5,7 ns. There are four transitions in the stated interval, option D.

Original paper, page 6