##
CIS 540: Principles of Embedded Computation, Spring 2016

### Logistics

- Instructor: Rajeev Alur
(alur@cis)
- Lectures: Monday, Wednesday, 10.30 -- Noon, Moore 212
- Recitation: Friday, Noon -- 1pm, Moore 212
- Teaching Assistant: Kuk Jang (jangkj@seas)
- Office Hours: Rajeev Alur: Tuesday, 4.30-5.30pm (Levine 609); Kuk Jang (to be announced)

### Introduction

This course is focused on the principles underlying design and analysis of
computational elements that interact with the physical environment.
Increasingly, such embedded computers are everywhere, from
smart cameras to medical devices to automobiles.
While the classical
theory of computation focuses on the function that a program computes,
to understand embedded computation, we need to focus on the
* reactive* nature of the interaction of a component with its
environement via inputs and outputs, the continuous dynamics of the physical
world, different ways of communication among components, and
requirements concerning safety, timeliness, stability, and performance.
Developing tools for approaching design, analysis, and implementation of
embedded systems in a principled manner is an active research area.
This course will attempt to give students a coherent introduction to
this emerging area.

### Prerequisites

This course assumes mathematical maturity, commensurate with
either ESE 210 (Introduction to Dynamical Systems) or
CIS 262 (Introduction to Theory of Computation).
It is suitable for students who have undergraduate degree in computer science,
or computer engineering, or electrical engineering. It is also suitable for
Penn undergraduates in CSCI and CMPE as an upper-level elective.

### Textbook

** Principles of Cyber-Physical Systems**; R. Alur, 2015, MIT Press.

### Grading

- Six Homeworks (30%): Each such homework will consist of theoretical problems.
- Course Project (20%): The project will focus on design, modeling, and formal analysis of
a representative cyber-physical system.
- Midterm (20%): In-class exam (March 2)
- Final Exam (30%) (Monday, May 2, Noon -- 2pm)

### Schedule

- Introduction: Jan 13 (Slides)
- Chapter 2: Synchronous Model: Jan 20 (Slides), 25 (Slides), 27 (Slides), and Feb 1 (Slides)
- Chapter 3: Safety Requirements: Feb 3 (Slides), 8 (Slides), 10 (Slides), and 15
- Chapter 4: Asynchronous Model: Feb 17, 22, 24, and 29
- Chapter 5: Liveness Requirements: March 14, 16, 21, and 23
- Chapter 6: Dynamical Systems: March 28, 30, April 4, and 6
- Chapter 7: Timed Model: April 11, 13, and 18
- Chapter 9: Hybrid Systems: April 20, 25, and 27

### Homeworks

- Homework 1 (25pts): Problems 2.3, 2.14, 2.16, 2.19, and 2.23; Due Feb 8

### Notes

- Lecture participation: If you are lost during a lecture, do not hesitate to ask questions.
When I ask a question, don't be shy, and answer it the best way you can.
You are not allowed to use electronic devices such as laptops
and mobile phones during a lecture except to access lecture slides.
- Recitation: Recitation will not cover new material, and will be used
to solve exercises, answer questions, and review background material.
- Grades will be posted canvas.
- We will use Piazza as a forum for course-related discussion.
- Plagiarism policy: For homeworks, projects, and exams, you can use your
personal class notes, lecture notes, and reference books.
Do not copy material from friends or from the web.
For violations of this rule, you will be reported to the Office of the Student Conduct at Penn, which may result in expulsion.
Please take the plagiarism rules serioiusly.
Start working on the homeworks and projects early, and if you get stuck, contact the instructor or the TA,
or post a question on Piazza.

Maintained by Rajeev Alur