In this state, the system behaves like Busy in h-road, idle in v-road but switches the behaviors for h-road and v-road. When the count-down finishes, the system will test another signal called pedestrain which means there are pedestrains waiting at vertical road to cross, the green light at v-road will signal for one period until the pedestrain signal vanishes. In this state, the green light will signal forever for horizental road, the period will be 15 sec. In this state, the system will test another signal called peak which means it is the rush hour of the day, making the time of red light 8 sec for horizental road.īusy in h-road, idle in v-road.
Default state, the red / yellow / green lights will signal alternately with 16 sec for red / 3 sec for yellow and 16 sec for green.īusy in both h-road and v-road. It will run in 6 different modes according to the traffic of each road: The crossroad traffic lights controls the traffic of horizontal road(h-road) and vertical road(v-road).
Designed For Digital Logic Course Project. A Traffic Light Control System, Based On Basys2 Board Using Verilog.