Answered step by step
Verified Expert Solution
Question
1 Approved Answer
[50 pts] Garage Code Detector: Consider an FSM that has a 4-bit input N3:0 that indicates the number being pressed by a user. The output
[50 pts] Garage Code Detector: Consider an FSM that has a 4-bit input N3:0 that indicates the number being pressed by a user. The output is G which, when it asserts (becomes 1), opens a garage door. When the user inputs the sequence 5-9-3 on the keypad (as indicated by the input N3:0 ), the output G should assert. You may assume that a new input from a user is detected on each clock edge. Design the FSM as a Moore FSM. Use one-hot encoding and a minimum number of states. Show all of your work, including your final schematic. The following input sequences should open the door: 5-9-3 OR 5-5-5-9-3 etc. The following should assert G twice: 5-9-3-5-9-3. The following input sequences should not open the door: 5-9-9-3 OR 5-5-9-1-9 etc
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started