The Reset signal forces the circuit into a state in which the red light is turned on.

computer science

Description

Objective 

 Design FSM for a race light controller 

 There are three inputs: Reset, Start, and Clock. There are three outputs: 

Red, Yellow, and Green, which turn on the lights. Only one light can be on at any time. The Reset signal forces the circuit into a state in which the red light is turned on. When the Start signal is activated, the red light stays on for at least three clock cycles longer, then the yellow light is turned on. The yellow light stays on about three clock cycles and then the green light is turned on. The green light stays on for at least three clock cycles and then the red light is turned on and the circuit returns to its reset state. 

 Write Verilog code to implement this FSM 

 Simulate it in Modelsim using a testbench showing the whole process 

 Synthesize the Verilog code in Design Vision 

 Simulate the synthesized code in the same manner 

 Make your own assumptions


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.