- #1
Dr-NiKoN
- 94
- 0
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:
http://folk.uio.no/thhildru/d-type.png
I don't really understand how a race-condition can happen here?
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:
http://folk.uio.no/thhildru/d-type.png
I don't really understand how a race-condition can happen here?
Last edited by a moderator: