Question: Aim of this mini project is to develop a logic for the 4 directional ( East / West / North / South ) traffic light

Aim of this mini project is to develop a logic for the 4 directional (East/West/North/South) traffic
light controller
Specification
To develop Traffic light controller logic which can control the traffic on the 4 directional road.
Features
Controls four traffic signals at a four-way crossing.
The traffic light cycle: Red => Yellow => Green => Yellow => Red.
Transition from Red to Green is always through Yellow.
Ensures only one signal is green at a time.
Green-light duration: 5 seconds.
Yellow light duration: 1 second.
Operates in a clockwise direction of traffic signals.
The hardware resets at all Yellow so the reset is safe and will not cause any confusion.
The output is encoded as follows to get 8-bit output
R=00
Y=01
G=10
Current state next state output BIN
RSt s0 YYYY 01010101
s0 s1 GRRR 10000000
s1 s2 YYRR 01010000
s2 s3 RGRR 00100000
s3 s4 RYRR 00010000
s4 s5 RRGR 00001000
s5 s6 RRYY 00000101
S6 s7 RRRG 00000010
s7 s8 YRRY 01000001
write a verilog code for this design specifications
 Aim of this mini project is to develop a logic for

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!