Question

Design a finite state machine for a traffic light at the intersection of north-south traffic and...

Design a finite state machine for a traffic light at the intersection of north-south traffic and east-west traffic. The light can be red, green or yellow. Assume a 30 second clock. Assume that the light will change only if a car is coming in the other direction. If cars are in both north-south and east-west, the light will change from one direction to the other.                                                        

  1. What are the machine states?
  2. What are the inputs?
  3. What are the outputs?
  4. Draw state table.
  5. Draw state diagram.
  6. Develop the circuit for the NEXT STATE using combinational logic . You do not need to draw the circuit only the equations.

please explain specifically

0 0
Add a comment Improve this question Transcribed image text
Answer #1

State Coding : Code State NG one bit for 01 Input (Cic) (CNC) (NC; c) (NC; NC) Code 11 10 01 NY EG Ey each input 11 Input isare 1 So state bits So & Si NS = Next state, bits are Nso & NS1 IN S 01 00 NS 01 OO 01 .OUT 0 1 2 3 4 5 11000ol 100001 00 10DFF D si OT2 Si DFF Io So OT 3 Il & So OFF 0Т2 In Sotsi SO DEF Sotsi OTI DFF D OTA Sotsi Fora DAF OT 4 Solasi O TO DFF D OTO

Add a comment
Know the answer?
Add Answer to:
Design a finite state machine for a traffic light at the intersection of north-south traffic and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Design a finite state machine for a traffic light at the intersection of north-south traffic and...

    Design a finite state machine for a traffic light at the intersection of north-south traffic and east-west traffic. The light can be red, green or yellow. Assume a 30 second clock. Assume that the light will change only if a car is coming in the other direction. If cars are in both north-south and east-west, the light will change from one direction to the other. What are the machine states? What are the inputs? What are the outputs? Draw state...

  • 4: Develop a state machine diagram for a traffic light controller that works as follows: A...

    4: Develop a state machine diagram for a traffic light controller that works as follows: A timing signal T is the input to the controller. T defines the yellow light interval, as well as the changes of the red and green lights. The outputs tothe signals are defined by the following:GN Green Light, North/South SignalYN Yellow Light, North/South Signal RN Red Light, North/South SignalGE Green Light, East/West SignalYE Yellow Light, East/West SignalRE Red Light, East/West SignalWhile T 0 the green...

  • 3- Traffic Light Controller The diagram of figure 4 implified traffic light controll ents an intersection...

    3- Traffic Light Controller The diagram of figure 4 implified traffic light controll ents an intersection of a main road (North-South) and a side road (East-West). The er cycles the light (Red, Yellow, and Green) every one minutes for the side road and every three minutes. for the mairn Assuming t ming that a Llso, the controller ensures that the Red (N-S) and Red (EW) lasts for three l minute clock source is available, then NSREO NSYELLOW NSGREEN NSRED NSYELLOW...

  • Designing a Traffic Light Controller [50 pts] [Your originality, thinking method and execution would be graded]...

    Designing a Traffic Light Controller [50 pts] [Your originality, thinking method and execution would be graded] In Gotham city, traffic lights have three outputs as Red (R), Yellow (Y) or Green (G). Let's assume you're given a microchip with clock input 0.2 Hz. As you know.cars can travel when the light is Green and should not pass the traffic light when the light is Yellow or Red. We are asked to design the traffic light controller in the busiest road...

  • Digital Circuits CET 363 Traffic Control Problem Scenario: Intersection of an access road and main road...

    Digital Circuits CET 363 Traffic Control Problem Scenario: Intersection of an access road and main road with traffic signal. See figure. Vehicle-detection sensors are placed along lanes C and D (main road) and lanes A and B (access road). These sensor outputs are LOW (0) when no vehicle is present and HIGH (1) when a vehicle is present. The intersection traffic light is to be controlled according to the following 1. The east-west (E-W) traffic light will be green whenever...

  • Digital Circuits CET 363 Traffic Control Problem Scenario: Intersection of an access road and main road...

    Digital Circuits CET 363 Traffic Control Problem Scenario: Intersection of an access road and main road with traffic signal. See figure. Vehicle-detection sensors are placed along lanes C and D (main road) and lanes A and B (access road). These sensor outputs are LOW (0) when no vehicle is present and HIGH (1) when a vehicle is present. The intersection traffic light is to be controlled according to the following 1. The east-west (E-W) traffic light will be green whenever...

  • A car is travelling north at a speed 12.9 m/s toward an intersection when the traffic...

    A car is travelling north at a speed 12.9 m/s toward an intersection when the traffic light turns red. It takes the car 4.2 seconds to stop. (a) What is magnitude of the car’s average acceleration? (b) What is the direction of the car’s average acceleration? * east * south * north * west

  • Word Problem) Two two-way streets meet at an intersection controlled by a four-way traffic light. In...

    Word Problem) Two two-way streets meet at an intersection controlled by a four-way traffic light. In the east and west directions, the lights cycle from green to yellow to red. The south-facing lights do the same thing, except that they are red when the east-west lights are green or yellow, and vice versa. However, the north-facing lights are augmented with a green left turn arrow. They cycle red-green arrow-yellow arrow-green-yellow-red. Consider the following additional problem specifications: When the green or...

  • Please use system verilog: 03. Using FSM technique, write an HDL code for a traffic light...

    Please use system verilog: 03. Using FSM technique, write an HDL code for a traffic light controller with 3-bit active-high outputs (Red, Amber, and Green lights, respectively) for a 4-way intersection (North, East, South, West) that cycles through the states (ie. SO S1 S2 S3 SO etc.) for each trigger according to the scheme shown in the table below (default state So): States North East South West 34 North 37, SO100 East 001 100 Traffic Light Controller 001 3 South...

  • Design a state machine that implements the following description: Let’s design a simple controller for an...

    Design a state machine that implements the following description: Let’s design a simple controller for an elevator. The elevator can be at one of two floors: first or second. There is a button that controls the elevator (one input), and it has two values: up or down. Also, there are two lights in the elevator that indicate the current floor: blue for first, and yellow for second. At each time step, the controller checks the current floor and current input...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT