a. Draw the State Diagram for the controller b. Then, name the states of the controller and assign state numbers to the states in the state mapping table. c.Then, use the state mapping table and your state diagram to complete the next state function and output function truth tables on page 5 of your answer document. Use “don’t cares” (X) for inputs and outputs as needed. d. Finally, write the simplified Boolean equation for the outputs (NS0, NS1, and NS2) of the next state function and the outputs (Zero, One, Two, Three, and Four) for the output function.
Design a finite state machine to control a device which consists of five sensors lined up in a row, controlled by the finite state machine’s outputs Zero, One, Two, Three, and Four. The five sensors scan an area outside a building. Each sensor scans one part of that area. When the sensor’s output is one, it is scanning its area, and when the sensor’s output is zero, it is not scanning its area. Only one sensor is on at a time meaning that each sensor takes a turn at being the sensor that is currently on. This turn taking follows a backand-forth motion going from left to right and then going from right to left. It is this “motion” that the finite state machine controls. The clock speed (which you do not need to know) regulates the rate of the motion. There are no inputs for the finite state machine.
a. Draw the State Diagram for the controller
b. Then, name the states of the controller and assign state numbers to the states in the state mapping table.
c.Then, use the state mapping table and your state diagram to complete the next state function and output function truth tables on page 5 of your answer document. Use “don’t cares” (X) for inputs and outputs as needed.
d. Finally, write the simplified Boolean equation for the outputs (NS0, NS1, and NS2) of the next state function and the outputs (Zero, One, Two, Three, and Four) for the output function.
PLEASE USE THE TABLES BELOW TO FULFILL THE QUESTION REQUIREMENT: PLEASE PLEASE\!!!!!!!!!!!
Step by step
Solved in 5 steps