File Exchange

image thumbnail

Analysis of Scheduling and Memory Access Delays in Multicores

version 1.1 (312 KB) by Caroline Brandberg
Analysis of Scheduling and Memory Access Delays in Multicores

7 Downloads

Updated 12 Mar 2018

View License

A SimEvents Model for the Analysis of Scheduling and Memory Access Delays in Multicores
This project present how to integrate architectural properties using SimEvents to introduce scheduling and memory contention delays in a Simulink model. The model consist of periodic and sporadic tasks executed on an architectural platform of four symmetric cores connected to local- and global memories. The model is AUTOSAR compatible, where the task execute a set of runnables whom communicate be means of labels. We also provide the implementation for four memory access patterns: AUTOSAR implicit- and explicit communication, a pattern providing data consistency throughout the execution of a task and last, the LET execution model.

The package provides three models. First, an automotive benchmark provided by Bosch for the waters challenge is modeled [1]. This model consist of 21 tasks, 1250 runnables and 10000 labels. The second model consist of a simple example of three tasks, executed by one core. This model provides a mapping between the architectural and function model, where the 3 tasks are associated with 1 runnable each. The runnables are mapped to invoke a function Simulink model consisting of three servos. Last, a periodic and all preemptive Waters challenge inspired model is provided to illustrate the advantages of using the LET paradigm.

[1] A Hamann et al. “FMTV 2016 verification challenge”. In: Inf Process Lett (2016).

Comments and Ratings (1)

Updates

1.1

- Periodic and all preemptive waters inspired model to illustrate LET
- Set-up files for all models to improve performance

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Multicore/

Multicore/SimpleExample/

Multicore/Waters/

Multicore/WatersPeriodic/