1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Elis [28]
3 years ago
10

Vending machine controller (adapted from Katz, "Contemporary Logic Design") Design and implement a finite state machine that con

trols a vending machine. The vending machine sells packages of gum that cost 15 cents each. The machine accepts nickels (5 cents) and dimes (10 cents). After someone has inserted 15 cents, the FSM will send an output signal to a mechanical system that releases a package of gum. If a customer inserts 20 cents (two dimes, they will get a pack of gum but they will not receive any change back. In addition to standard reset and clock signals, your FSM will have two input signals: N and D. N is asserted when the customer has inserted a nickel and D is asserted when the customer inserts a dime. (You can assume that both can never be asserted at the same time. The system has one output Y, which indicates that the mechanical system should dispense the gum. After the system outputs Y = 1 for one clock cycle, it returns to its initial state for the next customer.
(a) Draw a Moore-style state diagram that shows the function of your system. (Hint: you can do it in only four states.)
(b) Choose a state encoding to use and indicate it clearly. Use full binary encoding, that is, make your four states have values 00, 01, 10, and 11. Here, give a table that shows which encoding value you will use for each of the states in your state machine.
(C) Draw the binary encoded state table. That is, make a table that shows how Q1, Q, and Y relate to Qı, Qo, N, and D.
(d) Write and simplify Boolean expressions for Q1, Q., and Y.. about the system's reset.

Engineering
1 answer:
babunello [35]3 years ago
6 0

Answer:

Check the explanation

Explanation:

A vending machine controller is that type of machine that comes with a single serial port on the same chip as the programmable processor. The controller comprises of a port arbitrator that selectively attaches or links one of a number of serially communicating devices to this single serial port.

Kindly check the attached image to get the step by step explanation to the above question.

You might be interested in
In a website browser address bar, what does “www” stand for?
Ludmilka [50]

Answer:

www stands for world wide web

Explanation:

It will really help you thank you.

3 0
3 years ago
- You have a bin wrench turning a 1/2 13 UNC bolt. You overcome 1200 lbs of resistance when you
andrew11 [14]

Fr

is my guess but yeah

6 0
3 years ago
thermal energy is being added to steam at 475.8 kPa and 75% quality. determine the amount of thermal energy to be added to creat
eduard

Answer:

q_{in} = 528.6\,\frac{kJ}{kg}

Explanation:

Let assume that heating process occurs at constant pressure, the phenomenon is modelled by the use of the First Law of Thermodynamics:

q_{in} = h_{g} - h_{mix}

The specific enthalpies are:

Liquid-Vapor Mixture:

h_{mix} = 2217.2\,\frac{kJ}{kg}

Saturated Vapor:

h_{g} = 2745.8\,\frac{kJ}{kg}

The thermal energy per unit mass required to heat the steam is:

q_{in} = 2745.8\,\frac{kJ}{kg} - 2217.2\,\frac{kJ}{kg}

q_{in} = 528.6\,\frac{kJ}{kg}

7 0
3 years ago
Antihistamines are used to treat_______.
gladu [14]

Answer:

<h2>Antihistamines are used to treat hay fever.</h2><h3>I hoped it helped</h3><h2>#Se xy EMPRESS</h2>
8 0
3 years ago
Read 2 more answers
Light trucks and vans were mandated what year
Archy [21]

Answer: The first nationwide US light duty vehicle emission standards were implemented in 1968, and subsequently reviewed every couple of years. New standards were referred to by the effective model year of the regulation from 1968 to 1987

6 0
2 years ago
Other questions:
  • (3) In the following power system, the transformer is assumed to be ideal. Determine the: a) currents and voltages across each i
    9·1 answer
  • Basic output with variables (Java) This zyLab activity is intended for students to prepare for a larger programming assignment.
    7·1 answer
  • 6
    5·1 answer
  • Plz give solutions..... ​
    6·1 answer
  • The thermal energy is carried by electromagnetic waves
    12·1 answer
  • Help me, iv been having problems with ads going in my phones storage files, what can i do to stop this?
    14·2 answers
  • When block C is in position xC = 0.8 m, its speed is 1.5 m/s to the right. Find the velocity of block A at this instant. Note th
    14·1 answer
  • Which type of engineer is needed in the following scenario?
    8·2 answers
  • Water flow enters a pipe at a velocity of 1m/s. The pipe inlet is 10cm. The pipe outlet is 6cm. 1. Determine the velocity of the
    9·1 answer
  • How many squares titles (20cm x 20cm) are needed to coat the sides and base of a pool which is 10m long, 6 meter wide and 3m dee
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!