Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started