The objective of this homework is to build a coin counter for a vending machine. The...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The objective of this homework is to build a coin counter for a vending machine. The vending machine counts coins in any combination up to 25 cents. 1) Draw a state diagram, you should have states for each amount of coinage so far, that is 0, 5, 10, 15, 20 and 25 cent states. Only one coin can be put in at a time, either quarter dime or nickel. Make each of these an input, Quarter, Dime, and Nickel. Calculate output Z=1 when you get to 25 cents, otherwise Z=0. Some combinations will take you to more than 25 cents you can create an overflow state to handle that circumstance, maybe call it OF. 2) Assign state numbers to be implemented in flipflops for each state representing 0,5,10,15,20 and 25 cents, and your overflow state. 3) Using this state assignment create a state table. 4) Using the data from the state table create a truth table for Q2*, Q*, Qo*, and Z. 5) Using Karnaugh maps or Boolean Algebra find Q2*, Q*, and Qo*, and Z. 6) Implement this Q2*=D2, Q1*=D, and Qo*=Do, using D flipflops and digital logic. Also use digital logic to create output Z. The objective of this homework is to build a coin counter for a vending machine. The vending machine counts coins in any combination up to 25 cents. 1) Draw a state diagram, you should have states for each amount of coinage so far, that is 0, 5, 10, 15, 20 and 25 cent states. Only one coin can be put in at a time, either quarter dime or nickel. Make each of these an input, Quarter, Dime, and Nickel. Calculate output Z=1 when you get to 25 cents, otherwise Z=0. Some combinations will take you to more than 25 cents you can create an overflow state to handle that circumstance, maybe call it OF. 2) Assign state numbers to be implemented in flipflops for each state representing 0,5,10,15,20 and 25 cents, and your overflow state. 3) Using this state assignment create a state table. 4) Using the data from the state table create a truth table for Q2*, Q*, Qo*, and Z. 5) Using Karnaugh maps or Boolean Algebra find Q2*, Q*, and Qo*, and Z. 6) Implement this Q2*=D2, Q1*=D, and Qo*=Do, using D flipflops and digital logic. Also use digital logic to create output Z.
Expert Answer:
Related Book For
Digital Systems Design Using Verilog
ISBN: 978-1285051079
1st edition
Authors: Charles Roth, Lizy K. John, Byeong Kil Lee
Posted Date:
Students also viewed these programming questions
-
Developments in Technology Light is incident from air on the end face of a multimode optical fibre at angle of incidence as shown below. n n 1 2 The refractive indices of the core and cladding are...
-
ENSURE WORK IS ORIGINAL OR I REJECT AND REPORT YOU TON THE SUPPORT INSTANTLYThe end result does now not should be taken care of. You may additionally expect n 6 length(xs). [Hint: Function least is a...
-
Cancer is a frightening disease. The biological process that creates cancerous cells from healthy tissue is poorly understood at best. Much research has been conducted into how external conditions...
-
Of what use to management are job order cost sheets? Why do some job order cost sheets contain columns for both budgeted and actual costs?
-
Rewrite the expression without using the absolute-value symbol. |x - 2 | if x < 2
-
Refer to Googles financial statements in Appendix A to compute its equity ratio as of December 31, 2015, and December 31, 2014. Data From Google Financial Statement Appendix A Google Inc....
-
Exchange Corp. is a company that acts as a facilitator in tax-favored real estate swaps. Such swaps, know as 1031 exchanges, permit participants to avoid some or all of the capital gains taxes that...
-
Artificial Intelligence (AI) has begun to take over many functions in the firm, including pricing, recruitment, talent promotion, advertising, loan issuance, default risk prediction, supply chain and...
-
Based on assessing your overall health, how important is exercise and fitness to you? How do you make healthier cholces on a college campus? Do you believe college students see excess weight as a...
-
A (50 + v/2) mF capacitor discharges in an element so that the voltage across the capacitor is v(t) = 20 et/t where t = (0.1 + y/1000) s. Find the following at t = 100 ms. a. The total energy in the...
-
How to check if a given year is a leap year in Java? Explain
-
"In Java, what alternative methodologies can be employed to perform addition of two numbers without utilizing the plus operator?"
-
If your mass is 6 0 kg , then your weight in an elevator moving upward with an acceleration of 5 m / s 2 , is?
-
On Jul 1, BGA issued $1,500,000 of Bonds Payable at 95, with semi-annual, 6% interest due next on Jan 1. Bonds have two year maturity and mature on Jul 1, 2019. Accrue the Interest Expense and...
-
On January 1, Starlight Corp. (a calendar year taxpayer) recorded $600,000 of goodwill as a result of a business acquisition that it made. the corporation elected to amortize it over 15 years for tax...
-
Could a set of three vectors in span all of? Explain. What about n vectors in when n is less than m? R4
-
Consider the following programmable I/O block: Highlight the connections to configure this I/O block as an INPUT pin. Specify the five configuration bits. CONFIGURATION BITS Vcc OUT 3-STATE LATCHED...
-
Make a one-hot state assignment for Figure 4-53 and write the next-state and output equations by inspection. Then change the state assignment so that S 0 is assigned 0000000, S 1 is assigned 1100000,...
-
Illustrate how to realize the following equations using a minimum number of the Stratix IV logic module. Display the input/output by drawing a diagram and highlight the data path on the diagram. X +...
-
State whether you think a business would recognise the following as an expense. When would it be recognised? a Depreciation $350 b Wages to be paid in the next month $1200 c Electricity bill due to...
-
What is the difference between operating expenses and non-operating expenses. Give examples of each.
-
What is the link between the income statement and the statement of owners equity?
Study smarter with the SolutionInn App