Design a finite state machine based system that emulates the operation of a set of pedestrian crossing lights. There should be two sets of lights, one set for traffic and one set for pedestrians. The light for traffic should normally be green. When a pedestrian pushes the crossing button, the lights should change to allow them to cross the road. Pedestrians should not be able to permanently stop traffic by repeated pushing of the button (i.e. there should be a suitable delay somewhere in the system so that traffic has a chance to move even if there is a non-stop supply of pedestrians wishing to cross). The traffic lights for traffic should follow the standard UK sequence of green, amber, red, red/amber. The lights for pedestrians should only be red and green (i.e. ‘cross’ and ‘don’t cross’). Use the DE1 buttons, LEDs and seven segment displays in any appropriate way to demonstrate the system in operation

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.2: The If-else Statement
Problem 8E
icon
Related questions
Question
100%

Pedestrian Crossing Traffic Lights

Design a finite state machine based system that emulates the operation of a set of pedestrian crossing lights. There should be two sets of lights, one set for traffic and one set for pedestrians. The light for traffic should normally be green. When a pedestrian pushes the crossing button, the lights should change to allow them to cross the road. Pedestrians should not be able to permanently stop traffic by repeated pushing of the button (i.e. there should be a suitable delay somewhere in the system so that traffic has a chance to move even if there is a non-stop supply of pedestrians wishing to cross). The traffic lights for traffic should follow the standard UK sequence of green, amber, red, red/amber. The lights for pedestrians should only be red and green (i.e. ‘cross’ and ‘don’t cross’). Use the DE1

buttons, LEDs and seven segment displays in any appropriate way to demonstrate the system in operation

NOTE: 1.Write its Verilog code. Write test bench and include Modelsim simulation results

 

 

 

 

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Recurrence Relation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning