GATE / CS ARCHIVE

SIMILAR QUESTIONS / DIGITAL LOGIC

Trace reconvergent signal-delay glitches

2 questions solved the same way, newest first. Back to Digital Logic

How these are solved

Propagate each input transition along paths with their delays, compare arrival times at the reconverging gate, and determine the transient output interval/polarity. Event timing on explicit reconvergent paths; excludes static hazard-free cover synthesis.

1 mark · MSQ
Report issue

A propagation-delay glitch in X AND NOT X

Combinational Circuits

Question 28, GATE 2024: Input X branches directly to one input of an AND gate and through a NOT gate to the other; the AND output is Y. Wires have no delay and signal edges are instantaneous; gates may have delays. Which claims are correct? A With zero delays Y is always 0. B With zero delays Y is always 1. C With delays a 0→1 change of X can cause a brief 1 at Y. D With delays a 1→0 change of X can cause a brief 0 glitch at Y.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: A, C

Approach: Distinguish the stable Boolean function from the timing behavior of two unequal signal paths.
1. With no delays, the two AND inputs are X and its exact complement. Their product is X·NOT X=0 for both X=0 and X=1. Therefore A is true and B is false.
2. Just before X rises, the inputs are (0,1). The direct input changes immediately to 1, but the inverter's output can remain 1 until its propagation delay expires. During that interval the AND sees (1,1).
3. If this overlap is long enough to propagate through the AND gate, Y briefly becomes 1 before returning to 0. The word “can” allows this timing condition; C is true, without claiming every pulse survives an inertial gate delay.
4. When X falls, the direct input becomes 0 immediately. The other input later rises from 0 to 1, but at no point are both 1. Y's stable level is already 0, so an interval at 0 is not a negative glitch.
Answer: A and C.

Original paper, page 18 · Answer key

2 marks · MCQ
Report issue

Transitions through cascaded delayed XOR gates

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