Traffic light simulator
0 Stars     32 Views    

Author: Asafo Agyei Azariah

Forked from: Asafo Agyei Azariah/Traffic light simulator

Project access type: Public

Description:

The project aims to simulate a realistic traffic light controller by:1.Changing the traffic lights after a certain timeout period
2.Giving more preference to the lane with bursts of traffic
The sensors Ta and Tb detect the traffic. They are strings of 1's and 0's where 1 represents a car at that instant of time in that lane.LFSRs are used to generate random strings of 1s and 0s.
The first part is handled through a FSM with a factored timing FSM to force next state after timeout(15ns).The second part is handled through a logic which changes to that state which gives grren to lane with more traffic.

Created: May 22, 2021

Updated: Aug 26, 2023


Comments

You must login before you can post a comment.