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.

Introduction to Hardware Abstraction Layers <strong>for</strong> SOC 183<br />

concurrently consi<strong>de</strong>ring that it is a contract between SW and HW <strong>de</strong>signers.<br />

The SW is <strong>de</strong>signed using the HAL API without consi<strong>de</strong>ring the <strong>de</strong>tails of<br />

HAL API implementation. Since the SW <strong>de</strong>sign can start as soon as the HAL<br />

API is <strong>de</strong>fined, SW and HW <strong>de</strong>sign can be per<strong>for</strong>med concurrently thereby<br />

reducing the <strong>de</strong>sign cycle.<br />

To un<strong>de</strong>rstand better SW reuse by HAL usage, we will explain the correspon<strong>de</strong>nce<br />

between SW and HW reuse. Figure 14-4 exemplifies HW reuse.<br />

As shown in the figure, to reuse a HW IP that has been used be<strong>for</strong>e in a <strong>SoC</strong><br />

<strong>de</strong>sign, we make it ready <strong>for</strong> reuse by <strong>de</strong>signing its interface con<strong>for</strong>ming to<br />

a HW interface standard (in Figure 14-4(a)), i.e. on-chip bus interface standards<br />

(e.g. VCI, OCP-IP, AMBA, STBus, CoreConnect, etc.). Then, we reuse<br />

it in a new <strong>SoC</strong> <strong>de</strong>sign (Figure 14-4(b)).<br />

Figure 14-5 shows the case of SW reuse. Figure 14-5(a) shows that a SW<br />

IP, MPEG4 co<strong>de</strong>, is <strong>de</strong>signed <strong>for</strong> a <strong>SoC</strong> <strong>de</strong>sign #1. The <strong>SoC</strong> <strong>de</strong>sign uses a<br />

HAL API (sha<strong>de</strong>d rectangle in the figure). The SW IP is <strong>de</strong>signed using the

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

Saved successfully!

Ooh no, something went wrong!