modeling a sequential circuit using vending machine

Thread Starter

FUNJOKE

Joined Feb 16, 2009
11
a)u r equired to design a moore type FSM dispense a piece of candy for 50 cent.The machine accepts 10 cent and 20 cent coins only.It takes 50 cent to dispense one candy from the machine.If 60 cent is deposited,the machine will not return the change but will credit the buyer with 10 cent and wait for the buyer to make a second purchase.

encoding method:binary
implementation tech:t flip flop


b)u are required to design a mealy type FSM dispense a piece of candy for 50 cent.The machine accepts 10 cent and 20 cent and coins only.It takes 50 cent to dispense one candy from the machine.If 60 cent is deposited,the machine will not return the change but will credit the buyer with 10 cent and wait for the buyer to make a second purchase.

encoding method: gray
implementation tech:Jk flip flop

ANYONE WHO KNOW THIS QUESTION PLS HELP ME !!!THANKS! URGENT FOR ASSIGNMENT !
 

RiJoRI

Joined Aug 15, 2007
536
1) Where are you from, that you have 20-cent coins?
2) A machine that does not give change is guaranteed to not sell -- too many machines would get broken into by irate customers!

Now, to go from the real world to this "professor's world," HOW FAR HAVE YOU GOTTEN IN YOUR OWN EXPLORATION?
-- What's the difference between a Mealy FSM and a Moore one?
-- How does a list of steps translate into states?
-- How do you transition from state to state?

--Rich
Remember, Google is a great aid, as well as the electronics book at this site.
 
Last edited:
Top