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

  Determine the transformed moment of inertia for the beam

determine the transformed moment of inertia for the beam using steel as the reference material. Express your answer in in^4 to the nearest 0.1 in^4.

  Determine the required cross sectional area of the cables

A steel plate which is 1.5 m by 1.5 m and 30 mm thick is lifted by four cables attached to its corners that meet at a point that is 2 m above the plate. Determine the required cross sectional area of the cables

  Over what distance does discharge increase in depth occur

In a short section of a channel carrying a steady discharge of 36 m^3/s, the depth is seen to increase from 1.6 m to 1.75 m. The channel is rectangular, 20 m wide with a bedslope of 0.0002 and Manning n of 0.014.

  Show how you would provide adequate drainage

Use Rankine's method to calculate the lateral forces. Neglect the passive resistance at the front of the wall.

  Determine the initial mass flow rate of air through the leak

Assuming isentropic flow, determine the initial mass flow rate of air through the leak.

  What type of system would you classify an electric wire

A system consists of a gas confined between a cylinder and piston such that work and heat may cross the boundary. What type of system is that. What type of system is a free body as used in mechanics or civil engineering.

  Dry compressed air enters the heat exchanger at 70 degrees

Gaseous oxygen (99% pure, molar basis) is to be produced at a rate of 350ft^3/hr in a Linde single column plant. The column operates at a pressure of 1 atm. Air leaves the compressor at a pressure of 10 atm.

  Determine the work in kj in a friction-less piston-cylinder

Nitrogen expands in a friction-less piston-cylinder device from 0.10 to 0.30 m^3. The process is described by P= 7.4 - 40v + 60v^2 , where P is in bars and V is in cubic meters. Determine the work in kJ.

  Predict the variation of da/dn with ?k for the heat-treated

Repeat the calculations in (a) by considering crack closure due to fracture surface mismatch with the mismatch factor, x - 0.1 and 0.25

  Determine the filtration rate at the depth of the layer

The absolute viscosity and density of water are 1.4X10^-3 Pa-s and 998 kg/m^3, respectively. For a head loss of 0.1 m, determine the filtration rate (m/d) if the depth of this layer of sane is 0.1m

  Determine the work developed of air flowing through turbine

Neglecting kinetic and potential energy changes and assuming the ideal gas model determine the work developed of air flowing through the turbine

  A paved parking lot section has a uniform slope over a

a paved parking lot section has a uniform slope over a length of 100 m in the flow direction from the point of a

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