How many d flip-flops will you need to represent the states

Assignment Help Civil Engineering
Reference no: EM131315943

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: EM131315943

Questions Cloud

Describe the method where training materials can be deliver : Describe the methods whereby training materials can be delivered to the users of the software system. Explain the ways in which software can be supported after it is implemented/released.Incorporate additional research or academic information to supp..
Weaknesses of the brocks financial situation at stage : Pam is 43, her husband Josh is 45. They have three children ages: 16,14 and 11. Their monthly income is $4,900, Their monthly living expenses are $4,450. They have an emergency fund fo $5,000. Their total assets are $262,700, their total liabilities ..
Compare use of observational versus experimental research : Analyze each selected research method in 175 words as it relates to your selected business situation. Compare the use of observational versus experimental research for the business situation in a total of 350 words
What business and it problems can be caused : List the advantages of a single customer service center for RR Communications.Devise an implementation strategy that would guarantee the support of the Divisional Presidents for the shared customer service center.Is it possible to achieve an enterp..
How many d flip-flops will you need to represent the states : 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 des..
Implementations of data structures and algorithms : BACS2063 Data Structures and Algorithms Analyze the various implementations of data structures and algorithms in terms of their efficiency - Solve programming problems by selecting and applying the use of suitable data structures and algorithms
Pay back and profitability index : Describe each of the following valuation methods is calculated and individually identify the problems of methods (b) through (e): Pay Back. Profitability Index
What is the typical site of origin of leptin hormone : BIOL 101 STUDY GUIDE: QUIZ- What is the typical site of origin of leptin hormone? In a normal person, what is the effect of elevated leptin levels in the bloodstream? Why does a living thing need to be responsive?
Discussion on the pricing component of the marketing mix : Being up to date with current events is an important part of becoming a business professional. In marketing, it is part of an important responsibility to continuously scan the external environment for opportunities and threats. Execute the followi..

Reviews

Write a Review

Civil Engineering Questions & Answers

  Derive an equation for the factor of safety of the slope

Derive an equation for the factor of safety of the slope in Figure P16.2 using the mechanism shown.

  Determine diameter of glass tubing for the capillary rise

Determine the diameter of glass tubing that is necessary for the capillary rise to be less than 0.5 mm. Assume the fluid is water with surface tension equal to 0.0728 N/m and specific weight equal to 9800 N/m3

  Which design checks that are performed on a clarifier

which design checks that are performed on a rectangular clarifier are not performed on a circular clarifier

  What is the steam quality at the turbine exit

Calculate the thermal efficiency of the cycle if the state entering the turbine is 8000 lbf/in.2, 1300 F and the condenser pressure is 0.95 lbf/in.2. What is the steam quality at the turbine exit?

  Which cross section option will provide the highest flow

Two channel cross sections are proposed. Assume slope, cross sectional area, and surface type are constant for each channel. Which cross section option will provide the highest flow rate? Show calculations.

  Determine if the driveway will be affected

A developer wants to provide access to a new building from a driveway placed 1000 ft upstream of a busy intersection.  He is concerned that queues developing during the red phase of the signal at the intersection will block access.  If the speed on t..

  Calculate the flow rate of nitrogen

The nozzle has a throat diameter of 2 cm and discharges into a large chamber maintained at a pressure of 100 kPa. Calculate the flow rate of nitrogen in kg/s for these conditions and its uncertainty.

  Discuss 2 elements of an expensive gps rec in relation

We have a good sense of the fact the increased accuracy comes at a very increased price. Discuss 2 elements of an expensive GPS REC in relation to an inexpensive GPS REC.

  What is the diameter of the bubble before it reaches

Listed on cramster as ask. There is a car driving through water. Velocity is 12mph. Find h (max water depth) that will alow car to pass. List all assumption and calculations is the problem statement.

  Can the volume of the solution be more or less than the 5 l

Can the volume of the solution be more or less than the 5 L? Explain.

  How far apart will contours be on the map

If an area having an average slope of 4% is mapped using a scale of 1:1000 and contour interval of 0.5 m, how far apart will contours be on the map?

  Compute the flow rate in the channel in the jump

A hydraulic jump occurs in a rectangular channel 4.0 m wide. The water depth before the jump is 0.4 m and after the jump is 1.7 m. Compute the flow rate in the channel, the critical depth and the headloss in the jump.

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