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.

Analysis of HW/SW On-Chip Communication in MP SOC Design 135<br />

Table 10-2. Execution time and errors <strong>for</strong> JPEG and IS-95 CDMA mo<strong>de</strong>m example.<br />

Examples<br />

Methods<br />

Number<br />

of no<strong>de</strong>s<br />

Buffer<br />

size<br />

Execution<br />

cycles<br />

Runtime<br />

(sec)<br />

Errors<br />

(%)<br />

JPEG<br />

ILP w/o dyn. SW<br />

ILP w/ dyn. SW<br />

Heuristic<br />

ILP w/o dyn. SW<br />

ILP w/ dyn. SW<br />

Heuristic<br />

ILP w/o dyn. SW<br />

ILP w/ dyn. SW<br />

Heuristic<br />

30<br />

30<br />

30<br />

30<br />

30<br />

30<br />

30<br />

30<br />

30<br />

64<br />

64<br />

64<br />

32<br />

32<br />

32<br />

16<br />

16<br />

16<br />

141,249<br />

147,203<br />

147,203<br />

141,249<br />

153,157<br />

153,157<br />

141,249<br />

165,065<br />

165,065<br />

200.29<br />

11.43<br />

0.47<br />

194.30<br />

70.04<br />

0.51<br />

196.16<br />

15.02<br />

0.56<br />

–4.15<br />

0<br />

0<br />

–7.78<br />

0<br />

0<br />

–14.43<br />

0<br />

0<br />

IS-95<br />

CDMA<br />

mo<strong>de</strong>m<br />

ILP w/o dyn. SW<br />

ILP w/ dyn. SW<br />

Heuristic<br />

ILP w/o dyn. SW<br />

ILP w/ dyn. SW<br />

Heuristic<br />

49<br />

49<br />

49<br />

49<br />

49<br />

49<br />

64<br />

64<br />

64<br />

32<br />

32<br />

32<br />

1,288,079<br />

1,305,941<br />

1,305,941<br />

1,333,226<br />

1,570,771<br />

1,570,771<br />

156.26<br />

471.20<br />

4.68<br />

161.93<br />

482.70<br />

5.29<br />

–1.37<br />

0<br />

0<br />

–15.13<br />

0<br />

0<br />

5. CONCLUSION<br />

On-chip communication <strong>de</strong>sign needs SW part <strong>de</strong>sign (operating system,<br />

<strong>de</strong>vice driver, interrupt service routine, etc.) as well as HW part <strong>de</strong>sign (onchip<br />

communication network, communication interface of processor/IP/<br />

memory, shared memory, etc.). In this work, we tackle the problems of onchip<br />

communication scheduling that inclu<strong>de</strong>s SW dynamic behavior (interrupt<br />

processing and context switching) and HW buffer sharing. To resolve<br />

the problems, we present an ILP <strong>for</strong>mulation that schedules task execution<br />

and communication on HW/SW on-chip communication architectures as well<br />

as a heuristic scheduling algorithm.<br />

We applied our method to H.263 enco<strong>de</strong>r, JPEG enco<strong>de</strong>r, and IS-95 CDMA<br />

systems. Our experiments show that by consi<strong>de</strong>ring the dynamic SW behavior,<br />

we can obtain the accuracy of scheduling of about 99%, which is more than<br />

5%~15% improvement over naive analysis without consi<strong>de</strong>ring the dynamic<br />

SW behavior.<br />

REFERENCES<br />

1.<br />

2.<br />

J. Brunel, W. Kruijtzer, H. Kenter, F. Petrot, L. Pasquier, and E. Kock. “COSY Communication<br />

IP’s.” In Proceedings of Design Automation Conference, pp. 406–409, 2000.<br />

W. Cesario, A. Baghdadi, L. Gauthier, D. Lyonnard, G. Nicolescu, Y. Paviot, S. Yoo, A.<br />

Jerayya, and M. Diaz-Nava. “Component-based Design Approach <strong>for</strong> Multicore <strong>SoC</strong>s.” In<br />

Proceedings of Design Automation Conference, June 2002.

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

Saved successfully!

Ooh no, something went wrong!