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

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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