Hi there,
I need to construct a 4-bit ring counter only using D Flip-Flops and a few necessary gates to come up with the output that I am looking for.
I am setting up the circuit to be run on an FPGA which has a global reset switch that is already set up so I do not need to worry about a clear. The output thats I will be looking at are: 0001, 0010, 0100, 1000. I have an idea of how the ring counter works and how it passes a value through - my problem lies in how I only get a single "1" to pass through. From my reading I know that for a ring counter to work the first flip-flop in the chain must have a 1 passed to it.
If I connect the Vcc and an OR gate to my first flip-flop that will give me a "1" and will start the chain, but the problem is that no matter what I will constantly be pushing 1's through my chain of flip-flops and I will never reach the outputs that I need to read in. Any suggestion or advice on how to remedy this problem?
I need to construct a 4-bit ring counter only using D Flip-Flops and a few necessary gates to come up with the output that I am looking for.
I am setting up the circuit to be run on an FPGA which has a global reset switch that is already set up so I do not need to worry about a clear. The output thats I will be looking at are: 0001, 0010, 0100, 1000. I have an idea of how the ring counter works and how it passes a value through - my problem lies in how I only get a single "1" to pass through. From my reading I know that for a ring counter to work the first flip-flop in the chain must have a 1 passed to it.
Rich (BB code):
A B C D
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
1 0 0 0
etc.