Question: (b) The control system for an embedded system has 4 concurrent tasks running on a single microcontroller as given in Table Q2(b). Task 1 and

 (b) The control system for an embedded system has 4 concurrent

(b) The control system for an embedded system has 4 concurrent tasks running on a single microcontroller as given in Table Q2(b). Task 1 and 3 are hard real time, while Task 2 and 4 are soft real time. Table Q2(b) Task Period (ms) CPU resources (ms) Deadline (ms) 1 80 10 80 (hard) 2 30 10 35 (soft) 3 50 2 50 (hard) 4 10 45 (soft) 40 (i) (ii) Construct an appropriate priority assignment for each of the 4 tasks according to the rate monotonic scheduling (RMS) algorithm. (4 marks) Assess the ability of each task to meet its deadline based on the worst-case completion time of RMS calculation. (11 marks) (b) The control system for an embedded system has 4 concurrent tasks running on a single microcontroller as given in Table Q2(b). Task 1 and 3 are hard real time, while Task 2 and 4 are soft real time. Table Q2(b) Task Period (ms) CPU resources (ms) Deadline (ms) 1 80 10 80 (hard) 2 30 10 35 (soft) 3 50 2 50 (hard) 4 10 45 (soft) 40 (i) (ii) Construct an appropriate priority assignment for each of the 4 tasks according to the rate monotonic scheduling (RMS) algorithm. (4 marks) Assess the ability of each task to meet its deadline based on the worst-case completion time of RMS calculation. (11 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!