DVA455-Assignment+Template
DVA455-Assignment+Template
Hints:
1. Replace all red text in brackets (<…>) with your answer, and change to black
2. Make sure that the text is understandable — write only as much as necessary
3. Draw nice images, use figure numbers and captions and explain them in the text
4. Remove additional red text instructions, for example this text.
Good luck!
Assignment 1: Requirements and High-level Design
<Subsystem 1>: <The short description of subsystem 1 provided by the teacher>
<Subsystem 2>: <The short description of subsystem 2 provided by the teacher>
<If you make any other assumptions about these subsystems, explain this here.>
TR 1.1: <e.g., The conveyor belt must stop within 1 second after the emergency
button is pressed.>
Motivation: <Explain how you came up with this value…>
<Function 2: ...>
2. High-level Design
Sensors
<E.g.:
>
Actuators
<E.g.:
Heater: The temperature is adjusted by a heater with three heating levels (off,
min, max).
Light: …
>
Tasks
<T2: …>
Timing motivation
<For each timing requirement in Section 1, motivate why it is satisfied by this
design (the high-level design together with the periods and precedencies).>
<…>
Assignment 2: Task Parameter Assignment and
Schedulability Analysis
<If you were given specific feedback about things to change compared to
assignment 1, include that here.>
2. FPS scheduling
<A short description and motivation for the priority assignment used, e.g. why
they ensure the precedencies.>
Verdict: The task set is FPS schedulable under the above priority assignment
since <…>.
If the initial task set is not schedulable, adjust the parameters to make it
schedulable, without jeopardizing the timing requirements. Describe what
adjustments you made to reach a schedulable system.
3. EDF scheduling
<If needed, adjust the deadlines. Motivate the deadlines, e.g. why they ensure
precedencies.>
Period WCET Adjusted
Task Task name
deadline
T1 ComputePosition 20 4 20
If the initial task set is not schedulable, adjust the parameters to make it
schedulable, without jeopardizing the timing requirements. Describe what
adjustments you made.
4. Offline Scheduling
<Describe how you constructed the offline schedule and why it is a good
solution.>
<Offline schedule>
Figure 5: Offline schedule
Assignment 3: Resource Sharing and Communication
1. Shared resources
Shared Critical
Task Task name Period WCET Deadline Priority
Resource section
T1 <R1> <3>
<R2> <5>
T2 <None>
If the original task set is not schedulable, adjust the parameters to make it
schedulable, without jeopardizing the timing requirements. Describe what
adjustments you made.
2. Distributed systems
<Describe the architecture of the distributed system (how many nodes (ECUs)
and which sensors/actuators are connected to which node).>
<Describe the allocation of tasks to hardware nodes and list the resulting
network communication in Figure 8.>
Sends Message
Deadlin
Task Task name Period WCET Priority messag priority
e
e to
T1 <T5> <High>
<T6> <Medium>
T2 <None>
If the original task set is not schedulable, adjust the parameters to make it
schedulable, without jeopardizing the timing requirements. Describe what
adjustments you made.