Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to simulate multiple Kernels #1

Open
m-morelli opened this issue May 12, 2015 · 0 comments
Open

Unable to simulate multiple Kernels #1

m-morelli opened this issue May 12, 2015 · 0 comments
Assignees

Comments

@m-morelli
Copy link
Owner

Background

Diagrams with multiple Kernel blocks allow to model distributed systems, where multiple control units (each one running a RTOS) are connected together and cooperate to realize a functionality (represented by standard Simulink blocks in models).

Problem Description

The current version of tres_bundle cannot simulate models with multiple Kernel block.

Consider a simple model with two Kernel blocks each one executing one task, and each task executing one segment:

tres_mk

At the beginning of the simulation, Simulink raises the following error:

tres_mk_errmsg

Discussion

The concrete implementor of RTOS functionality in tres_bundle is based on RTSim and complies with its design architecture. RTSim entities created by all the Kernel blocks in the model all share the same instance of RTSim simulation engine. In some cases, different Kernel blocks generate entities with the same name. Because entity names must be unique, the simulation cannot run.

@m-morelli m-morelli self-assigned this May 12, 2015
m-morelli pushed a commit that referenced this issue Aug 17, 2015
…escription (Kernel config.). This fixes the initial problem described at #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant