A stopwatch has three states named Zero, Running, and Stopped. There are two buttons, named B1 and B2. For each button, pressing the button produces a 1 and not pressing the button produces a 0. B1 works as follows: If the stopwatch is in the Zero state, pressing B1 causes it to advance to the Running state. If the stopwatch is in the Running state, pressing B1 causes it to advance to the Stopped state. If the stopwatch is in the Stopped state, pressing B1 causes it to return to the Running state. Pressing B2 has no effect unless the stopwatch is in the Stopped state, in which case pressing B2 (even if B1 is pressed) causes the stopwatch to go to the Zero state. Design a finite state machine controller for this stopwatch that has two inputs (B1 and B2) and three outputs, one for each of the three states. The state of the controller uses two J-K flip-flops. a. Draw the State Diagram for the controller. b.Then, use the state mapping table below and your state diagram to complete the truth tables. Use “don’t cares” (X) for inputs and outputs as needed. S1 S0 StateName 0 0 Not Used 0 1 Zero 1 0 Running 1 1 Stopped c.Finally, write the simplified Boolean equation for the outputs (NS0 and NS1) of the next state function and the outputs (Zero, Running, and Stopped) for the output function
A stopwatch has three states named Zero, Running, and Stopped. There are two buttons, named B1 and B2. For each button, pressing the button produces a 1 and not pressing the button produces a 0. B1 works as follows: If the stopwatch is in the Zero state, pressing B1 causes it to advance to the Running state. If the stopwatch is in the Running state, pressing B1 causes it to advance to the Stopped state. If the stopwatch is in the Stopped state, pressing B1 causes it to return to the Running state. Pressing B2 has no effect unless the stopwatch is in the Stopped state, in which case pressing B2 (even if B1 is pressed) causes the stopwatch to go to the Zero state. Design a finite state machine controller for this stopwatch that has two inputs (B1 and B2) and three outputs, one for each of the three states. The state of the controller uses two J-K flip-flops. a. Draw the State Diagram for the controller. b.Then, use the state mapping table below and your state diagram to complete the truth tables. Use “don’t cares” (X) for inputs and outputs as needed.
S1 S0 StateName
0 0 Not Used
0 1 Zero
1 0 Running
1 1 Stopped
c.Finally, write the simplified Boolean equation for the outputs (NS0 and NS1) of the next state function and the outputs (Zero, Running, and Stopped) for the output function
**********************can you fill up this tables below with respect to state diagram from QUESTION PART *******************************************
Trending now
This is a popular solution!
Step by step
Solved in 4 steps
This my third times requesting for the same outcome,. can you fill up the tables that i have sent the pictures of above? Pleaase donot copy and paste the answer