Question
design using mealy or moore FSM
Design a system that we can fit in our mobile device so that it will lock the mobile only if we type a wrong pin number 3 con
0 0
Add a comment Improve this question Transcribed image text
Answer #1

For this I will be using Moore FSM.

For explaining this, I will be using two inputs, 0- Invalid PIN and 1- Valid PIN and two outputs, U-Unlock and L-Lock.

Algorithm:

1. State A accepts the PIN, if the PIN is valid (1), it goes to State B and device unlocks, otherwise if input is invalid (0) it goes to state C.
2. State C again asks for input, if the PIN is valid (1), it goes to State B and device unlocks, otherwise if input is invalid (0) it goes to state D.
3. State D asks the PIN for the third time, if the PIN is valid (1), it goes to State B and device unlocks, otherwise if input is invalid (0) it goes to state E.
4. State E locks the device.

Please find the diagram for the same.

Add a comment
Know the answer?
Add Answer to:
design using mealy or moore FSM Design a system that we can fit in our mobile device so that it will lock the mobile only if we type a wrong pin number 3 consecutive times. show all your work....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT