29.01.2015 Views

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

48 Chapter 4<br />

Table 4-2. Experimental results – faults injected in the DSP32C registers.<br />

Program version<br />

#Injected<br />

faults<br />

#Effect<br />

less<br />

Detected-faults<br />

#<strong>Software</strong><br />

<strong>de</strong>tection<br />

#Hardware<br />

<strong>de</strong>tection<br />

Un<strong>de</strong>tected-faults<br />

#Incorrect<br />

answer<br />

#Loss<br />

sequence<br />

Original CMA 8000<br />

7612<br />

(95.15%)<br />

-<br />

88<br />

(1.10%)<br />

114<br />

(1.43%)<br />

186<br />

(2.32%)<br />

Har<strong>de</strong>ned CMA 19520<br />

18175<br />

(93.11%)<br />

1120<br />

(5.74%)<br />

193<br />

(0.99%)<br />

25<br />

(0.13%)<br />

7<br />

(0.03%)<br />

In or<strong>de</strong>r to compare both versions of the CMA program, the <strong>de</strong>tection efficiency<br />

and the error rate were calculated according to equations 4-1 and 4-2;<br />

Table 4-3 summarizes the obtained figures.<br />

As shown in Table 4-3, <strong>for</strong> the har<strong>de</strong>ned CMA program were <strong>de</strong>tected more<br />

than 80% of the injected faults which modify the program’s behavior, while<br />

the error rate was drastically reduced; a factor higher than 20.<br />

Table 4-3. Detection efficiency and error rate <strong>for</strong> both program versions.<br />

Detection efficiency<br />

Error rate<br />

CMA Original<br />

none<br />

3.75%<br />

CMA Har<strong>de</strong>ned<br />

83.27%<br />

0.16%<br />

3.1.2. Fault injection in the program co<strong>de</strong><br />

Results gathered from fault injection sessions when faults were injected in the<br />

program co<strong>de</strong> itself are shown in Table 4-4. The number of injected faults in<br />

the program co<strong>de</strong> was chosen as being proportional to the memory area<br />

occupied by each tested program.<br />

Table 4-5 illustrates the corresponding <strong>de</strong>tection efficiency and error rate<br />

calculated from results obtained when faults were injected in the program<br />

Table 4-4. Experimental results – faults injected in the program co<strong>de</strong>.<br />

Program version<br />

#Injected<br />

faults<br />

#Effect<br />

less<br />

Detected-faults<br />

#<strong>Software</strong><br />

<strong>de</strong>tection<br />

#Hardware<br />

<strong>de</strong>tection<br />

Un<strong>de</strong>tected-faults<br />

#Incorrect<br />

answer<br />

#Loss<br />

sequence<br />

Original CMA<br />

2208<br />

1422<br />

(64.40%)<br />

_<br />

391<br />

(17.71%)<br />

217<br />

(9.83%)<br />

178<br />

(8.06%)<br />

Har<strong>de</strong>ned CMA<br />

8000<br />

5038<br />

(62.98%)<br />

1658<br />

(20.73%)<br />

1210<br />

(15.12%)<br />

50<br />

(0.62%)<br />

44<br />

(0.55%)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!