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 5<br />

RTOS MODELING FOR SYSTEM LEVEL DESIGN<br />

Andreas Gerstlauer‚ Haobo Yu and Daniel D. Gajski<br />

Center <strong>for</strong> <strong>Embed<strong>de</strong>d</strong> Computer Systems‚ University of Cali<strong>for</strong>nia‚ Irvine‚ Irvine‚ CA 92697‚<br />

USA; E-mail: {gerstl‚haoboy‚gajski}@cecs.uci.edu; Web-site: http://www.cecs.uci.edu<br />

Abstract. System level synthesis is wi<strong>de</strong>ly seen as the solution <strong>for</strong> closing the productivity gap<br />

in system <strong>de</strong>sign. High-level system mo<strong>de</strong>ls are used in system level <strong>de</strong>sign <strong>for</strong> early<br />

<strong>de</strong>sign exploration. While real time operating systems (RTOS) are an increasingly important<br />

component in system <strong>de</strong>sign‚ specific RTOS implementations cannot be used directly in high<br />

level mo<strong>de</strong>ls. On the other hand‚ existing system level <strong>de</strong>sign languages (SLDL) lack support<br />

<strong>for</strong> RTOS mo<strong>de</strong>ling. In this chapter‚ we propose a RTOS mo<strong>de</strong>l built on top of existing SLDLs<br />

which‚ by providing the key features typically available in any RTOS‚ allows the <strong>de</strong>signer to<br />

mo<strong>de</strong>l the dynamic behavior of multi-tasking systems at higher abstraction levels to be incorporated<br />

into existing <strong>de</strong>sign flows. Experimental result shows that our RTOS mo<strong>de</strong>l is easy to<br />

use and efficient while being able to provi<strong>de</strong> accurate results.<br />

Key words: RTOS‚ system level <strong>de</strong>sign‚ SLDL‚ mo<strong>de</strong>ling‚ refinement‚ methodology<br />

1. INTRODUCTION<br />

In or<strong>de</strong>r to handle the ever increasing complexity and time-to-market pressures<br />

in the <strong>de</strong>sign of systems-on-chip (SOCs)‚ raising the level of abstraction<br />

is generally seen as a solution to increase productivity. Various system<br />

level <strong>de</strong>sign languages (SLDL) [3‚ 4] and methodologies [11‚ 13] have been<br />

proposed in the past to address the issues involved in system level <strong>de</strong>sign.<br />

However‚ most SLDLs offer little or no support <strong>for</strong> mo<strong>de</strong>ling the dynamic<br />

real-time behavior often found in embed<strong>de</strong>d software. <strong>Embed<strong>de</strong>d</strong> software is<br />

playing an increasingly significant role in system <strong>de</strong>sign and its dynamic<br />

real-time behavior can have a large influence on <strong>de</strong>sign quality metrics like<br />

per<strong>for</strong>mance or power. In the implementation‚ this behavior is typically<br />

provi<strong>de</strong>d by a real time operating system (RTOS) [1‚ 2]. At an early <strong>de</strong>sign<br />

phase‚ however‚ using a <strong>de</strong>tailed‚ real RTOS implementation would negate the<br />

purpose of an abstract system mo<strong>de</strong>l. Furthermore‚ at higher levels‚ not enough<br />

in<strong>for</strong>mation might be available to target a specific RTOS. There<strong>for</strong>e‚ we need<br />

techniques to capture the abstracted RTOS behavior in system level mo<strong>de</strong>ls.<br />

In this chapter‚ we address this <strong>de</strong>sign challenge by introducing a high level<br />

RTOS mo<strong>de</strong>l <strong>for</strong> system <strong>de</strong>sign. It is written on top of existing SLDLs and<br />

doesn’t require any specific language extensions. It supports all the key<br />

concepts found in mo<strong>de</strong>rn RTOS like task management‚ real time scheduling‚<br />

A Jerraya et al. (eds.)‚ <strong>Embed<strong>de</strong>d</strong> <strong>Software</strong> <strong>for</strong> SOC‚ 55–68‚ 2003.<br />

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

55

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

Saved successfully!

Ooh no, something went wrong!