JK Master-Slave Flip-Flop timing diagram

  • Thread starter Thread starter JasonHathaway
  • Start date Start date
  • Tags Tags
    Diagram
Click For Summary

Discussion Overview

The discussion revolves around the timing diagram of a JK Master-Slave Flip-Flop, focusing on the output Q and the relationship between the clock edges and the J and K inputs. Participants are analyzing the timing characteristics and requirements of the flip-flop in the context of a homework problem.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants assert that the master flip-flop operates on the rising edge of the clock while the slave operates on the falling edge.
  • One participant requests the schematic of the JK Master-Slave Flip-Flop being used for the problem, indicating a need for clarity on the circuit configuration.
  • Another participant confirms the provided waveforms are acceptable but questions the expected behavior of the JK flip-flop based on the initial output shown.
  • It is noted that the J input must be stable before the falling edge of the clock for proper operation, emphasizing the timing requirements for the master-slave configuration.
  • Some participants express agreement on the correctness of the waveform sketch but highlight that the gating arrangement in the referenced image may introduce an inversion that complicates the analysis.
  • Concerns are raised regarding the adequacy of the original schematic, suggesting it should be represented in terms of gates for better understanding.

Areas of Agreement / Disagreement

Participants express differing views on the timing behavior of the JK Master-Slave Flip-Flop, particularly regarding the stability of inputs and the implications of the clock edges. There is no consensus on the correctness of the initial output or the schematic provided.

Contextual Notes

Participants note the importance of setup time for the J input before the clock edge, which is a critical aspect of the timing requirements for the flip-flop. The discussion also highlights potential issues with the provided schematic and its representation of the circuit.

JasonHathaway
Messages
113
Reaction score
0

Homework Statement


Draw the output Q of the JK Master-Slave Flip-Flop

Homework Equations


Master works at the rising edge, while and the Slave works at the falling edge.

The Attempt at a Solution



http://s13.postimg.org/j5ldpmw9i/20150109_095656.jpg
 
Physics news on Phys.org
JasonHathaway said:

Homework Statement


Draw the output Q of the JK Master-Slave Flip-Flop

Homework Equations


Master works at the rising edge, while and the Slave works at the falling edge.

The Attempt at a Solution



http://s13.postimg.org/j5ldpmw9i/20150109_095656.jpg

Could you post the schematic for the J/K M/S flipflop you are using for this problem please? Thanks. :)

EDIT -- And were you given the J & K waveforms as part of the problem statement?
 
EDIT waveforms look okay

On the rising edge of clock pulse #1 (CP#1), your figure shows J=0 & K=1
subsequently on the falling edge of CP#1 this sets Q to 1.

That is not what I was expecting of a JK FF.
Are you sure that is right?
 
Last edited:
The first part is OK. (Q is not defined by the inputs before clk 1 falling edge). The master is at J=1, K=0 which on that edge is transferred to the slave, so Q1 = 1 upon the falling edge of clk1.

The J input at the falling edge of clk3 should not coincide with that clock edge. There needs to be a minimum setup time on J before that edge occurs. However, assuming J is still high when the clk3 edge occurs, that Q wavform is also correct (toggle action).

The same problem obtains at the falling edge of clk5. What did the master latch?

Bottom line: inputs must be stabilized at least several ns before a clock falling edge. This is the only timing requirement for a master-slave FF. Timing of the inputs is not important for the rising edge of any clock pulse since the master FF output is immaterial until the clk drops.
 
Last edited:
After closer scrutiny, I agree with rude man. JasonHathaway's sketch of waveforms is correct. (I'd forgotten that for the Master, it's not "edge triggered" as such. Level triggered would be more accurate.) The question of JK inputs changing coincident with the fall of the clock pulse is also a caution that should be heeded.

However, none of us is correct if the gating arrangement in the linked .gif is used, because it interposes an inversion between the Master and the Slave.
 
Last edited:
NascentOxygen said:
After closer scrutiny, I agree with rude man. JasonHathaway's sketch of waveforms is correct. (I'd forgotten that for the Master, it's not "edge triggered" as such. Level triggered would be more accurate.) The question of JK inputs changing coincident with the fall of the clock pulse is also a caution that should be heeded.

However, none of us is correct if the gating arrangement in the linked .gif is used, because it interposes an inversion between the Master and the Slave.
Probably a typo on the master FF outputs. Should look same as the slave.
In any case, the OP's schematic is inadequate. The circuit should be shown in terms of gates; see attached.
 

Attachments

Similar threads

Replies
20
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
7K
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 7 ·
Replies
7
Views
7K
Replies
2
Views
31K
  • · Replies 3 ·
Replies
3
Views
2K