a) Design and build a state machine that will control the transition between light settings of a traffic light unit as shown below in Figure 1. The design should include 3 positive edge triggered D flip-flops. Use 1 flip-flop to control the on and off of a given light, and the state machine should switch from Red (100) -> Red and Amber (110) - > Green (001) -> Amber (010) and repeat the cycle again, with the transition table shown below.

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)

Design and build a state machine that will control the transition between light settings of a traffic light unit as shown below in Figure 1.

The design should include 3 positive edge triggered D flip-flops. Use 1 flip-flop to control the on and off of a given light, and the state machine should switch from

Red (100) -> Red and Amber (110) - > Green (001) -> Amber (010)

and repeat the cycle again, with the transition table shown below.

Current state
Next state
000
100
100
110
110
001
001
010
010
100
АВС
A*B*C*
Table 1. A transition table for the traffic light unit
In this example, we have included an initial state "000" to force the state machine to enter state
"100" first and show a Red light when it starts. Any used states can be treated as Don't Cares.
Transcribed Image Text:Current state Next state 000 100 100 110 110 001 001 010 010 100 АВС A*B*C* Table 1. A transition table for the traffic light unit In this example, we have included an initial state "000" to force the state machine to enter state "100" first and show a Red light when it starts. Any used states can be treated as Don't Cares.
000
100
010
110
001
Figure 1. A state diagram for a traffic light control
Transcribed Image Text:000 100 010 110 001 Figure 1. A state diagram for a traffic light control
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
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