Question: Your goal is to create a stop light controller for a corner where two streets cross. There will be 2 lights ['NS' (or 'N') and
Your goal is to create a stop light controller for a corner where two streets cross. There will be 2 lights ['NS' (or 'N') and 'EW' (or 'E')], and each can be in a possible state of 1 = go, 0 = stop. There will be no third state for slow and each light will be in any given state for 3 clock cycles. You may assume there is no turn lane and thus no turn signal.
Once, you have that part working, you will need to add a cross walk feature. A walker should be able to press a button and then, after the current state of the lights finishes, all lights should be in a red state for 5 clock cycles, allowing the walker to cross.
You will need to come up with a HLSM, a datapath, and a controller for this system. Then, you will need to code the system using verilog, simulate using the EDA playground.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
