I've been assigned to makeI am currently working on a traffic light system, and even posted about it in this subreddit, however I'd like some help with making the truthstate transition table developed for it, because I feel like it would help a lot when implementing.Here's what I've got so farthe project reads as follows:
I want
I have additionally used Neeman's Digital software to clarify some terms in case they aren't clear right away: Sn is the current state, Sn+1 is the next state, D are the three D Flipcreate a table (and K-Flips I believe I'd need to do this project with, and F isMaps) for the output, F0 is the green light F2, F1 is the yellow light, and F2 is the red lightF0.
So essentially, i'd like for the circuit
As I was trying to behave as follows: green is default and ifrepeat the I input is pressedprocess for D2, transition to yellowD1 and then redD0, all the way back to green (untilwith a table that has the input is put back to 0 of course)following appearance.
I feel like my D (for Flip-Flops) may be wrong, although I am positivewould like to clarify that the Input I want that behavior for F (Output)is being represented by E in the table.
I've also tried making KMaps of the current table but yielded no results, as
Which returns the behavior was nowhere nearfollowing expressions for the expected.output expressions:
Any help is appreciated, and thanks in advance!!
Edit #1: These are the KMaps I currently have, also tried replacing the reason I asked for help is that I got confused while making these because I couldn't understand them, and when I tested them outx with 0 and get the following output expressions I found:

Both these aproaches revealed insufficient, I had the wrongbecause only F0 (the GREEN light get) gets lit up, or several at once, and I truly believe it was my mistake with either making the KMaps or simplifying them properlyeven when Input is true.

I would therefore like help resolving this issue.
Thank you very much.
