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.

Evaluation of Applying SpecC to the Integrated Design Method 141<br />

<strong>for</strong> PPP packet. The serial communication method, baud rate, byte size and<br />

stop bit are: asynchronous, 19200 bps, 8 bits and 1, respectively. Parity is<br />

not used.<br />

To evaluate point (2), we manually convert the SpecC <strong>de</strong>scription to the<br />

<strong>de</strong>vice, the <strong>de</strong>vice driver and the interface according to the proposed <strong>de</strong>sign<br />

method. The real-time kernel used by the converted software is a<br />

specification kernel [6].<br />

To evaluate point (3), we use the same method <strong>de</strong>scribed in point (2) but<br />

we change the partition point between the software and the hardware of the<br />

SIO system <strong>de</strong>scribed in SpecC.<br />

4. SPECC DESCRIPTION<br />

Figure 11-3 shows the transmitter part and receiver part of SIO system in<br />

SpecC. The roun<strong>de</strong>d squares represent the behaviors while the ellipses<br />

represent the channels. The <strong>de</strong>scription of the behaviors and the functions of<br />

both the receiver and the transmitter, and the channel consist of 589 lines<br />

(17.2 kbyte).<br />

The transmitter consists of the PPP generation behavior (tx_ppp), the byte<br />

transmit behavior (tx_byte), the bit transmit behavior (tx_bit), the baud rate<br />

clock generator (tx_clk), and the 16-time baud rate clock generator<br />

(gen_clk16). These behaviors are executed parallel. The application, tx_ppp,<br />

tx_byte and tx_byte byte are connected by channels as shown in Figure 11 -4.

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

Saved successfully!

Ooh no, something went wrong!