Pre-class Assignment
Complete participation activities for 13.1 – 13.2.
Announcements
- Lab 3 due Thursday March 7th at 2:40pm
- Lab tomorrow (Wednesday) in Singer 246
- I’m generally happy to give people extensions until after break, but the lab is designed for you to not have to work over break 🙂
- Do not forget to complete Challenge Activity 10.4.1 (and Challenge Activity 12.3.1 which we’ll go over today) before the end of Lab 3
- You may pick up parts from me after class or in lab
Learning Objectives and Outcomes
In this lecture, you will...
- listen to a short lecture about converting sync. SMs to C/C++
- outline the definitions of common state machine terms and generate a list of best practices
By the end of this lecture, you should be able to...
- complete all of lab 3
- design your own concurrent syncSMs and convert them to C
Lecture Content
Converting sync. SMs to C/C++
See 13.3, 13.4, 13.5.
Definitions of State Machines (In Class Activity)
Type |
Definition |
Tick period |
# of SMs |
Asynchronous SM |
|
|
|
Synchronous SM |
|
|
|
Concurrent Synch. SM |
|
|
|
Concurrent Asynch. SM |
|
|
|
You may refer to the textbook as you complete this exercise, but see what you can come up with on your own first.
Considerations for sync. SMs (In Class Activity)
Expand upon my state machine best practices to include considerations for concurrent synchronous state machines. Be sure your best practices address:
- how to choose a tick period