lab7_f11_traffic_controller

lab7_f11_traffic_controller - University of Florida EEL...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Florida EEL 3701 — Fall 2011 Dr. Eric M. Schwartz Revision 0 20-Oct-11 Page 1/2 Lab 7: Example State Machine: Traffic-Light Controller OBJECTIVES The objective of this lab is to design and implement a state machine using a CPLD. You will use an ASM to design a traffic light controller and implement this state machine on your proto-board using your UF-3701 CPLD board, switch circuits and LED circuits. MATERIALS Debounced switch circuit (from previous labs), switch circuits, LED circuits, and UF-3701 CPLD board Print the file Creating Graphical Components from the Software/Docs page of the website, under the Quartus heading. Bring this printout to lab. SPECIFICATIONS Design a state machine to control the traffic lights at the intersection of a main street and a cross street. To reduce the number of LEDs needed in lab, you only need to control the light outputs for the main street, not the cross street. The traffic light controller has three active-high outputs ( Red, Yellow, Green ), and two inputs: c ar w aiting at cross street [ CW(H) ] and e mergency v ehicle approaching [ (EV(L) ]. Figure 1. Traffic Light 4 lane main street 2 lane cross street Traffic light TIMING: 1. Main Street green light normally stays on for five cycles. However, if an emergency vehicle comes up to the light (while traveling down the cross street), EV will go true and this can occur during any of the five green cycles. If this occurs, the light should immediately turn yellow and stay on for at least one clock cycle (but no more than two) and then proceed on to
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

lab7_f11_traffic_controller - University of Florida EEL...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online