Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The details of the different modes are shown in Figure 2 The period of each mode is defined as follows: M o d e P
The details of the different modes are shown in Figure
The period of each mode is defined as follows:
Assume that the system runs at a clock.
If you need to create a counter, then it should be designed structurally.
Project Deliverables:
All Verilog Files and test benches.
You need to create at least two testbenches:
One that shows normal operation No pedestrians
A test bench when a pedestrian pushes the button.
The test bench should display inputoutput values for every mode, as shown in the figure:
Mode :
Mode :
Mode :
Mode :
A Renort detailino the desion Includino all the desion diaoramsstates Project Description: verloge code
The aim of this project is to design and simulate a traffic controller for a Tintersection. The controller has a single input and four outputs.
The intersection shown in Figure has traffic coming from three different directions and
Traffic coming from directions and has a single traffic light each, while traffic coming from direction A has traffic lights as follows:
A: Controls whether the traffic proceeds forward or not.
A: Controls whether the traffic is allowed to go left or not.
In addition, the intersection has a push button I for pedestrians, when pressed it stops all traffic and allows pedestrians to cross.
Figure Intersection Diagram
Design Requirements:
The traffic lights at this intersection operate with only two signals: for Green and for Red. ie no Yellow
The traffic at this intersection has modes mode mode mode and mode
The sequence of traffic lights should follow mode mode mode mode mode etc
When the pedestrian button is pressed, the controller should transition to mode after completing the current mode time.
Once the time for mode has elapsed, the controller will resume with mode mode mode etc.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started