
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Homework 3 : Due Thurs, April 23
means a nickel inserted, = 10 means a dime inserted, and = 11 means a quarter inserted). It returns change; assume that the user will not put in more then a total of 25 cents and that the amount of change to be returned is always available. Three outputs are required from the FSM, one is “OPEN”
5 cents change, = 10 for 10 cents change). Draw a clear block diagram of the system (see, e.g., the block diagram of the simpler vending machine system in the lecture notes on “Sequential Circuit Synthesis”) and then give the FSM’s state-transition diagram. Label the states so that it is clear what they represent. 100
not use multi-function QM, though it will be useful here, and I understand you’ll be thrilled to have that opportunity).
(b) Now implement the FSM using the one-hot design style and D-FFs. 100 (c) Compare the following metrics of the one-hot and binary encoing designs you have obtained: (i) The total logic cost in terms of total AND and OR gate inputs across all the logic gates (FFs are not counted here). Show your analysis clearly and methodically. 50 (ii) The maximum delay in the next-state transition and output logic circuit part of the the two designs.
units of ns). Show your analysis clearly and methodically. 100