Traffic light simulator
0 Stars     5 Views    

Author: Asafo Agyei Azariah

Forked from: Asafo Agyei Azariah/Traffic light simulator

Project access type: Public


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 trafficThe 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: May 22, 2021

Copied to Clipboard!


You must login before you can post a comment.