Hey guys, I'm working on a simple project where we have to use JK-flip flops for a single traffic light, that goes from:
Green-Yellow-Red-Red+Yellow...and repeats.
We have been given a guide-line where we have to fill out 6 karnaughdiagrams. The thing I dont understand is how am I supposed to use an 8 states for a single traffic light, I wrote up a 4 state table, where I put in 1 in the lights that are supposed to light up, but apparantly I need to use 8 states. Do I just repeat the 4 first states?
States - Q2Q1Q0 - R Y G
0 --- 0 0 0 --- 0 0 1
1 --- 0 0 1 --- 0 1 0
2 --- 0 1 0 --- 1 0 0
3 --- 0 1 1 --- 1 1 0
Am I completely out in the forest with this logic?
Thanks for the help.
Green-Yellow-Red-Red+Yellow...and repeats.
We have been given a guide-line where we have to fill out 6 karnaughdiagrams. The thing I dont understand is how am I supposed to use an 8 states for a single traffic light, I wrote up a 4 state table, where I put in 1 in the lights that are supposed to light up, but apparantly I need to use 8 states. Do I just repeat the 4 first states?
States - Q2Q1Q0 - R Y G
0 --- 0 0 0 --- 0 0 1
1 --- 0 0 1 --- 0 1 0
2 --- 0 1 0 --- 1 0 0
3 --- 0 1 1 --- 1 1 0
Am I completely out in the forest with this logic?
Thanks for the help.