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.

Hardware and <strong>Software</strong> Partitioning of Operating Systems 201<br />

Second, Archi_gen generates (ii) the co<strong>de</strong> <strong>for</strong> wiring up the <strong>SoC</strong>LC system<br />

(including all buses). Third, Archi_gen generates (iii, see Figure 15-12) the<br />

instantiation co<strong>de</strong> according to the instantiation type of the hardware<br />

modules chosen. In this step, Archi_gen also generates instantiation co<strong>de</strong><br />

<strong>for</strong> the appropriate number of PEs according to the user selection of the<br />

number of PEs in the tool. In this example, Archi_gen generates co<strong>de</strong> <strong>for</strong><br />

MPC750 instantiation four times (since the architecture has four MPC750s).<br />

Fourth, Archi_gen extracts the initialization co<strong>de</strong> (nee<strong>de</strong>d <strong>for</strong> test) <strong>for</strong><br />

necessary signals according to the <strong>SoC</strong>LC initialization <strong>de</strong>scription. Finally,<br />

a Verilog hea<strong>de</strong>r file containing an <strong>SoC</strong>LC system hardware architecture<br />

is ma<strong>de</strong>.<br />

6. EXPERIMENTAL RESULTS<br />

Figure 15-4 showed six possible hardware/software RTOS configurations<br />

generated by the Framework. Here, we use the word “system” to refer to<br />

an <strong>SoC</strong> architecture with an RTOS. Each <strong>SoC</strong> architecture has four PEs and<br />

additional hardware modules – <strong>for</strong> example, the modules shown in Figure<br />

15-8 (and <strong>de</strong>scribed in Section 5.2.3). The first configuration (RTOS1) in<br />

Figure 15-4, marked as “SW RTOS w/ sem, dmm” (with semaphores and<br />

dynamic memory management software), was used in Sections 4.1 and 4.2<br />

<strong>for</strong> comparisons with the second configuration (RTOS2) and the third<br />

(RTOS3), namely, systems containing the <strong>SoC</strong>DMMU and <strong>SoC</strong>LC, respectively.<br />

Comparisons involved the fourth configuration (RTOS4), “SW RTOS<br />

+ <strong>SoC</strong>DDU” which is a system utilizing <strong>SoC</strong>DDU, and the fifth configura-

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

Saved successfully!

Ooh no, something went wrong!