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.

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

the timing analysis using the JPEG and IS-95 CDMA examples. Since these<br />

examples require prohibitively long simulation runtime, we exclu<strong>de</strong> simulation.<br />

First we per<strong>for</strong>med experiments with an H.263 vi<strong>de</strong>o enco<strong>de</strong>r system as<br />

<strong>de</strong>picted in Figure 10-4(a). It has seven tasks including Source, DCT,<br />

Quantizer (Q), De-Quantizer IDCT, Motion Predictor, and Variable<br />

Length Co<strong>de</strong>r (VLC). Input stream is a sequence of qcif (176 × 144 pixels).<br />

We clustered four tasks (DCT, Q, and IDCT) into a single unit, which<br />

we call Macro Block (MB) Enco<strong>de</strong>r (see Figure 10-4(b)). In the experiment<br />

we used two target architectures: one with point-to-point interconnection<br />

(Figure 10-4(c)) and the other with an on-chip shared bus (Figure 10-4(d)).<br />

In the target architecture, Source and VLC were mapped on ARM7TDMI<br />

microprocessor and MB Enco<strong>de</strong>r and Motion Predictor were mapped on their<br />

own <strong>de</strong>dicated hardware components. On the ARM7TDMI processor, we ran<br />

an embed<strong>de</strong>d configurable operating system (eCos) [15] of Redhat Inc.<br />

The execution <strong>de</strong>lay of SW <strong>for</strong> tasks, operating systems, <strong>de</strong>vice driver, ISR,<br />

etc. was measured by instruction set simulator (ISS) execution. That of HW<br />

tasks was obtained by VHDL simulator execution. And the software communication<br />

architecture <strong>de</strong>lay is measured by ISS.<br />

Table 10-1 shows the advantage of consi<strong>de</strong>ring dynamic SW behavior in<br />

the scheduling of task execution and communication. The table presents the<br />

execution cycles of the system obtained by cosimulation, ILP without consi<strong>de</strong>ring<br />

dynamic SW behavior, ILP with dynamic SW behavior, and heuristic<br />

with dynamic SW behavior, <strong>for</strong> the two architectures: point-to-point interconnection<br />

and on-chip shared-bus. By consi<strong>de</strong>ring dynamic SW behavior, we

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

Saved successfully!

Ooh no, something went wrong!