Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

D-type flip-flops

  1. Feb 25, 2006 #1
    I'm trying to create a circuit that has 4 outputs, and loops over all of them so that only 1 output is high at each pulse.

    Like this:
    1 - 1
    2 - 0
    3 - 0
    4 - 0

    1 - 0
    2 - 1
    3 - 0
    4 - 0

    1 - 0
    2 - 0
    3 - 1
    4 - 0

    1 - 0
    2 - 0
    3 - 0
    4 - 1

    1 - 1
    2 - 0
    3 - 0
    4 - 0

    But, I'm getting race-condition errors inside my d-type flip-flop. So, I'm guessing it's something wrong with it.

    Here is what it looks like:
    [​IMG]

    I don't really understand how a race-condition can happen here?
     
  2. jcsd
  3. Mar 3, 2006 #2

    berkeman

    User Avatar

    Staff: Mentor

    Did you figure out the problem? Or do you still want help on this one?
     
  4. Mar 3, 2006 #3
    Yup, I was trying to use a latch as a flip-flop. All worked out now :)
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: D-type flip-flops
  1. Flip flops (Replies: 5)

  2. D and JK Flip Flops (Replies: 5)

Loading...