Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 Designing a Traffic Light Controller (50 pts] [Your originality, thinking method and execution would be graded] In Gotham city, traffic lights have three

image text in transcribed
Question 3 Designing a Traffic Light Controller (50 pts] [Your originality, thinking method and execution would be graded] In Gotham city, traffic lights have three outputs as Red (R), Yellow (Y) or Green (G). Let's assume you're given a microchip with clock input 0.4 Hz. As you know, cars can travel when the light is Green and should not pass the traffic light when the light is Yellow or Red. We are asked to design the traffic light controller in the busiest road of Gotham city. The controller will use directions as inputs. For example, you can use two bit inputs to represent the direction as in N-E format the first bit represents it is either North or South, and the second bit represents it is either East or West. If the N input is 1, traffic should be allowed in North or South direction and if the Einput is 1, traffic should be allowed in East or West direction. You can assume, NO cars can make a turn in the traffic light, Now, let's give you the details of the traffic light. We are standing in a crossroad. We want the Greenlight to be ON for two clock cycles. If E1, in the second clock cycle, Greenlight will be on for one more clock cycle. After terminating the Green light cycle, Yellow light cycle will be ON for one clock cyde. Then, Red light will be ON for two clock cycles. If N = 1, Red light will be on for one more clock cycle. After this, Red and Yellow will be on for one clock cycle and finally, the system will return to the starting state. Please, do your best to give me the state transition diagram and state transition tables. You may use Mealy/Moore design. [20 points) According to your design, how much time it takes for the system to repeat itself (The time difference between each green light) You need to consider some different cases, please discuss. [10 points) Give me the VHDL representation of that design. [20 points). Question 3 Designing a Traffic Light Controller (50 pts] [Your originality, thinking method and execution would be graded] In Gotham city, traffic lights have three outputs as Red (R), Yellow (Y) or Green (G). Let's assume you're given a microchip with clock input 0.4 Hz. As you know, cars can travel when the light is Green and should not pass the traffic light when the light is Yellow or Red. We are asked to design the traffic light controller in the busiest road of Gotham city. The controller will use directions as inputs. For example, you can use two bit inputs to represent the direction as in N-E format the first bit represents it is either North or South, and the second bit represents it is either East or West. If the N input is 1, traffic should be allowed in North or South direction and if the Einput is 1, traffic should be allowed in East or West direction. You can assume, NO cars can make a turn in the traffic light, Now, let's give you the details of the traffic light. We are standing in a crossroad. We want the Greenlight to be ON for two clock cycles. If E1, in the second clock cycle, Greenlight will be on for one more clock cycle. After terminating the Green light cycle, Yellow light cycle will be ON for one clock cyde. Then, Red light will be ON for two clock cycles. If N = 1, Red light will be on for one more clock cycle. After this, Red and Yellow will be on for one clock cycle and finally, the system will return to the starting state. Please, do your best to give me the state transition diagram and state transition tables. You may use Mealy/Moore design. [20 points) According to your design, how much time it takes for the system to repeat itself (The time difference between each green light) You need to consider some different cases, please discuss. [10 points) Give me the VHDL representation of that design. [20 points)

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_2

Step: 3

blur-text-image_3

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

Cloud 9 Pty Ltd An Audit Case Study

Authors: John Wiley

1st Edition

0730329879, 978-0730329879

More Books

Students also viewed these Accounting questions

Question

+1.06 x

Answered: 1 week ago