Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Design a FSM that controls the door. FSM has 4 states and changes states according to input value entered from keyboard. Input values can be
Design a FSM that controls the door. FSM has 4 states and changes states according to input value entered from keyboard. Input values can be 2 bit binary number (e.g. 01,11), and there is a single output connected to LED, turns the led on only when the FSM in final state, dooropen. - If system in inital state and input is 11, system enters the next state, dooropen output set to 1, else stays in inital state. -If system in second state and input 01, system enters the third state else goes to initial state. -If system in third state and input 01, system enters the final state else goes to initial state. -If system in final state,turns the led on, doesnt care the input goes to initial state A) Draw FSM 3) Write truth table for the FSM. c) Design the circuit according to truth table. ) Write verilog code for circuit in verilog
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