djsfantasi
- Joined Apr 11, 2010
- 9,156
What are the outputs of a D flip flop?
And do you see anything unique about state 5? Especially as compared to states 1-4?
And do you see anything unique about state 5? Especially as compared to states 1-4?
Yes, you’re close. But does that pattern match the desired output? What’s different or how can you easily get the desired pattern?OMG yes, state 5 is the invers of state 1-4.
the outputs of a D flip flop are Q and Q invers.
so you need to take output Q for the first four states and Q invers for the fifth one somehow?
Yes... re: the difference in the 5th state. Now, how can you use this to construct your pattern? You may need an additional component or two.Do you mean the first 1? Because you have 000, 001, 010, 011,100 which is the fifth state. Only the fifth state has a 1 on the first bit (which is the most right D flip flop on the picture). Is that what you mean?
So for any set of states you are just going to use bit B?By connecting to bit B, it goes 010100101001010...
What you have described is a decoder circuit.By taking Mrchips bits:
First three bits, put it on NOR gate so it outputs 1 if all are 0.
Second three bits, put second and third on invert and then combine to NAND, so outputs 0 of input is 100
Third, invert second bit and connect to AND gate so it outpits 1 if input is 101
Fourth, NAND
Fifth, invert first and third, connect to NAND
That would be my guess although it seems prettycumbersome, I wouldn't know any other way to make that work. Would love to know how though