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 129<br />

boolean variable representing the state of no<strong>de</strong><br />

constant boolean value representing the access type of communication<br />

no<strong>de</strong><br />

Communication <strong>de</strong>lay is caused by both SW and HW communication architectures.<br />

We <strong>de</strong>compose the <strong>de</strong>lay into three parts as follows.<br />

where n is the communication data size and and are<br />

the <strong>de</strong>lays of SW communication architecture, HW communication interface,<br />

and on-chip communication network, respectively. The <strong>de</strong>lay of software communication<br />

architecture is given by<br />

where is ISR <strong>de</strong>lay, is CS <strong>de</strong>lay and is <strong>de</strong>vice driver<br />

<strong>de</strong>lay. If the software task is running on a processor, ISR <strong>de</strong>lay and CS <strong>de</strong>lay<br />

are zero. Else, the task is blocked and is in a wait state and the communication<br />

interface interrupts the processor to wake up the task. Thus, the ISR and<br />

CS <strong>de</strong>lay should be counted into the communication time.

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

Saved successfully!

Ooh no, something went wrong!