Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Embedded Computer System Laboratory RTOS Modeling in Electronic System Level Design.

Similar presentations


Presentation on theme: "1 Embedded Computer System Laboratory RTOS Modeling in Electronic System Level Design."— Presentation transcript:

1 1 Embedded Computer System Laboratory RTOS Modeling in Electronic System Level Design

2 Embedded Computer System Laboratory 2 Contents References Introduction to RTOS modeling in ESL design Design Flow RTOS simulation models RTOS interface in SpecC Difference in SpecC RTOS and SoCOS Model refinement Scheduled model Experimental results Conclusions

3 Embedded Computer System Laboratory 3 References [1] Embedded Software for SoC, chapter 5 [2] RTOS modeling in system level synthesis by Haobo Yu and Daniel Gajski [3] Operating System based Software Generation for Systems-on- Chip by Dirk Desmet, D. Verkest, and Hugo De Man

4 Embedded Computer System Laboratory 4 Introduction to RTOS modeling in ESL design In system-on-a-chip design era, raising the level of abstraction is generally seen as a solution to increase productivity Time design productivity design complexity System RTL Chip Slowest Fast Simulation time & Iteration time Various system-level design languages have been proposed : SpecC, SystemC, CynApps, OCAPI,.. etc.

5 Embedded Computer System Laboratory 5 Introduction to RTOS modeling in ESL design Dynamic real-time behavior in embedded software can have a large influence on design quality metrics like performance or power SystemC ver. 3.0 will support real-time OS models. Specification Software processHardware process Embedded software + OS Register transfer Level design Electronic system level design Partitioning Implementation Design Space Exploration

6 Embedded Computer System Laboratory 6 Key Issues in ESL RTOS model Capturing the abstracted RTOS behavior in ESL design Not requiring any specific language extensions to existing ESL language Task management Real-time scheduling Preemption Task synchronization Interrupt handling Minimal modeling effort Early and rapid design space exploration

7 Embedded Computer System Laboratory 7 Design Flow [1],[2] Processes map to PEs DynamicStatic

8 Embedded Computer System Laboratory 8 Design Flow [3] : SoCOS

9 Embedded Computer System Laboratory 9 RTOS Simulation Models RTOS Interface in SpecC [1], [2] Task management Real-time scheduling Preemption Task synchronization Interrupt handling Only consider two kinds of tasks : Periodic hard real time tasks having a critical deadline Non periodic real time tasks, having a fixed priority

10 Embedded Computer System Laboratory 10 RTOS Simulation Models RTOS Interface in SpecC [1], [2] (cont’d) Specification to Architectural model Extended RTOS service layer Process 1 Process 2 PE (processing element) RTOS interface calls RTOS channels task 1task 2

11 Embedded Computer System Laboratory 11 RTOS Simulation Models Difference in SpecC RTOS [1],[2] and SoCOS [3] Consistency in existing ESL libraries SoCOS requires its own simulation engine Timing budget vs. estimating execution time Refinement methodology SoCOS only concerns with communication models (sync/async) SpecC RTOS uses dynamic scheduling refinement process

12 Embedded Computer System Laboratory 12 Model Refinement Task refinement : behavior-to-task conversion dynamic child task creation ready queue Synchronization refinement : event handling event queue

13 Embedded Computer System Laboratory 13 Scheduled model Scheduled model (=architectural model) calls the scheduler for selecting a dispatching task from the ready queue Priority : B3 > B2

14 Embedded Computer System Laboratory 14 Experimental Result Example design of a voice codec for mobile phone applications Contains two tasks; encoding and decoding Implemented on Motorola DSP56600

15 Embedded Computer System Laboratory 15 Experimental Result ADSL modem modeling using SoCOS

16 Embedded Computer System Laboratory 16 Conclusion RTOS behaviors are modeled in high level of abstraction. It allows dynamic real time behaviors to the existing ESL design without much effort Using RTOS simulation model, early validation and design space exploration can be performed. Small interfaces of RTOS effectively supports the dynamic behaviors


Download ppt "1 Embedded Computer System Laboratory RTOS Modeling in Electronic System Level Design."

Similar presentations


Ads by Google