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

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

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 *******************************************

 

s)
Truth Tables for the Stopwatch Finite State Machine Controller:
+
Inputs
B1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
B2
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
Next State
NS₁ NSO
0
0
1
1
1
0
1
Present State
PS₁ PS⁰
0
0
0
1
0
1
Present State
PS₁ PSO
0
0
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
J₁
1
0
1
0
1
0
1
0
1
0
1
0
1
Next State
NS₁ NSO
Flip-Flop
Inputs
K₁
Jo
Ко
Outputs
Zero Running Stopped
Transcribed Image Text:s) Truth Tables for the Stopwatch Finite State Machine Controller: + Inputs B1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 B2 0 0 1 1 1 1 0 0 0 1 1 1 1 0 0 0 0 Next State NS₁ NSO 0 0 1 1 1 0 1 Present State PS₁ PS⁰ 0 0 0 1 0 1 Present State PS₁ PSO 0 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 J₁ 1 0 1 0 1 0 1 0 1 0 1 0 1 Next State NS₁ NSO Flip-Flop Inputs K₁ Jo Ко Outputs Zero Running Stopped
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

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 

 

Solution
Bartleby Expert
SEE SOLUTION
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY