Understanding Flip-Flop Type D: Negative Edge Triggering and Delay Neglect

  • Thread starter Thread starter Femme_physics
  • Start date Start date
  • Tags Tags
    Electronics
Click For Summary

Discussion Overview

The discussion revolves around the operation of a negative edge-triggered D flip-flop, focusing on the timing of input signals and the behavior of the output Q in response to clock pulses. Participants explore the implications of neglecting delay times and the differences between negative and positive edge triggering.

Discussion Character

  • Homework-related, Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • Some participants explain that Q remains 0 until the clock pulse goes down, at which point Q changes to 1 if the D signal is also 1.
  • There is a discussion about the definition of the negative edge of the clock pulse, with some clarifying that it refers to the transition from high to low, not to negative voltage levels.
  • Some participants express confusion about whether D flip-flops can be both rising and falling edge triggered, citing differing sources.
  • One participant asserts that the only time Q can change is at the negative edge of the clock pulse.
  • There is a challenge regarding the interpretation of the truth table for D flip-flops, particularly concerning the significance of CLK being 0 or 1.
  • Participants discuss the implications of changing Q based on the timing of D and CLK signals, with some expressing uncertainty about the conditions under which Q changes state.
  • A later reply clarifies that the clock pulse triggers on its edge, which is crucial for understanding the timing of Q changes.
  • One participant expresses confusion about their previous answer, leading to further clarification about the relationship between D, CLK, and Q.
  • Participants share diagrams to illustrate their points, with some seeking validation of their interpretations.

Areas of Agreement / Disagreement

Participants exhibit a mix of agreement and disagreement regarding the operation of the D flip-flop, particularly about the timing of Q changes and the interpretation of edge triggering. Some participants agree on the mechanics of negative edge triggering, while others express confusion or propose alternative interpretations.

Contextual Notes

Some statements reflect uncertainty about the definitions and timing associated with D flip-flops, particularly in relation to the truth table and the significance of clock states. The discussion also highlights the potential for confusion when transitioning between different types of edge triggering.

Who May Find This Useful

This discussion may be useful for students or individuals studying digital electronics, particularly those interested in flip-flop behavior and timing analysis.

Femme_physics
Gold Member
Messages
2,548
Reaction score
1

Homework Statement



In the following drawing is given a intro signal to flip-flop type D, negative edge triggered. Also is given the clock pulse signal. Copy to your notebooks these signals and add intro signal Q. Presume that in starting condition Q=0. Also, neglect the delay times of the flop-flop

http://img688.imageshack.us/img688/594/flippys.jpg

Mine is the pencil of course. Does it make sense?
 
Last edited by a moderator:
Physics news on Phys.org
Hi!

Q remains 0 until the Cp pulse goes down.
At that time Q becomes and stays 1 (since the D signal is 1 at that time).


The D flip-flop stores the D signal at the negative edge of the clock pulse.

This means that when the clock pulse (Cp) goes down, the Q state changes.
Q becomes the state of the D signal at that time.
 
Alright, as per your criticism...

http://img545.imageshack.us/img545/9672/gggraphs.jpg

The D flip-flop stores the D signal at the negative edge of the clock pulse.

What exactly is the negative edge of the clock pulse? Oh, you mean like when an AC current reaches negative current?
 
Last edited by a moderator:
Femme_physics said:
What exactly is the negative edge of the clock pulse? Oh, you mean like when an AC current reaches negative current?

The negative edge is where the clock pulse goes down (negative slope), which is the right side of the pulse.
AC current does not have a sharp edge like that.

The only place where Q can change is at that edge.
 
From my hobby days I seem to recall that D flip-flops are rising edge triggered. Do they make them both ways now?
 
LCKurtz said:
From my hobby days I seem to recall that D flip-flops are rising edge triggered. Do they make them both ways now?

According to wiki:
"The D flip-flop captures the value of the D-input at a definite portion of the clock cycle (such as the rising edge of the clock)."

Wiki seems to imply they are made both ways.
And the problem statement says it's the falling edge.
 
I like Serena said:
The negative edge is where the clock pulse goes down (negative slope), which is the right side of the pulse.
AC current does not have a sharp edge like that.

The only place where Q can change is at that edge.

But the graphs only have positive edge?
 
Femme_physics said:
But the graphs only have positive edge?

What do you mean by positive edge?

The graphs have both positive edges and negative edges.
Each pulse starts with a positive edge, also called the rising edge.
And each pulse ends with a negative edge, also called the falling edge.
 
But I have both D and CP for reference. Now I know CP is the clock pulse. D is the input.

If Q can only change at NEGATIVE clock pulse edge, then I stand by my last diagram
 
  • #10
