Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a Coffee Vending Machine that accepts two inputs: D for dirhams, and F for fils. Assume that the machine only accepts dirhams and

Design a Coffee Vending Machine that accepts two inputs: D for dirhams, and F for fils. Assume that the

Design a Coffee Vending Machine that accepts two inputs: D for dirhams, and F for fils. Assume that the machine only accepts dirhams and 50 fils and that coins are inserted one by one. The machine does not give back money change so the buyer must insert the exact amount. For simplicity, assume that all coffee drinks are sold with the same price 1.5 dirhams. Coffee will be dispensed only when the 1.5 dirhams are inserted and the coffee drink C is pressed. Use D-flip flops (below is its corresponding table). Q(t) Q(t+1) D 0 0 0 11 0 1 1 0 0 1 1 1 a) How many memory states are required for the state diagram? (Note: states are based on coin insertion). Draw the state diagram. b) Draw the transition table. c) Is it Moore or Mealy Machine implementation. d) Write the expressions for the next states and the output y. e) Minimize the logic using K-maps. f) Draw the circuit implementation using D-flip flops and other logic gates if needed.

Step by Step Solution

3.40 Rating (163 Votes )

There are 3 Steps involved in it

Step: 1

Here is a stepbystep explanation of the design process a How many memory states are required for the state diagram Note states are based on coin insertion Draw the state diagram The number of memory s... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Digital Design and Computer Architecture

Authors: David Harris, Sarah Harris

2nd edition

9789382291527, 978-0123944245

More Books

Students also viewed these Programming questions

Question

4. Discuss the groups solution with the class.

Answered: 1 week ago