Traffic controller based on FPGA
no vote
Design a traffic light controller at the intersection formed by the junction of a main road and a branch road: 1) & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; the main road and the branch road are respectively equipped with three directions of green, yellow and red indicator lights (left turn, straight and right turn), and each driving direction is equipped with a time display nixie tube; 2) & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; The main road is always allowed to pass, while the branch road is only allowed to pass when there is a car (informed by external signal). 3) When there are vehicles on the main and branch roads, they are allowed to pass alternately. The main road is allowed to pass for 90 seconds each time, and the branch road is allowed to pass for 60 seconds each time. In the process of changing from green light to red light, the yellow light should be turned on for 5 seconds as a transition, and the countdown display should be carried out.