CREATE A FSM STATE DIAGRAM USING THE FOLLOWING INFORMATION: The system has four states, which represent the current level of the elevator (in order from highest level to lowest level): Entrance Floor (ground level), Employee Parking (first underground level), Underground Parking 2 (one level below em- ployee parking), Underground Parking 3 (two levels below employee parking) •The system has two 1-bit inputs: Up (label: u), Down (label: d) •The system has one 2-bit output: Level (label: L or L1 and L0 for each individual bit, where index 1 indicates the MSB and index 0 the LSB) •If the Up button is pressed, the elevator goes to the level above. If the elevator is already in the highest level, pressing the Up button will have no effect and will stay in the current level. In case the level above is the employee parking, the elevator will skip this level and go directly to the level above it. •If the Down button is pressed, the elevator goes to the level below. If the elevator is already in the lowest level, pressing the Down button will have no effect and will stay at the current level. In case the level below is the employee parking, the elevator will skip this level and go directly to the level below it. •The employee parking button combination is the following: Pressing both buttons, Up and Down, at the same time. This is the only input that will allow the elevator to move from any level directly to the employee parking level. If the elevator is already in the employee parking, this combination will have no effect and will stay at that level. •While the elevator is in the employee parking level, pressing Down will move the elevator to the level below it. Pressing Up will move the elevator to the level above it. •If no button is pressed, the elevator will do nothing and stay in the current level. •The 2-bit output L will indicate the level in binary for Entrance Floor (00), Em- ployee Parking (01), Underground Parking 2 (10) and Underground Parking 3 (11). •The developer of this elevator - unfortunately - chose an encoding of the states that is different from the system output: The Entrance Floor is encoded with 11, Employee Parking with 10, Underground Parking 2 with 01 and Underground Parking 3 with 00
CREATE A FSM STATE DIAGRAM USING THE FOLLOWING INFORMATION: The system has four states, which represent the current level of the elevator (in order from highest level to lowest level): Entrance Floor (ground level), Employee Parking (first underground level), Underground Parking 2 (one level below em- ployee parking), Underground Parking 3 (two levels below employee parking) •The system has two 1-bit inputs: Up (label: u), Down (label: d) •The system has one 2-bit output: Level (label: L or L1 and L0 for each individual bit, where index 1 indicates the MSB and index 0 the LSB) •If the Up button is pressed, the elevator goes to the level above. If the elevator is already in the highest level, pressing the Up button will have no effect and will stay in the current level. In case the level above is the employee parking, the elevator will skip this level and go directly to the level above it. •If the Down button is pressed, the elevator goes to the level below. If the elevator is already in the lowest level, pressing the Down button will have no effect and will stay at the current level. In case the level below is the employee parking, the elevator will skip this level and go directly to the level below it. •The employee parking button combination is the following: Pressing both buttons, Up and Down, at the same time. This is the only input that will allow the elevator to move from any level directly to the employee parking level. If the elevator is already in the employee parking, this combination will have no effect and will stay at that level. •While the elevator is in the employee parking level, pressing Down will move the elevator to the level below it. Pressing Up will move the elevator to the level above it. •If no button is pressed, the elevator will do nothing and stay in the current level. •The 2-bit output L will indicate the level in binary for Entrance Floor (00), Em- ployee Parking (01), Underground Parking 2 (10) and Underground Parking 3 (11). •The developer of this elevator - unfortunately - chose an encoding of the states that is different from the system output: The Entrance Floor is encoded with 11, Employee Parking with 10, Underground Parking 2 with 01 and Underground Parking 3 with 00
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
100%
CREATE A FSM STATE DIAGRAM USING THE FOLLOWING INFORMATION:
The system has four states, which represent the current level of the elevator (in
order from highest level to lowest level): Entrance Floor (ground level), Employee
Parking (first underground level), Underground Parking 2 (one level below em-
ployee parking), Underground Parking 3 (two levels below employee parking)
•The system has two 1-bit inputs: Up (label: u), Down (label: d)
•The system has one 2-bit output: Level (label: L or L1 and L0 for each individual
bit, where index 1 indicates the MSB and index 0 the LSB)
The system has four states, which represent the current level of the elevator (in
order from highest level to lowest level): Entrance Floor (ground level), Employee
Parking (first underground level), Underground Parking 2 (one level below em-
ployee parking), Underground Parking 3 (two levels below employee parking)
•The system has two 1-bit inputs: Up (label: u), Down (label: d)
•The system has one 2-bit output: Level (label: L or L1 and L0 for each individual
bit, where index 1 indicates the MSB and index 0 the LSB)
•If the Up button is pressed, the elevator goes to the level above. If the elevator is
already in the highest level, pressing the Up button will have no effect and will stay
in the current level. In case the level above is the employee parking, the elevator
will skip this level and go directly to the level above it.
•If the Down button is pressed, the elevator goes to the level below. If the elevator
is already in the lowest level, pressing the Down button will have no effect and
will stay at the current level. In case the level below is the employee parking, the
elevator will skip this level and go directly to the level below it.
•The employee parking button combination is the following: Pressing both buttons,
Up and Down, at the same time. This is the only input that will allow the elevator
to move from any level directly to the employee parking level. If the elevator is
already in the employee parking, this combination will have no effect and will stay
at that level.
•While the elevator is in the employee parking level, pressing Down will move the
elevator to the level below it. Pressing Up will move the elevator to the level above
it.
•If no button is pressed, the elevator will do nothing and stay in the current level.
•The 2-bit output L will indicate the level in binary for Entrance Floor (00), Em-
ployee Parking (01), Underground Parking 2 (10) and Underground Parking 3
(11).
•The developer of this elevator - unfortunately - chose an encoding of the states
that is different from the system output: The Entrance Floor is encoded with 11,
Employee Parking with 10, Underground Parking 2 with 01 and Underground
Parking 3 with 00
already in the highest level, pressing the Up button will have no effect and will stay
in the current level. In case the level above is the employee parking, the elevator
will skip this level and go directly to the level above it.
•If the Down button is pressed, the elevator goes to the level below. If the elevator
is already in the lowest level, pressing the Down button will have no effect and
will stay at the current level. In case the level below is the employee parking, the
elevator will skip this level and go directly to the level below it.
•The employee parking button combination is the following: Pressing both buttons,
Up and Down, at the same time. This is the only input that will allow the elevator
to move from any level directly to the employee parking level. If the elevator is
already in the employee parking, this combination will have no effect and will stay
at that level.
•While the elevator is in the employee parking level, pressing Down will move the
elevator to the level below it. Pressing Up will move the elevator to the level above
it.
•If no button is pressed, the elevator will do nothing and stay in the current level.
•The 2-bit output L will indicate the level in binary for Entrance Floor (00), Em-
ployee Parking (01), Underground Parking 2 (10) and Underground Parking 3
(11).
•The developer of this elevator - unfortunately - chose an encoding of the states
that is different from the system output: The Entrance Floor is encoded with 11,
Employee Parking with 10, Underground Parking 2 with 01 and Underground
Parking 3 with 00
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 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