



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Department of Electrical Engineering and Computer Science
Fall 2000
D transitions too close to the falling edge, and the high value is not latched. The D input is seen only after another falling edge occurs.
(b) Modify the design of the flip-flop to make it positive edge-triggered. Include a timing waveform that illustrates how your flip-flop implementation works.
(c) Add to the negative edge-triggered flip-flop the inputs R (Reset) and S (Set). When the former is asserted, independent of the clock, the flip-flop state is forced to zero. When Set is asserted, the state is forced to one.
(d) Modify your answer to part (c) so that the Rest and Set input only take effect on the falling edge of the clock.
An RS latch is made of two NOR gates that hold state when the inputs are 0. If Set transitions to 1 then it gets set. If it subsequently transitions back to 0 it is still set at 1. If the Set glitches and jumps to 1 and then back to 0 quickly the 1 will still be held by the latch. It catches the one even though it may be a quick transition.
A flipflop may catch zeros if it is made of NAND gates where 1’s will make the latch hold state and a zero will set the latch. If there is a glitch, the latch may catch a zero, therefore it is possible for a Master-Slave flip-flop to do “zeros catching.”
The timing diagram shown below shows the circuit’s behavior:
4a) Q+ = Q XOR T
Q T Q+ 0 0 0 0 1 1 1 0 1 1 1 0
4b) JK: T = JQ’ + KQ
J K Q Q+ T 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 1 0 1 1 0 0 1 1 1 0 1 1 0 1 1 0 1 1 1 1 1 0 1