This preview shows pages 1–2. Sign up to view the full content.
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
This note was uploaded on 09/16/2010 for the course ELEC 151 taught by Professor Cy during the Spring '10 term at HKUST.
- Spring '10