Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

b. What groups were most represented? Why do you think this is so?

Answered: 1 week ago

Question

3. Describe phases of minority identity development.

Answered: 1 week ago

Question

5. Identify and describe nine social and cultural identities.

Answered: 1 week ago