Timing Diagram

Thread Starter

ra1ph

Joined Jan 5, 2010
31
Hi,

Would like if someone could look at the attached image and tell me how I am doing in attempting to answer the question. I have filled out A and B and started OUT


Thanks
 
Last edited:

Georacer

Joined Nov 25, 2009
5,182
You already have done a mistake. The JK FF is positively triggered (as indicated by the lack of a dot in the input of its clock). That means it will change state only when its clock goes from LOW to HIGH. As a result, the JK FF will have half the frequency in its changes than the D FF.
You have made it change state when the clock goes from HIGH to LOW too, which is wrong.

When you plot the outputs of the FFs correctly, just combine them with Din as the gates indicate and get the OUT signal.
 

Thread Starter

ra1ph

Joined Jan 5, 2010
31
Thanks, I see where I went wrong for the JK FF. Still a bit unsure for OUT. I have attempted it though,

 

Georacer

Joined Nov 25, 2009
5,182
You are correct so far. Continue to draw the output.
I remind you that the formula is \((A \cdot D_{in})+(B \cdot \bar{D_{in}})\).
 

Georacer

Joined Nov 25, 2009
5,182
Not quite. U2 toggles off A', so B changes state when A goes low.
Ouch! Thanks for the correction Ron_H.

What Roh_H says is that since we said that the JK FF is positively triggered, it will change state at a transition from LOW to HIGH. But! Since that signal comes from Q' of the D FF, that transition will happen when A signal goes from HIGH to LOW.

The correction to be done is do shift the B signal by left by one tick... and do all the calculation for the gates from the begining.

I appologize again for the trouble.
 

Thread Starter

ra1ph

Joined Jan 5, 2010
31
Thanks for the intervention; So how is it looking now. Such a simple problem giving me a lot of hassle...

 
Last edited:
Top