This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 0 0 f f b 1 1 g g h 0 1 h g a 1 0 2. Sequence Detector – Design a Mealy machine to recognize “1010” with D flip-flops using a) binary assignment and b) Gray code assignment. What are the equivalent gate counts of the next-logic in each assignment? 3. Vending Machine –A vending machine can deliver a package of gum after 20 cents are deposited. The machine has single coin slot for nickels (5 cents) or dimes (10 cents). The machine cannot make change. But if 25 cents are deposited, it will credit the buyer with 5 cents and wait for the buyer to make a second purchase. Use both binary and Gray code assignments for this design with D flip-flops Mealy machine....
View Full Document
- Spring '10
- Binary numeral system, slot machine, Hong Kong University, Gray code assignment