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
Problematic substances mechanical engeneering???
Sonja [21]

Answer:

The climate crisis. ...

Making water clean and accessible. ...

Providing enough food. ...

Personalised and relevant education. ...

Improving health care. ...

The refugee crisis. ...

Cyber security. ...

Enlisting the youth

6 0
2 years ago
) In a disk test performed on a specimen 32-mm in diameter and 7 mm thick, the specimen fractures at a stress of 680 MPa. What w
Radda [10]

Answer:

Sorry it doesnt tall me anythikng

Explanation:

6 0
2 years ago
PLEASE HELP ME!!!!!! 100 POINTS FOR HELPFUL ANSWERS + BRAINLIEST!!!!!
const2013 [10]

Answer:

well you could get some green goblin it disolves all the c rap in sink

Explanation:

6 0
2 years ago
Read 2 more answers
Primary mental skills needed for riding a motorcycle
Irina-Kira [14]

Answer:

You have to know the basic mechanics to help you correctly use the motorcycle, and you also have to have the right mindset - knowing you can ride it, and having determination. All of these factors are the primary mental skills you need for riding a motorcycle.

5 0
2 years ago
Select the correct answer.
MAVERICK [17]

Answer:crane and engine I guess

Explanation:

8 0
3 years ago
Other questions:
  • Use the convolutional integral to find the response of an LTI system with impulse response ℎ(????) and input x(????). Sketch the
    8·1 answer
  • How does fouling affects the performance of a heat exchanger?
    6·1 answer
  • Assuming that the following three variables have already been declared, which variable will store a Boolean value after these st
    14·1 answer
  • A long bone is subjected to a torsion test. Assume that the inner diameter is 0.375 in. and the outer diameter is 1.25 in., both
    14·1 answer
  • The rainfall rate in a certain city is 20 inches per year over an infiltration area that covers 33000 acres. Twenty percent of t
    6·1 answer
  • Technician A says that in a worm gear steering system, most excessive steering free play is usually found in the gearbox. Techni
    13·1 answer
  • When you come to an intersection, follow the _________ before you proceed.
    6·2 answers
  • The hydrofoil boat has an A-36 steel propeller shaft that is 100 ft long. It is connected to an in-line diesel engine that deliv
    8·1 answer
  • The image shows the relative positions of Earth and the Sun for each of the four seasons. Earth travels in an elliptical orbit a
    11·2 answers
  • The air conditioner in a house or a car has a cooler that brings atmospheric air from 30C to 10C, with both states at 101KPa. If
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!