In this lab you will improve your traffic light controller. You will improve your controller by adding yellow lights and by coming up with a scheme to minimize the waiting time of cars.
The yellow lights are a warning step between green and red lights.
In the previous lab, the requirement was that eventually all cars that were waiting had to go. In this lab, you will have to come up with some scheme or ordering such that cars don't wait forever. The shorter average waiting time, the better. Like last lab, you will write this in both VHDL and C++. You should not need to change either of your simulation environments to make this change.