3. (20 pts.) Your task is to design the control for an automatic chocolate bar vending...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
3. (20 pts.) Your task is to design the control for an automatic chocolate bar vending machine. The chocolate bars inside the machine cost 2.55 TL, and the machine accepts TL and Kuru coins only. The inputs to the control are a set of two signals that indicate what kind of coin has been deposited, as well as a reset signal. The control should generate an output signal that causes the chocolate bar to be delivered whenever the amount of money received is 2.55 TL or more and will return any change (if appropriate). Once the chocolate bar has been delivered the machine will then reset itself to the starting state to wait for another input. a. (8 pts.) Identify your inputs and outputs, and draw the ASM chart that implements this finite state machine. b. (12 pts) Draw a primitive flow table for this machine, and reduce the flow table to minimum number of states. c. (10 pts) Design the vending machine control logic using primitive (AND, OR, inverter) gates, trying to avoid critical races, false outputs, and hazards. d. (10 pts) Design the vending machine using D type Flip-Flop. Show the details of your work for full credit. 3. (20 pts.) Your task is to design the control for an automatic chocolate bar vending machine. The chocolate bars inside the machine cost 2.55 TL, and the machine accepts TL and Kuru coins only. The inputs to the control are a set of two signals that indicate what kind of coin has been deposited, as well as a reset signal. The control should generate an output signal that causes the chocolate bar to be delivered whenever the amount of money received is 2.55 TL or more and will return any change (if appropriate). Once the chocolate bar has been delivered the machine will then reset itself to the starting state to wait for another input. a. (8 pts.) Identify your inputs and outputs, and draw the ASM chart that implements this finite state machine. b. (12 pts) Draw a primitive flow table for this machine, and reduce the flow table to minimum number of states. c. (10 pts) Design the vending machine control logic using primitive (AND, OR, inverter) gates, trying to avoid critical races, false outputs, and hazards. d. (10 pts) Design the vending machine using D type Flip-Flop. Show the details of your work for full credit.
Expert Answer:
Related Book For
Organic Chemistry
ISBN: 978-1118133576
11th edition
Authors: Graham Solomons, Craig Fryhle, Scott Snyder
Posted Date:
Students also viewed these programming questions
-
Design a control system for a hot coffee vending machine using D flip-flop. Hot coffee inside the machine costs 70 cents, and the machine accepts 50 cents and 20 cents only. The inputs to the control...
-
MUST BE CORRECT ANSWERS A small software company has the following simplified cashflow, funded by shareholders' equity of 20,000 and a bank overdraft of 5000: Invoiced money received 2 months after...
-
LO 1,3 SPREADSHEET 1: Total net income: $20,600 1: Total assets: $45,000 Preparation and Interpretation of Financial Statements P9. Bachino's Pizza's accounts follow. The company has just completed...
-
Lululemon Athletica inc. has seen a significant amount of growth over the last three years. The following selected information is available for three recent fiscal years: Instructions (a) Using...
-
A complete binary tree of N elements uses array positions 1 to N. Suppose we try to use an array representation of a binary tree that is not complete. Determine how large the array must be for the...
-
An often-ignored concept in breach of contract is the availability, if any, of the award of punitive damages. Often, cases incorporate both breach of contract and tort actions. The tort actions...
-
Consecutive five-year balance sheets and income statements of Donna Szabo Corporation are shown below and on the following page. Required a. Compute or determine the following for the years 20052009:...
-
Define the general - purpose financial statements and points out the limitation of such statements.
-
The Florida Retail Company (FRC) is a collection of small consumer electronic retail stores. The company is known for its personal and efficient service.Susan Bender, the Vice President of...
-
Problem #4: A perpetuity pays $4500 at the end of every month for 11 months of each year. At the end of the 12th month of each year, it pays double that amount. If the effective ANNUAL rate is 10.6%,...
-
46 47 48 Periods per year = 49 Number of years = 50 Price on Par (%) 51 Annual YTM= 52 Par Value = 3456 Problem #5 BFM Enterprises has a semiannual coupon bond that matures in 12 years. The yield to...
-
a. Year 0 1 2 5. Consider the following two mutually exclusive projects (the required return on both projects is 1296) (21+3+6-30 Points) 3 CFS S (256,000) $ 68,000 $ 45,000 $ 56,000 $ 252,000 EDCFS...
-
How does globalization influence and recreate social, political, organizational, and business-oriented borders and processes, particularly with regard to cultural and communicative issues: meetings...
-
For gift tax purposes, upon the creation of a grantor retained interest trust, the interest retained by the grantor must be a qualified interest. A qualified interest reduces the value of the taxable...
-
5.2 kg/s of steam enters an adiabatic turbine at 6 MPa and 550 C and leaves at 1.2 MPa. If the isentropic efficiency of the turbine is 0.782, calculate (a) the entropy change of the fluid during the...
-
CdF2 (s) Cd+ (aq) + 2 F- (aq) 1. A saturated solution of CdF2 is prepared. The equilibrium in the solution is represented above. In the solution [Cd+] eq = 0.0585 M and [F-] eq = 0.117 M. a....
-
How would you convert 2-nonyne into (E)-2-nonene?
-
(a) Androsterone, a secondary male sex hormone, has the systematic name 3a-hydroxy- 5a-androstan-17-one. Give a three-dimensional formula for androsterone. (b) Norethynodrel, a synthetic steroid that...
-
Write bond-line three-dimensional formulas for the starting compound, the product, and all of the intermediates in a synthesis similar to the one just given that relates the configuration of...
-
A Pepsi promotion encouraged consumers to collect Pepsi points and redeem them for merchandise. If they did not have quite enough points for the prize they wanted, they could buy additional points...
-
John and Jennifer Margeson entered into a contract to sell a weight-loss franchise business called Inches-A-Weigh to Theresa Artis. The parties memorialized their agreement in an Asset Purchase...
-
What is the mirror-image rule?
Study smarter with the SolutionInn App