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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Detecting Soft Errors by a Purely <strong>Software</strong> Approach 47<br />

Table 4-1. Main characteristics of the studied programs.<br />

CMA original<br />

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

Overhead<br />

Execution time (cycles)<br />

Co<strong>de</strong> size (bytes)<br />

Data size (bytes)<br />

1‚231‚162<br />

1‚104<br />

1‚996<br />

3‚004‚036<br />

4‚000<br />

4‚032<br />

2.44<br />

3.62<br />

2.02<br />

registers‚ the program co<strong>de</strong> and the application workspace. During fault<br />

injection sessions‚ faults were classified according to their effects on the<br />

program behavior. The following categories were consi<strong>de</strong>red:<br />

Effect-less: The injected fault does not affect the program behavior.<br />

<strong>Software</strong> Detection: The implemented rules <strong>de</strong>tect the injected fault.<br />

Hardware Detection: The fault triggers some hardware mechanism (e.g.‚<br />

illegal instruction exception).<br />

Loss Sequence: The program un<strong>de</strong>r test triggers some time-out condition<br />

(e.g.‚ endless loop).<br />

Incorrect Answer: The fault was not <strong>de</strong>tected in any way and the result is<br />

different from the expected one.<br />

In or<strong>de</strong>r to quantify the error <strong>de</strong>tection capabilities‚ two metrics were introduced:<br />

the <strong>de</strong>tection efficiency and the failure rate<br />

Where:<br />

D represents the number of <strong>Software</strong> Detection faults<br />

L is the number of Loss-Sequence faults<br />

E is the number of Incorrect Answer faults<br />

H is the number of Hardware Detection faults<br />

3.1.1. Fault injection in the DSP32C registers<br />

Table 4-2 reports the results obtained by injecting faults mo<strong>de</strong>ling a bit flip<br />

in the internal registers of DSP32C processor. To obtain realistic results‚ the<br />

number of injected faults was selected according to the total number of<br />

processor cycles nee<strong>de</strong>d to execute the programs; in<strong>de</strong>ed the faults injected<br />

into the processor can affect the program results only during its execution.<br />

Thus‚ 8000 faults were injected into the CMA Original‚ while 19520 were<br />

injected <strong>for</strong> the CMA Har<strong>de</strong>ned (according to the penalty time factor about 2<br />

times given in Table 4-1).

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

Saved successfully!

Ooh no, something went wrong!