Write a VHDL description for the state- machine diagram for the jawbreaker vending machine described in Problem

Question:

Write a VHDL description for the state- machine diagram for the jawbreaker vending machine described in Problem 4-38. You may obtain the state- machine diagram by either solving Problem 4-38 or finding its solution on the textbook website.

Problem 4-38:

You are to ind the state- machine diagram for the following electronic vending-machine speciication. The vending machine sells jawbreaker candy, one jawbreaker for 25¢. The machine accepts N (nickels = 5¢), D (dimes = 10¢), and Q (quarters = 25¢). When the sum of the coins inserted in sequence is 25¢ or more, the machine dispenses one jawbreaker by making DJ equal to 1 and returns to its initial state. No change is returned DJ equals 0 for all other states. If anything less than 25¢ is inserted and the CR (Coin Return) pushbutton is pushed, then the coins deposited are returned through the coin return slot by making RC equal to 1, after which the machine returns to its initial state. RC equals 0 in all other states. Use Moore outputs for your design.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Logic And Computer Design Fundamentals

ISBN: 9780133760637

5th Edition

Authors: M. Morris Mano, Charles Kime, Tom Martin

Question Posted: