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

  Calculate the diameter of this pipe

Using the Hazen-Williams approach (seecoefficient table below), find the headloss of water flowingthrough 1,000-ft of 6-ft diameter concrete pipe at a flow rate (Q)of 80 ft3/sec

  Determine the volume of reactor needed for each hydraulic

The kill of pathogens by disinfection in water treatment can be described by a first order reaction. Complete a reactor comparison for a batch reactor, CSTR and PFR for disinfection.

  Construction area skids into a stack of concrete barriers

A car travelling at 60 mph in a construction area skids into a stack of concrete barriers. Skid marks leading to the crash measures 150 ft .

  Calculate a value of temperature that could be used

A correlation for particulate removal efficiency in an electrostatic precipitator (n) as a function of gas velocity (u) may be written in the form: n = 1 - e^-k / u.

  Designing the tangent vertical curve

Due to a street crossing a roadway, the elevation of the roadway at station 3 +413.760 must be at 129.388 m. Design the curve?

  Determine the amount of moisture removed from the air

Moist air at standard conditions is at a dry bulb temperature of 80 degree F and a relative humidity of 50%. It is cooled to 50 degree F. Use the psychromtric chart to determine: a- The energy removed from the air after it is cooled in BTU/lb of d..

  Calculate the engineering stress for the bar

Calculate the following for the bar:a) engineering stress at 0.001 (0.1%) strain, b) elongation, c) Young's modulus, d) final diameter of the bar Note: Poisson's ratio is 0.31 for 4140 steel, e) true stress, f) true strain.

  What would be the vertical load on the sample

A core sample of basalt, 4 inches long and 2 inches in diameter, was tested in unconfined compression. The basalt is known to have a modulus of elasticity = 9.1 x 106 psi.

  How and why is the stagnation enthalpy h0 defined

How does it differ from ordinary (static) enthalpy?

  Calculate the mean-standard deviation and the coefficient

during construction of the surface layer of asphalt pavement, two samples where taken everyday to measure the asphalt content in the mix to ensure that it is within the specification limits. the target value was set at 5.5 percent with a tolerance..

  Bisection method to find the root of equation

Use the bisection method to find the root of the equation f(x) = x 2 - 4sin(x) = 0. For initial bracketing interval [a,b] , take a=1 and b = 3.

  Determine the moment of inertia about ahorizontal axis

By integration, determine the moment ofinertia about a horizontal axis at the channel bottom. Using the parallel axis theorem, determine the moment of inertia about ahorizontal axis through the centroid.

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