whileSM1Clk SM1Clk 0 while 1 Main Timing Diagrams Timings

Whilesm1clk sm1clk 0 while 1 main timing diagrams

This preview shows page 4 - 6 out of 6 pages.

TickFct_State_machine_1(); while(!SM1_Clk); SM1_Clk = 0; } // while (1) } // Main Timing Diagrams: Timing’s Worst Case: 250 ms
Image of page 4

Subscribe to view the full document.

HW6Z5
Image of page 5
HW6Z5 CH5 OUTLINE A task is a unique continuously-executing behavior, such as the task of toggling an LED whenever a button is pressed. Concurrent tasks are tasks that execute at the same time. A block diagram shows each task as a block, and uses a directed line to show that a block writes to an output (or reads from an input) Serialization of concurrent tasks is standard in computing systems and is called multi-tasking . Executing each task for every period is a straightforward form of what is called round-robin task execution. A variable’s scope refers to the regions of a system that can see that variable. For a multiple synchSM system, a local variable’s scope is limited to a particular synchSM, while a global variable’s scope spans multiple synchSM’s. Prepending the C keyword static to the local variable definitions causes those variables to be permanent and thus maintain their values across function calls, as required to correctly execute a SynchSM.
Image of page 6
  • Fall '13

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes