Draw the state diagram below for the stopwatch finite state machine controller that has two inputs (B1 and 2), three outputs (Zero, Running, and Stopped), and the three states listed in the state assignment table below. 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 BI 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. Assume the stopwatch begins in the Zero state. Each output is one when the stopwatch finite state machine is in the state that matches the output name, and zero otherwise. Fill in the Next State Function Truth Table and Output Function Truth Table below for the stopwatch finite state machine controller. Si 0 0 1 1 Bl BOOOooo 1 1 0 0 0 0 0 0 0 1 1 Inputs 1 So 0 1 0 1 B2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 State Name Not Used Zero Running Stopped Present State PSo 0 PS₁ 0 0 1 1 0 0 1 0 0 1 0 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Next State NS₁ NSo Present State PS₁ 0 0 1 1 Outputs Running Stopped Zero PSo 0 1 0 1
Draw the state diagram below for the stopwatch finite state machine controller that has two inputs (B1 and 2), three outputs (Zero, Running, and Stopped), and the three states listed in the state assignment table below. 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 BI 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. Assume the stopwatch begins in the Zero state. Each output is one when the stopwatch finite state machine is in the state that matches the output name, and zero otherwise. Fill in the Next State Function Truth Table and Output Function Truth Table below for the stopwatch finite state machine controller. Si 0 0 1 1 Bl BOOOooo 1 1 0 0 0 0 0 0 0 1 1 Inputs 1 So 0 1 0 1 B2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 State Name Not Used Zero Running Stopped Present State PSo 0 PS₁ 0 0 1 1 0 0 1 0 0 1 0 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Next State NS₁ NSo Present State PS₁ 0 0 1 1 Outputs Running Stopped Zero PSo 0 1 0 1
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Please help me with this Computer science homework

Transcribed Image Text:Draw the state diagram below for the stopwatch finite state machine controller that has two inputs
(B1 and 52), three outputs (Zero, Running, and Stopped), and the three states listed in the state assignment
table below. 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 Bl
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. Assume the stopwatch begins in the Zero state. Each output
is one when the stopwatch finite state machine is in the state that matches the
output name, and zero otherwise. Fill in the Next State Function Truth Table
and Output Function Truth Table below for the stopwatch finite state machine
controller.
Si
0
B1
0
0
0
0
1
1
0
0
0
1
0
0
1
1
1
1
1
1
1
So
0
1 Zero
Inputs
0 Running
1
Stopped
B2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
State Name
Not Used
1
1
Present State
PS:
PSo
0
0
0
1
1
0
0
1
1
0
0
1
0
0
1
1
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Next State
NS₁
NSo
Present State
PS₁
PSo
0
0
0
1
0
1
1
1
Zero
Outputs
Running Stopped
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step 1: a. Here is the state diagram for the stopwatch finite state machine controller:
VIEWStep 2: b. Using the state mapping table provided, we can fill up the truth tables for the finite state mach
VIEWStep 3: c. The simplified Boolean equation for the outputs (NS0 and NS1) of the next state function and the
VIEWStep 4: ALTERNATIVE SOLUTION
VIEWStep 5: Step 2 of 4:)
VIEWStep 6: Step 3 of 4:) & Step 4 of 4:)
VIEWSolution
VIEWStep by step
Solved in 7 steps with 4 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education