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
Which one is dependent variable?
GREYUIT [131]

Answer:

The dependent variable is MEDV - Median value of owner-occupied homes in $1000's

Explanation:

The median value of the house has to be predicted, based on its properties and neighborhood properties, this can be done by using a linear regression model.

The dependent variable in Machine Learning is the output variable that we want to predict.

Therefore, according to the question given "MEDV" is the dependent variable.

8 0
3 years ago
What should you use to turn the water off and open the door?
galina1969 [7]

youn need to use your hands

7 0
3 years ago
Read 2 more answers
What is required when setting up a smart phone as a WIFI hotspot?
emmainna [20.7K]
How to create a personal hot spot on an iPhone?

Go to Settings | Cellular | Personal Hotspot.

Tap the slider next to Allow Others to Join. ...

Your Wi-Fi Password will be shown right underneath the Allow Others to Join option. ...

Now, on another device, such as a laptop, go to the Wi-Fi section and search for nearby networks.
5 0
3 years ago
How is air pressure affected by the shape of an aircraft wing
oksano4ka [1.4K]

Answer:

Airplanes' wings are curved on top and flatter on the bottom. That shape makes air flow over the top faster than under the bottom. As a result, less air pressure is on top of the wing. This lower pressure makes the wing, and the airplane it's attached to, move up.

Explanation:

3 0
3 years ago
Question # 5
spayn [35]

The statement which best characterizes the relationship between a general contractor and a construction manager is that; A construction manager subcontracts a general contractor to perform <em>work</em>.

A construction project manager is saddled with the responsibility of overseeing the planning and delivery of construction projects.

  • In essence, they ensure that work is completed on time and within budget. Other functions include organising logistics, delegation of work and tracking of spending.

A general contractor otherwise known as the prime contractor is responsible for the day-to-day oversight of a construction site,<em> employment of labour, management of vendors and trades, and most importantly, the communication of information to all involved parties throughout the course of a building project.</em>

  • <em>Ultimately</em><em>,</em><em> </em><em>the </em><em>relationship</em><em> </em><em>between</em><em> </em><em>a </em><em>general contractor and a construction manager is that; A construction manager subcontracts a general contractor to perform work.</em>

<em>Read </em><em>more</em><em>:</em>

<em>brainly.com/question/17157892</em>

3 0
3 years ago
Other questions:
  • Calculate the maximum internal crack length allowable for a 7075-T651 aluminum alloy component that is loaded to a stress one-ha
    15·1 answer
  • 12. The small space above the piston in which fuel is burned is called the
    10·1 answer
  • How far do you jog each morning? You prefer to jog in different locations each day and do not have a pedometer to measure your d
    14·1 answer
  • 10. True or False: You should select your mechanic before you experience vehicle failure.
    6·2 answers
  • If a toy car covers a distance of 42m in 7sec, what is it’s speed
    9·2 answers
  • 1)A wheel is used to turn a valve stem on a water valve. If the wheel radius is 1 foot and the stem, (axle), radius is .5 inches
    10·1 answer
  • Explain the underlying physical reason why when we conduct various heat treatments on 1018 steel we expect the modulus of elasti
    8·1 answer
  • An ideal gas is contained in a closed assembly with an initial pressure and temperature of
    14·1 answer
  • A jointed arm robot can rotate on the following 6 axes?
    8·1 answer
  • 'Energy' has the potential to:
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!