aLec15_FSM - Introduction to Embedded Microcomputer Systems...

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

View Full Document Right Arrow Icon
Introduction to Embedded Microcomputer Systems Lecture 15.1 Jonathan W. Valvano Recap Debugging Intrusiveness Monitors and dumps Overview Finite State Machines (Section 8.7) State graph to assembly Lab 4. Traffic Light Controller This lab has these major objectives: • The usage of linked list data structures; • Create a segmented software system; • an input-directed traffic light controller. Limitations three switches six LEDs PP7 connected to red LED See description of actual Lab 4 assignment PT1=0, PT0=0 means no cars exist on either road PT1=0, PT0=1 means there are cars on the East road PT1=1, PT0=0 means there are cars on the North road PT1=1, PT0=1 means there are cars on both roads North East R G Y RYG PT1 PT0 PT7 PT6 PT5 PT4 PT3 PT2 9S12 Figure 6.19. Traffic light interface. goN , PT7-2 = 100001 makes it green on North and red on East waitN , PT7-2 = 100010 makes it yellow on North and red on East goE , PT7-2 = 001100 makes it red on North and green on East waitE , PT7-2 = 010100 makes it red on North and yellow on East goN 30 Next if input is 01 or 11 100001 Wait time 01,11 00,10 waitN 5 100010 goE 30 001100 waitE 5 010100 00,01, 10,11 01,11 00,01 00,01,10,11 Output Figure 6.20. Graphical form of a Moore FSM that implements a traffic light.
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.

This note was uploaded on 09/19/2010 for the course E E 16280 taught by Professor Valvano during the Fall '10 term at University of Texas at Austin.

Page1 / 4

aLec15_FSM - Introduction to Embedded Microcomputer Systems...

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