Show state-transition table for the traffic light

Assignment Help Basic Computer Science
Reference no: EM131322915

This problem concerns a traffic light placed on a stretch of road where there is no cross traffic, but where pedestrians often cross. There are two sets of lights, one facing each direction of traffic, and two pedestrian buttons, one on each side of the road. Pushing either button while the light is green causes the light to turn yellow for 10 seconds, then red for 120 seconds, and back to green. Pushing buttons while the light is yellow or while the light has been red for 10 seconds or less has no effect. Pushing a button while the light has less than 10 seconds to go before it turns green will cause the light to stay red for at least 10 seconds more than it would otherwise. We want to design a sequential circuit for the traffic light controller.

A. Show a state-transition diagram and a state-transition table for the traffic light. Let the input be the state of the buttons (1 if either button has been pushed, 0 otherwise), and assume that a clock pulse occurs once every 10 seconds. (In other words, no state transition can occur except at 10-second intervals; every 10 seconds, the input is examined and a state transition, if called for, is made.)

B. How many D flip-flops will you need to represent the states you have defined? Indicate the correspondence you have made between states in your answer to part A and the states of your set of D flip-flops. Show truth tables and Boolean equations describing the next state of each flip-flop, based on the current state of the circuit and any other appropriate inputs.

C. Draw the circuit. Assume that two input lines are available: a clock line, which gives a short pulse once every 10 seconds, and a button line, which is high if a button is pushed. Your circuit should have three output lines controlling the lights; label the lines "red," "yellow," and "green."

D. It would be nice if the pedestrian did not have to lean on the button until a transition occurred. Your circuit currently has this property, unless you have departed from the clocked sequential-machine synthesis procedure suggested in the previous steps and described in the text. Give a modification of your circuit that solves this problem, and explain why it works.

Reference no: EM131322915

Questions Cloud

If difference between two means is not significant : If the difference between two means is not statistically significant, how certain are you that the independent variable really does not affect the dependent variable?
Collect the voice of the customer : Investigate on the internet the various ways (interviews, focus groups, surveys, etc.) to collect the voice of the customer, and discuss the advantages and disadvantages of each method.
Analyze the leadership teams reaction to the failure : Analyze the leadership team's reaction to the failure, and indicate whether the leadership took sufficient measures to deal with various stakeholder groups impacted by the failure. Provide support for the rationale.Take a position on whether the ..
Develop a price index and going back three years : For this basket he asked his assistant to develop a price index, going back three years, starting with a base of 100.0 (see Exhibit 2).
Show state-transition table for the traffic light : Show a state-transition diagram and a state-transition table for the traffic light. Let the input be the state of the buttons (1 if either button has been pushed, 0 otherwise), and assume that a clock pulse occurs once every 10 seconds. (In other ..
Assumption of risk play a part in the type of contract used : How did assumption of risk play a part in the type of contract used? What type of contract was finally settled upon in this situation? Was this type of contract appropriate for this situation or was there a better type that should have been used?
Find out the all india cable demand for the year 2004 : Find out the all India cable demand for the year 2004 and monthly estimated sales of Bengal cables Company - The price factor was not considered important in forecasting all India demand for cables. Will the same be true in estimating demand for ..
Enterprise risk management-strategy execution-history-role : 1. Review the company mission. Determine what is necessary to achieve this mission of a company. What are internal and external considerations for achievement? 2. Identify the risks to the considerations for achivement. In regard to assets, evaluat..
Concerned about making a type i error than a type ii error : Generally, researchers are more concerned about making a Type I error than a Type II error. Can you think of any instances in which you might be more concerned about making a Type II error?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd