Answered step by step
Verified Expert Solution
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 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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started