Positive-edge triggered JK flip-flop

Thread Starter

60remember

Joined Jul 6, 2013
4
Hello,

I'm trying to understand the attached schematic. It's supposed to be a positive-edge triggered JK flip-flop. As far as I know, it means that it's only reacting to commands during the positive-edge. So if there was a short jump command during CLK = 0 and Q = 0, nothing should happen - right?

However, the given schematic shows a positive-edge triggered JK flip-flop (made of D-flip flops). Now imagine Q = 0 and C = 0. Meanwhile a short J-command occurs. Wouldn't that mean: Immediately, the master-FF changes to 1? And as soon as C = 1, this state is passed to the slave?

I'm really confused, because this would mean you could change the flip-flip's state by sending a command during C = 0 - doesn't it?

Thanks in advance!
60remember
 

Attachments

LDC3

Joined Apr 27, 2013
924
What do you mean by "short jump command"? I don't understand.
Also, what do the symbols on the gates represent (≥1, &, 1)?
 

Thread Starter

60remember

Joined Jul 6, 2013
4
What I mean is a jump command, ending before there is an edge - the red one in this diagram. I'm not sure how Q is going to behave: Green is what I would actually expect from a JK-FF, orange is what I would guess this circuit does. But this can't be true - it wouldn't be a JK flip-flop anymore, would it?

I forgot about the symbols, sorry: & means AND, ≥1 means OR, these small circles mean negation. So a 1 with a circle simply means negation.

edit: Master and slave are both gated D latches, by the way.
 

Attachments

Last edited:

LDC3

Joined Apr 27, 2013
924
I will need to check out the logic when I get home (in about 5 hr). Maybe someone else can help sooner.
 

WBahn

Joined Mar 31, 2012
29,979
Hello,

I'm trying to understand the attached schematic. It's supposed to be a positive-edge triggered JK flip-flop. As far as I know, it means that it's only reacting to commands during the positive-edge. So if there was a short jump command during CLK = 0 and Q = 0, nothing should happen - right?

However, the given schematic shows a positive-edge triggered JK flip-flop (made of D-flip flops). Now imagine Q = 0 and C = 0. Meanwhile a short J-command occurs. Wouldn't that mean: Immediately, the master-FF changes to 1? And as soon as C = 1, this state is passed to the slave?

I'm really confused, because this would mean you could change the flip-flip's state by sending a command during C = 0 - doesn't it?

Thanks in advance!
60remember
I have no idea what a "J-command" is.

What does it mean to be positive-edge triggered. It means that the OUTPUTs only change state at the positive edge of the clock. So when you say

Immediately, the master-FF changes to 1? And as soon as C = 1, this state is passed to the slave?
But doesn't "as soon as C=1" describe the positive edge of the clock?

You need to ask two questions:

Q1) Is there any change on the non-clock inputs that can result in a change in the final Q outputs except at the positive edge of the clock?

Q2) Is there any sequence of changes on the non-clock inputs that can happen prior to the positive edge of the clock that will make it so that the final Q outputs are not determined solely by the state of the other inputs just prior to the positive clock edge?
 
Top