Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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.5 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 E input 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 Green light to be ON for two clock cycles. If E =1, in the second clock cycle, Green light will be ON for one more clock cycle. After terminating the Green light cycle, Yellow light cycle will be ON for one clock cycle. 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). 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.5 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 E input 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 Green light to be ON for two clock cycles. If E =1, in the second clock cycle, Green light will be ON for one more clock cycle. After terminating the Green light cycle, Yellow light cycle will be ON for one clock cycle. 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
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