Question: System specifications are as follows: 1) RED light will be on for 10 seconds, after that YELLOW light will be on for 3 seconds and

 System specifications are as follows: 1) RED light will be on

System specifications are as follows: 1) RED light will be on for 10 seconds, after that YELLOW light will be on for 3 seconds and finally GREEN light will be on for 8 seconds. (Note that you are supposed to write your code for this algorithm under the Design Sources tab, not under the "Simulation Sources" tab.) You are given 3 different clock signals which are 25 MHz, 50 MHz and 100 MHz. You can only use these clock signals (whichever you want or more than one) to obtain the periodic illumination of the traffic lights. For this purpose, you should use clock division. It basically means that obtaining different clock signals having different frequencies from any clock signal. Please search the internet for more information regarding clock division. WARNING: You must write a clock division code by using any of the given clock signals. Otherwise if you use any other clock sig ctly, you will get zero. 2) You should define an input for pedestrian crossing the road such as pedest. If pedest=1, after 5 seconds, whatever the light is, it will be RED for 10 seconds and becomes GREEN again. 3) Write a simulation source code and show clearly inputs and outputs for different cases. Please give logical names for inputs and outputs such as RED, GREEN etc. instead of a, b, c etc. System specifications are as follows: 1) RED light will be on for 10 seconds, after that YELLOW light will be on for 3 seconds and finally GREEN light will be on for 8 seconds. (Note that you are supposed to write your code for this algorithm under the Design Sources tab, not under the "Simulation Sources" tab.) You are given 3 different clock signals which are 25 MHz, 50 MHz and 100 MHz. You can only use these clock signals (whichever you want or more than one) to obtain the periodic illumination of the traffic lights. For this purpose, you should use clock division. It basically means that obtaining different clock signals having different frequencies from any clock signal. Please search the internet for more information regarding clock division. WARNING: You must write a clock division code by using any of the given clock signals. Otherwise if you use any other clock sig ctly, you will get zero. 2) You should define an input for pedestrian crossing the road such as pedest. If pedest=1, after 5 seconds, whatever the light is, it will be RED for 10 seconds and becomes GREEN again. 3) Write a simulation source code and show clearly inputs and outputs for different cases. Please give logical names for inputs and outputs such as RED, GREEN etc. instead of a, b, c etc

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!