Traffic light controller and delay timer

cg5939

Joined Apr 29, 2021
6
Hi, I managed to complete both and linked in the delay timer, I’m not sure if it works correctly yet tho as we need to fix our ripple counter to test properly. Is there anything specific you need help with?
How did you manage to link the delay timer? did you produce a state table for it, curious to see what you got as I can't think what the inputs are? t4 and t8 and one output that goes to the done input on the TLC? Got me confused with how the delay timer and the TLC link to be honest if you could help with that would appreciate it!
 

cg5939

Joined Apr 29, 2021
6
Hi, I managed to complete both and linked in the delay timer, I’m not sure if it works correctly yet tho as we need to fix our ripple counter to test properly. Is there anything specific you need help with?
Also how much did your final moore machine diagram and state table differ from the ones you posted above? I see in the table above your reset was on S4 did you move that in the end to S0?
 

Thread Starter

spudda123

Joined Apr 19, 2021
15
How did you manage to link the delay timer? did you produce a state table for it, curious to see what you got as I can't think what the inputs are? t4 and t8 and one output that goes to the done input on the TLC? Got me confused with how the delay timer and the TLC link to be honest if you could help with that would appreciate it!
The delay timer is done in pretty much the same way as the TLC, with a mealy machine then state table then k-maps then the schematic. The TLC will output t4 and t8 into the delay timer as inputs. The result (done) is then outputted back into the TLC as an input for that. The delay timer should have 4 inputs overall
 

cg5939

Joined Apr 29, 2021
6
The delay timer is done in pretty much the same way as the TLC, with a mealy machine then state table then k-maps then the schematic. The TLC will output t4 and t8 into the delay timer as inputs. The result (done) is then outputted back into the TLC as an input for that. The delay timer should have 4 inputs overall
t4 t8 clk and reset? would you mind showing me your mealy machine? I need to make it so that it's a t6 and t12 timer for mine, how would I go about changing that in quartus? cheers!
 

Thread Starter

spudda123

Joined Apr 19, 2021
15
t4 t8 clk and reset? would you mind showing me your mealy machine? I need to make it so that it's a t6 and t12 timer for mine, how would I go about changing that in quartus? cheers!
Yep exactly I’ll attach the mealy machine I got given in my brief for t4 and t8. I’m not sure at all how you’d change the machine to 6 but it could just be that you need to add 2 more states? Don’t take my word for this tho as all I had to do was create a state table etc from the machine given, the machines themselves confuse me too.
 

Attachments

Thread Starter

spudda123

Joined Apr 19, 2021
15
Yep exactly I’ll attach the mealy machine I got given in my brief for t4 and t8. I’m not sure at all how you’d change the machine to 6 but it could just be that you need to add 2 more states? Don’t take my word for this tho as all I had to do was create a state table etc from the machine given, the machines themselves confuse me too.
And where it says (incomplete) I’m pretty sure the only thing missing is a key
 

cg5939

Joined Apr 29, 2021
6
I’m not sure sorry I would only be guessing myself
Okay, no worries one last thing. I've gotten myself pretty lost on the state diagram for the TLC (where does ccreset come into it on the state table) would you mind showing your final product? Thanks for all the help!
 
Top