Femme_physics said:
But I have both D and CP for reference. Now I know CP is the clock pulse. D is the input.

If Q can only change at NEGATIVE clock pulse edge, then I stand by my last diagram

In your last diagram Q changes at the rising edge of the clock pulse...

EDIT: A negative edge does NOT mean that the signal is negative, but is means that the level of the signal goes down.
 
Last edited:
  • #11
Femme_physics said:
But the graphs only have positive edge?
The graphs are drawn to appear to have only positive levels, yes. But these waveforms are logic levels, not voltages, so they are never going to have negative levels. Logic is 1 or 0.

The transition from logic 0 to logic 1, denoted 0→1, is termed the "rising edge" or positive edge. When the logic level changes back to 0, the transition 1→0 is termed the "falling edge" or negative edge. (It has nothing to do with + or - voltages.)

Your Q output is so wrong that I suggest you erase it so you don't keep referring back to it, and can start again with a fresh outlook.

:::NEXT LINE EDITED::::
First step, trace the vertical dotted line from each clock pulse's 1→0 tranistion and mark these faintly on the Q graph--these mark the only place where the Q level can change logic levels because you are told that your D flip-flop is negative-edge triggered.
 
  • #12
http://img822.imageshack.us/img822/9113/9tcpq80t.jpg

Is this correct then?
 
Last edited by a moderator:
  • #13
Femme_physics said:
Is this correct then?

Yep! :smile:
 
  • #14
Thanks :)
 
  • #15
*bumps*

Would my graph be any different if this was a positive edge triggered D-FF flip-flop, and not negative D-FF flip-flop?
 
  • #16
*bump back*

Yes.
What do you think it would look like?
 
  • #17
I'm actually really confused about my answer from before.

According to the truth table of D flip-flops

When D = 1 and CLK = 1
then Q = 1

Since ours is negative on the first dotted line we still kept it zero. Ok.

On the second dotted line we have D = 1 and CLK = 0

That's "no change" on both Q and Q(capped)...yet we changed Q to "1" digital. Something doesn't add up here.
 
  • #18
Femme_physics said:
I'm actually really confused about my answer from before.
Hi FP! Confusion creeps in when you turn your back on a topic for a few weeks. :smile:
According to the truth table of D flip-flops

When D = 1 and CLK = 1
then Q = 1

Since ours is negative on the first dotted line we still kept it zero. Ok.
Yes, "ours" is negative-edge triggered, so the rising edge of the clock has no significance.
On the second dotted line we have D = 1 and CLK = 0

That's "no change" on both Q and Q(capped)...
Who says so? There is not really a "no change" input condition for the D.
yet we changed Q to "1" digital. Something doesn't add up here.
Yes, "we" changed Q to 1 because D was 1 at the crucial moment of the clock transitioning 1→0.

Review the D flip-flop here, though it's positive-edge triggered. http://www.doctronics.co.uk/4013.htm
 
Last edited by a moderator:
  • #19
Finally I have some time again to respond.
Sorry to keep you waiting. :wink:
Femme_physics said:
I'm actually really confused about my answer from before.

According to the truth table of D flip-flops

When D = 1 and CLK = 1
then Q = 1

Ah, careful there.
You don't really have a "normal" truth table there with CLK being 0 or 1.

What they mean with CLK=1 is that the clock pulse "triggers".
And a trigger is that the clock pulse is on its edge.
In your new problem statement that is when the clock pulse rises.
At all other times it counts as CLK=0.
Since ours is negative on the first dotted line we still kept it zero. Ok.

On the second dotted line we have D = 1 and CLK = 0

That's "no change" on both Q and Q(capped)...yet we changed Q to "1" digital. Something doesn't add up here.

The first dotted line is a rising edge.
In the original problem statement that is not the trigger, so that counts as CLK=0.

At the second dotted line we have D=1 and we have a trigger since the clock pulse triggers on the falling edge.
So that counts as CLK=1!
 
  • #20
Ahh the truth table for "rising edge" and "falling edge" helped explain everything to me...

I basically only look at the places where it increases or falls (depends whether it's falling or rising) and then look at the corresponding truth table and bob's your uncle :)

Thanks Nascent, ILS! Though the test is behind me, I thought I aced it except possibly one issue (or two) that bothers me a bit (it's in electrical engineering forum).
 
  • #21
Hey Fp!

Any tests left?
Or are you done for a while?
 
  • #22
Hi ILS!

Oh the big external electronics test is still ahead :) do u mind answering my Q at elecrical engineering forum with the PNP transistor? ( not in HW section )
 
  • #23
Okay, I'll take a look (didn't notice you posting it).
Give me a minute... (or two ;)
 

Similar threads

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