Write vhdl code for the controller

Assignment Help Electrical Engineering
Reference no: EM131368096

Design a sequential circuit to control the motor of a tape player. The logic circuit will have five inputs and three outputs. Four of the inputs are the control buttons on the tape player. The input PL is 1 if the play button is pressed, the input RE is 1 if the rewind button is pressed, the input FF is 1 if the fast forward button is pressed, and the input ST is 1 if the stop button is pressed. The fifth input to the control circuit is M, which is 1 if the special "music sensor" detects music at the current tape position. The three outputs of the control circuit are P, R, and F, which make the tape play, rewind, and fast forward, respectively, when 1. No more than one output should ever be on at a time; all outputs off causes the motor to stop. The buttons control the tape as follows: If the play button is pressed, the tape player will start playing the tape (output P = 1). If the play button is held down and the rewind button is pressed and released, the tape player will rewind to the beginning of the current song (output R = 1 until M = 0) and then start playing. If the play button is held down and the fast forward button is pressed and released, the tape player will fast forward to the end of the current song (output F = 1 until M = 0) and then start playing. If rewind or fast forward is pressed while play is released, the tape player will rewind or fast forward the tape. Pressing the stop button at any time should stop the tape player motor.

(a) Construct a state graph chart for the tape player controller. You may assume that only one of the four buttons can be pressed at any given time.

(b) Write VHDL code for the controller.

Reference no: EM131368096

Questions Cloud

Conclusion change for the winter months : How would you conclusion change for the winter months, if bad weather makes it likely for traffic jams on the highway to increase to 6 days per month?
Realize the circuit using six d flip-flops : Realize the circuit using three D flip-flops, using the guidelines from Section 1.7 to determine a suitable encoded state assignment. Note the tradeoff between more flip-flops and more gates in (b) and (c).
Why a currency devaluation whether intentional or not : Provide an overview of this case analysis; summarize the key points. Explain why a currency devaluation, whether intentional or not, would be a problem.
Different when the interest rate changes : (a) Calculate the present value of each payment option, assuming the interest rate is 12%. (b) Then, calculate the present values based on an interest rate of 5%. (c) Compare your answers and explain why they are different when the interest rate c..
Write vhdl code for the controller : Construct a state graph chart for the tape player controller. You may assume that only one of the four buttons can be pressed at any given time.
Personal and organization decisions : What is economics? What role does economics play in your personal and organization's decisions?
Show mealy and moore outputs on the sm chart : Construct an SM chart that is equivalent to the following state table. Test only one variable in each decision box. Try to minimize the number of decision boxes. Show Mealy and Moore outputs on the SM chart.
Social impact of technology : In your course, turn to Lesson 4. Skim through it to refresh your memory. Next, carefully study and review the section titled, "Ecological Challenges Facing Humanity." Skim through that and then focus on the topic of deforestation.
Noah and joan arc tax return : Noah and Joan Arc's Tax Return. For the current year, Joan's W-2 from the city fire department is located below. Noah made estimated federal income tax payments of $12,000 and estimated state income tax payments of $1,020 during the current year

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Calculate the capacitive reactance

Calculate the capacitive reactance/ph such that the load power factor is increased to 0.98 lag and calculate the percentage reduction in line current with this value of capacitive reactance in circuit.

  Find the average power supplied by the voltage source

Find the average power supplied by the voltage source

  Calculate the spectrum of s1

Calculate the spectrum of s1(t) and s2(t) for this case and calculate and plot the spectrum

  Find the sinusoidal expression for the input current

The power delivered in watts is 500. If the input voltage is 50 sin (ωt + 40°), find the sinusoidal expression for the input current.

  Explain difference in registered mode and combinational mode

A GAL is different from a PAL because A GAL has more inputs and outputs; A GAL is implemented with a different technology; A GAL can replace several different PAL's; A GAL can be reprogrammed and a PAL cannot

  What is the dominant general manager logic

What is the dominant general manager logic? How is this consistent with the principles of scale economies? How is it inconsistent with these principles?

  Find a point on the y-axis where the net e field is zero

An infinitely long line charge (Pl= 21 PI nC/m) lies along the Z-axis. An infinte area sheet charge PS= 3nC/m^2 lies in the X-Z plane at a distance Y =10 m. a) Using Gauss' law find the field E due to the line charge.

  What would be expect the voltage from the negative terminal

An otherwise-ideal op amp, known to have an open loop gain of 10^4 V/V , is measured in a circuit to have an output voltage of -3 V. While it would be difficult to measure, what would you expect the voltage from the negative terminal

  Phase relationship between the following waveforms

Q1. Find the phase relationship between the following waveforms. V 1=-10 sin(wt+60°) and V2= 10 sin(wt-20°) sketch these two waveforms

  Determine the change in output voltage for a temp change

At 0°C the circuit is balanced and at this temperature the RTD has a resistance of 200 W. Determine the change in output voltage for a 1°C change in temperature now assuming the meter has an internal impedance of 8,000 W.

  The speed of a dc machine is doubled

[1] If the speed of a DC machine is doubled and the flux remains constant, the generated e.m.f. (a) remains the same (b) is doubled

  Derive the matrices a and k in the lee and kalluri

Magnetized plasma method. Derive the matrices A and K in the Lee and Kalluri method, Equations (11.36), using symbolic matrix inversion.

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