Subject: ACOE433 - ADVANCED EMBEDDED SYSTEMS Time: 2.5 hours

Instructions to candidates: Please answer 4 OUT OF 5 questions.

Instructions to invigilators: Students are allowed to use scientific calculators.

Question 1:

A)  List the three common features of embedded systems

B)  List the embedded system classification criteria

C)  Specify if the following systems are embedded systems, and if yes classify them. Which embedded system features do they have or not have?

i)  Car ABS controller

ii)  FTP server

iii)  Printer

iv)  Laptop/notebook

Question 2:

Consider an outdoor fire detection system based on termperature and smoke sensors. The system should check all the sensors and if the temperature and smoke rise above a certain threshold, give an alarm using a loudspeaker.The alarm should be deactivated by pushing a button. Specify:

A. Functional requirements

B. Non-functional requirements

D. Sequence diagram

E. State diagram

Question 3:

Consider a digital alarm clock. Specify:

A. Functional requirements

B. Non-functional requirements

D. State diagram for the function that sets the time using the buttons (hours and minutes)

E. Pseudo-code for function that sets the time (hours and minutes)

Question 4:

On the following code, perform the following transformations in the order given, if applicable:

1

1

i)  Loop interchange

ii)  Loop reversal

iii)  Loop unrolling by 2

iv)  Loop unrolling by 4

1

1

int arm_example()

{

int i;

int sum=0;

for (i= 0; i<32; i++)

{

for (j= 0; j8; j++)

{

sum+ = a[i]*b[i];

}

}

return sum;

}

Question 5:

(A) Sort the following embedded computing system implementation platforms from less efficient to more efficient for each design metric given below:

Implementation platforms: general purpose processor, application-specific processor, FPGA, ASIC

Design metrics: performance, design effort, cost, power consumption

(B) An embedded system manufacturing company must select between three technologies with different maturities for its final product. Calculate the one generating the highest revenue from the choices below for an expected market of 1,000,000 units and a selling price of 15$. All necessary calculations must be shown. (10 marks)


Technology A: NRE cost = 5M$, unit cost $8

Technology B: NRE cost = 16M$, unit cost $5

Technology C: NRE cost = 21M$, unit cost $4

1