# (Solved) : Design Two Story Elevator Two States Design Q36872166 . . .

\$9.00

Design a two story elevator. There are more than two states forthis design.

Design and implement a finite state machine which controls the operation of an elevator in a blkding. The finite state machine (FSM) has 1 input: 1. enable (enables operation of elevator) The FSM has three outputs: 1. door (if door 0, door is closed if door 1 , door is open) 2. Current floor number (Use an LED, the two states (ON/OFF) of the LED represents the two floors). Moving (display that the elevator is moving) 3. The operation of the elevator is as follows: The elevator must begin in an idle state (on one of the two valid floors) with the door ckrxd. . The user should set/reset the enable input When the user sets the enable input, the elevator should perform the following sequence o Open the door for 4 seconds o Close the door o Move the elevator to the destination floor in 4 seconds and display the o o o current floor number using an LED Open the door for 4 seconds Close the door Go to Idle state Remain in the same floor if enable input is reset. Repeat the sequence if the enable input is set. The elevator will complete the sequence if enable signal is reset in the middle of the sequence Assume that the clock frequency is 4 Hz . Show transcribed image text Design and implement a finite state machine which controls the operation of an elevator in a blkding. The finite state machine (FSM) has 1 input: 1. enable (enables operation of elevator) The FSM has three outputs: 1. door (if door 0, door is closed if door 1 , door is open) 2. Current floor number (Use an LED, the two states (ON/OFF) of the LED represents the two floors). Moving (display that the elevator is moving) 3. The operation of the elevator is as follows: The elevator must begin in an idle state (on one of the two valid floors) with the door ckrxd. . The user should set/reset the enable input When the user sets the enable input, the elevator should perform the following sequence o Open the door for 4 seconds o Close the door o Move the elevator to the destination floor in 4 seconds and display the o o o current floor number using an LED Open the door for 4 seconds Close the door Go to Idle state Remain in the same floor if enable input is reset. Repeat the sequence if the enable input is set. The elevator will complete the sequence if enable signal is reset in the middle of the sequence Assume that the clock frequency is 4 Hz .