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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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