ECS 154A Lecture Notes - Lecture 13: Vending Machine, Hamming Distance

56 views2 pages

Document Summary

Lectures 13: vending machine fsm using different flip-flops. Design a vending machine that takes only dimes and quarters. Merchandise is dispensed (z = 1) when the sum of the inputs >= 30 cents. This machine does not give change. x1 = quarter, x2 = dime. Assume that it is not possible to input both quarters and dimes simultaneously. So we have a two input, single output system. The format on the edges will be x1,x2/output. Note that 0,0 is omitted, and would cause the machine to stay in its current state. Second, minimize the number of states through the partition minimization procedure. P2 = (i)(10) (20, 25) based on outputs. Since 20 and 25 have identical k-successors they will remain together. Since there are three states, we will need log23 = 2 flip-flops. As usual, we will start with si in 00.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents