Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Reset State: Green light in N-s direction, red in EW direction N W E 2. When a car is detected in the east-west direction

image text in transcribed

1. Reset State: Green light in N-s direction, red in EW direction N W E 2. When a car is detected in the east-west direction (eastwestwaiting = 1) go through a sequence that makes the light green in the east-west direction and then return to green in the north-south direction . 3. A direction with a green light must first transition to a state where the light is yellow before going to a state where the light goes red. 4. A direction can have a green light only if the light in the other direction is red. Tar Detector eastwestwaiting rst S The state transition table is given as follows (Reset is not shown ons carew yns gew yew 100 001 010 001 001 100 001 010 Problem 1 (40) The traffic lights: state Design a finite state machine to control the traffic lights at an intersection of a north-south road with an east-west road. output gyrgyr ns ew A) Name the states using binary encoding (5) The spefications are as follows: B) Create the truth table for next state logic and calculate the combinational Boolean logic statements. (10) C) Create the truth table for output logic and calculate the combinational Boolean logic statements. (10) There are six lights to control green, yellow, and red for the north-south road, and for the east-west road. input signal eastwestwaiting that indicates that a car is waiting on the east-west road. A second input, rst, resets the FSM to a known state. The procedure of the lights are as follows: D) Draw the curcuit diagram (5) E) Implement the fsm in verilog.(10) Derivables: --A text file (pdf or word) for the options a,b,c --ascii text file of the verilog codes. -- zipped verilog project 1. Reset State: Green light in N-s direction, red in EW direction N W E 2. When a car is detected in the east-west direction (eastwestwaiting = 1) go through a sequence that makes the light green in the east-west direction and then return to green in the north-south direction . 3. A direction with a green light must first transition to a state where the light is yellow before going to a state where the light goes red. 4. A direction can have a green light only if the light in the other direction is red. Tar Detector eastwestwaiting rst S The state transition table is given as follows (Reset is not shown ons carew yns gew yew 100 001 010 001 001 100 001 010 Problem 1 (40) The traffic lights: state Design a finite state machine to control the traffic lights at an intersection of a north-south road with an east-west road. output gyrgyr ns ew A) Name the states using binary encoding (5) The spefications are as follows: B) Create the truth table for next state logic and calculate the combinational Boolean logic statements. (10) C) Create the truth table for output logic and calculate the combinational Boolean logic statements. (10) There are six lights to control green, yellow, and red for the north-south road, and for the east-west road. input signal eastwestwaiting that indicates that a car is waiting on the east-west road. A second input, rst, resets the FSM to a known state. The procedure of the lights are as follows: D) Draw the curcuit diagram (5) E) Implement the fsm in verilog.(10) Derivables: --A text file (pdf or word) for the options a,b,c --ascii text file of the verilog codes. -- zipped verilog project

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

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions