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.

Chapter 11<br />

EVALUATION OF APPLYING SPECC TO THE<br />

INTEGRATED DESIGN METHOD OF DEVICE<br />

DRIVER AND DEVICE<br />

Shinya Honda and Hiroaki Takada<br />

In<strong>for</strong>mation and Computing Sciences, Toyohashi University of Technology, 1-1 Hibarigaoka,<br />

Tempaku-cho, Toyohashi City, Aichi pref., 441-8580 Japan<br />

Abstract. We are investigating an integrated <strong>de</strong>sign method <strong>for</strong> a <strong>de</strong>vice driver and a <strong>de</strong>vice in<br />

or<strong>de</strong>r to efficiently <strong>de</strong>velop <strong>de</strong>vice drivers used in embed<strong>de</strong>d systems. This paper evaluates<br />

whether SpecC, which is proposed as a system level <strong>de</strong>scription language, is applicable to integrated<br />

<strong>de</strong>scription language <strong>for</strong> the integrated <strong>de</strong>sign method. We use an SIO system to confirm<br />

the feasibility of using SpecC <strong>for</strong> integrating a <strong>de</strong>vice and <strong>de</strong>scription <strong>de</strong>vice driver. We manually<br />

convert the SpecC <strong>de</strong>scription to the <strong>de</strong>vice, the <strong>de</strong>vice driver and the interface in between and<br />

confirm that the conversion can be automated. We also confirm the feasibility of conversion<br />

when the partition point between the software and the hardware is changed. As a result, we show<br />

that SpecC could apply as a integrated <strong>de</strong>sign language of the <strong>de</strong>sign method.<br />

Key words: co-<strong>de</strong>sign, RTOS, <strong>de</strong>vice driver<br />

1. INTRODUCTION<br />

<strong>Embed<strong>de</strong>d</strong> systems are becoming complicated and largely scaled. In addition<br />

to the increase in <strong>de</strong>velopment time and costs, the <strong>de</strong>grading <strong>de</strong>sign quality<br />

and system reliability have been a major problem <strong>for</strong> <strong>de</strong>velopers. Since<br />

embed<strong>de</strong>d systems are <strong>de</strong>signed <strong>for</strong> specific target hardware mechanism, each<br />

system has different hardware configuration and peripheral <strong>de</strong>vices. There<strong>for</strong>e,<br />

a <strong>de</strong>vice driver that directly control <strong>de</strong>vices needs to be <strong>de</strong>veloped <strong>for</strong> each<br />

system. Development of <strong>de</strong>vice drivers occupy a high proportion of software<br />

<strong>de</strong>velopment in embed<strong>de</strong>d system [1].<br />

Developing a <strong>de</strong>vice driver is difficult and takes a long time regardless of<br />

the small co<strong>de</strong> size. This can be mainly attributed to the lack of communication<br />

between hardware <strong>de</strong>signers and software <strong>de</strong>signers. Device manuals<br />

mainly focus on explanations of <strong>de</strong>vice registers and they lack explanations<br />

from a software viewpoint regarding control methods that are necessary <strong>for</strong><br />

<strong>de</strong>vice driver <strong>de</strong>velopment. The in<strong>for</strong>mation provi<strong>de</strong>d by the <strong>de</strong>vice driver<br />

manual is not enough to <strong>de</strong>sign a <strong>de</strong>vice driver and in most cases, the <strong>de</strong>vice<br />

interface is <strong>de</strong>signed without consi<strong>de</strong>ring the <strong>de</strong>vice driver <strong>de</strong>velopment<br />

situation, so the <strong>de</strong>vice driver <strong>de</strong>velopment gets more difficult.<br />

137<br />

A Jerraya et al. (eds.), <strong>Embed<strong>de</strong>d</strong> <strong>Software</strong> <strong>for</strong> SOC, 137–150, 2003.<br />

© 2003 Kluwer Aca<strong>de</strong>mic Publishers. Printed in the Netherlands.

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

Saved successfully!

Ooh no, something went wrong!