2. (20 points) Design a HLSM for a traffic light controller. The light goes through red (30 sec), green (25 sec) and yel
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
2. (20 points) Design a HLSM for a traffic light controller. The light goes through red (30 sec), green (25 sec) and yel
2. (20 points) Design a HLSM for a traffic light controller. The light goes through red (30 sec), green (25 sec) and yellow (5 sec), then repeat. The clock runs at 1Hz. An input PED signal will short-cut the green light immediately to yellow, if the light is green, or do nothing otherwise. The outputs are R, G and Y, which will turn on the red, green and yellow lights, respectively. You need to show the following steps: a) Draw the FSM diagram (5 points). b) Build the data path (5 points). c) Encode the FSM states and show the truth table (5 points). d) Implement the FSM based on the truth table (5 points).
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!