Question: Design and implement an FSM to control an elevator for a building with ( mathbf { 3 } ) floors. Simulate the

Design and implement an FSM to control an elevator for a building with \(\mathbf{3}\) floors. Simulate the FSM to verify its functionality.
\begin{tabular}{|c|c|c|c|c|}
\hline Input/Output & \begin{tabular}{l}
Signal \\
Name
\end{tabular} & Meaning & \begin{tabular}{l}
\# of \\
bits
\end{tabular} & Note \\
\hline \multirow{4}{*}{Input} & reset_i & Resets the machine & 1 & \begin{tabular}{l}
- Connected to a button \\
- Asynchronous
\end{tabular}\\
\hline & clock_i & Clock signal & 1 & 50 MHz \\
\hline & up_btn_i & Request to move up & 1 & \begin{tabular}{l}
- Connected to a button \\
- One button on each floor
\end{tabular}\\
\hline & down_btn_i & Request to move down & 1 & \begin{tabular}{l}
- Connected to a button \\
- One button on each floor
\end{tabular}\\
\hline \multirow[b]{2}{*}{Output} & cur_floor_o & Indicates the floor where the elevator is & 4 & Connected to a 4-input 7 segment LED \\
\hline & direction_o & Direction Indicator: Up or down & 1 & Connected to 2 LEDs \\
\hline
\end{tabular}
Note: The Direction Indicator should be on for 2 seconds before the Floor Indicator changes its value.
Design and implement an FSM to control an

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!