Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Extra Credit: Problem 5 (10 points) We wish do add a yellow light to our traffic light example (discussed on page B- 68 in the

image text in transcribed

Extra Credit: Problem 5 (10 points) We wish do add a yellow light to our traffic light example (discussed on page B- 68 in the textbook). We will do this by changing the clock to run at 0.25 Hz (a 4-second clock cycle time), which is the duration of a yellow light. To prevent the green and red lights from cycling too fast, we add a 30-second timer. The timer has a single input, called TimerReset, which restarts the timer, and a single output, called TimerSignal, which indicates the 30-second period has expired. Also we must redefine the traffic signals to include yellow. We do this by defining two output signals for each direction: green and red. In other words, we have NSgreen and NSred for north-south bound and EWgreen and EWred for the east-west bound. For each direction, when red is asserted, the red light wil be on; when red is off and the green is asserted, the green light is on; when red is off and green is off, the yellow light will be on. Draw the graphical representation for the finite-state machine for this improved traffic controller. Choose the names for the states that are different from the names of the outputs 1) 2) Write down the next-state and output-function tables for this traffic light controller. 3) Assign state numbers to the states and write a set of logic functions for each of the outputs (including the next-state outputs). Extra Credit: Problem 5 (10 points) We wish do add a yellow light to our traffic light example (discussed on page B- 68 in the textbook). We will do this by changing the clock to run at 0.25 Hz (a 4-second clock cycle time), which is the duration of a yellow light. To prevent the green and red lights from cycling too fast, we add a 30-second timer. The timer has a single input, called TimerReset, which restarts the timer, and a single output, called TimerSignal, which indicates the 30-second period has expired. Also we must redefine the traffic signals to include yellow. We do this by defining two output signals for each direction: green and red. In other words, we have NSgreen and NSred for north-south bound and EWgreen and EWred for the east-west bound. For each direction, when red is asserted, the red light wil be on; when red is off and the green is asserted, the green light is on; when red is off and green is off, the yellow light will be on. Draw the graphical representation for the finite-state machine for this improved traffic controller. Choose the names for the states that are different from the names of the outputs 1) 2) Write down the next-state and output-function tables for this traffic light controller. 3) Assign state numbers to the states and write a set of logic functions for each of the outputs (including the next-state outputs)

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

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Xxxviii Special Issue On Database And Expert Systems Applications Lncs 11250

Authors: Abdelkader Hameurlain ,Roland Wagner ,Sven Hartmann ,Hui Ma

1st Edition

3662583836, 978-3662583838

More Books

Students also viewed these Databases questions

Question

(a) What is the best model for the data provided? Pg45

Answered: 1 week ago

Question

using signal flow graph

Answered: 1 week ago

Question

My opinions/suggestions are valued.

Answered: 1 week ago