Soda vending machine designnbspdesign a soda vending

Assignment Help Computer Engineering
Reference no: EM13363432

Soda Vending Machine Design 

Design a soda vending machine that can deliver three kinds of soda, A, B and C. All the three soda cost the same amount - 70 cents. The vending machine has four coin slots, one each for nickel (N = 5c), dime (I = 10c), quarter (Q = 25c) and dollar (D = 100c). Coins are inserted into the machine one at a time in any order. The machine should take coins until 70 cents or more has been put in. When this occurs, the machine should wait for the choice of the soda A, B or C. 

After the choice is made, the machine is ready for vending. 

The machine should indicate vending by turning on one of the lines A_O, B_O or C_O for 1 second. During this time the machine cannot accept any coins. After 1 second, the machine is ready to accept coins again. The machine does not return any change. The machine should be a Finite State Machine (FSM) operating with a 100 Hz clock. The machine should have a reset input (R), which when pressed and released puts the machine in READY mode. Whenever this happens, the machine should display the total amount accumulated since last reset. Also, the internal amount accumulated is reset to zero cents. 

Write a VHDL code that implements the above soda machine. You have to turn in the following: 

1. A state diagram showing the implementation of your design. Clearly show all the states and the conditions on which transitions occur. 

(a) Normal operation of soda vending, showing the order in which the coins are inserted, the state transitions and the vending process. Show that your machine does not accept coins when the machine is vending. 

(b) Show the reset operation after a few sodas are vended, clearly displaying the total amount accumulated and the state change. 

Reference no: EM13363432

Questions Cloud

Plot character and settingldquothe story of an hourrdquo : plot character and settingldquothe story of an hourrdquo kate chopin pp. 204-207ldquoa rose for emilyrdquo william
Locating the position of hubthe following table gives the : locating the position of hubthe following table gives the map coordinates and the shipping loads for a set for a set of
Worldview globalcomreview the scenario detailed below odhs : worldview globalcomreview the scenario detailed below. odhs selected the worldview globalcom product for implementation
Nbspthe last stop boutique is having a five-day sale each : nbspthe last stop boutique is having a five-day sale. each day startingnbspon monday the price will drop 10 of the
Soda vending machine designnbspdesign a soda vending : soda vending machine designnbspdesign a soda vending machine that can deliver three kinds of soda a b and c. all the
Solve the following problems and be able to discuss them : solve the following problems and be able to discuss them relative to the financial management of a company.thress
Research topic nbspsleep cycles and the effects of sleep : research topic nbspsleep cycles and the effects of sleep deprivation. nbsp nbsp submit the final product ndash your
Selection criteria you would use to -weed the siteswhen : selection criteria you would use to -weed the siteswhen youre working on your final project you are responsible for
What makes a fast-food restourant successfulvisit a fast : what makes a fast-food restourant successfulvisit a fast food restaurant and answer these questions.1 in what ways is

Reviews

Write a Review

Computer Engineering Questions & Answers

  Explain basic principles of the socio-technical approach

Cite real-world experiences to draw direct connections to the theories. create a note of the social circumstances that relate to the concepts presented by the theories.

  What do you mean by pbx

take a call between a user in the company and another user out of the company who is connected to a traditional telephone network. What sort of technology is needed at the interface between the LAN and the traditional telephone network.

  Questiondescribe us what type of data standard are we

questiondescribe us what type of data standard are we dealing with in each scenario metadata spatial or attribute?1.

  Explain the difference between analog and digital

explain the difference between Transmission Control Protocol (TCP) and Internet Protocol (IP).

  Define computers with a huge number of neuron circuits

If the brain is a computer and the mind its workings, is this a fitting analogy of computer and its software? What would happen if we had dedicated computers with a huge number of neuron circuits? Would intelligence develop? Would we be able to un..

  Implementing the program

Write down the program which will enable a teacher to calculate the percentage and the final grade for the students in a class.

  Define the life cycle of an information system

suppose that you run a photography printing store. Your employees have been using punch cards for time entry since you started the business

  Write a program that reads in two sparse matrices and stores

We are assuming that the matrices are too large to fit into memory as arrays, thus all calculations must be carried out with the matrices stored in their linked list format.

  Questionconsider a ram of 4m words x 32 bitsword that has

questionconsider a ram of 4m words x 32 bitsword that has data lines address lines read and write down and select

  Write down a program that has a function named presentvalue

Write down a program that has a function named presentValue

  What is total capacity of a track

What is total capacity of a track

  What is the aim of web accessibility standards

recognize three important commandments to be followed in web design, and explain why they are important.

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