Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [app4mc-dev] Greetings, New Sub
  • From: "Mackamul Harald (CR/ADX1.2)" <Harald.Mackamul@xxxxxxxxxxxx>
  • Date: Fri, 16 Dec 2022 08:08:36 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=de.bosch.com; dmarc=pass action=none header.from=de.bosch.com; dkim=pass header.d=de.bosch.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/9r756Wvwy0WjJtoVj7AhSM1Da36y1wIBWx3sMgFzjU=; b=gLX/bNILxpcPjo3Jjt5bskho4MLOnqOd3v3QNVSoDZx2B9ISDVSeoh7/sir7Uid6SzRtb6S96uq8sOAN3ELmpKW7rLBaYLY5FxolxHrVuUHdtVq3A3BeZS7/irkwDSBWyqLMZVwMxjR+k5YVzmkZHNS6uGTuTx7m+7hx+nRLZVOzutL5Ncb4Aw3DY9JsW/Kg+qVk24etUDYGIinYLCUYIwVwOCkMVT/nyGsK6Jm2meKCGsiyeKImd4a0845StjIycuHBt1/2iP4rIGNCVSY/g3EUzMXlTtxVIvWlKLJXl5aHfNYmAuQqw/5iszYnQ3bUUw5+RgNvrfM1fQe4a/DS2A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bxI2WMRcA6p0hnnr6KCYjWCIqA7AIbHDJ7doau1PW09xoWkjnzYTT7FkkIAXmHBbyfPehGvGSrBxnz35rqTfGwWokxmtofMmBDyhkFFLoD4fQMA5VK5DxsMWRos+GTxri48mnUiKz3q5puK+Y7fmYB1WId4nODCrC+vzJfSY7yam8ms59lBfTVfuXPUBBzhC5nupMhy7r42lGaAC7k7NS34ptuSq4ipah/LH86uGS94xR+Tq9otGXYCmyA6dj8O4V0eAJS82A5r5OjeqBhm+cTVKOU39Kl8RIzdoJoj/oWlSYCSsq0xYY+ApuaJIS7oRLm075egc8deI86FlPYeDHw==
  • Delivered-to: app4mc-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/app4mc-dev/>
  • List-help: <mailto:app4mc-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/app4mc-dev>, <mailto:app4mc-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/app4mc-dev>, <mailto:app4mc-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHZC73ScfrbqzRhcUuW59lQ9jC83K5lrGgQgARvn4CAA4H9AIABCFfg
  • Thread-topic: [app4mc-dev] Greetings, New Sub

Hello Ibrahim,

 

I got the mails but it is a busy time before Christmas.

First comments below.

 

Best regards

Harald

From: app4mc-dev <app4mc-dev-bounces@xxxxxxxxxxx> On Behalf Of Ibrahim Özcan

> I could not find a way to manipulate the Labels that SenderReceiverRead or LabelAccess(Read) inside the runnable. 

 

> And I still could not understand how is SenderReceiver Read/Write related to component's ports. 

 

Currently there is no direct connection between the Component Model and the Software Model.

The Component Model describes an architectural view with (hierarchical) components, ports and connections (with interfaces).
This model can be used to generate code that represents this structure.

The Software Model describes the dynamic (runtime) aspects of the software.

On this level we are dealing with activation and execution of functions (ISRs, Tasks, Runnables) and their communication behaviour.

This input is used by the “timing” simulators: APP4MC.sim or commercial tools like (Vector) Timing Architects Toolsuite or (Inchron) ChronSim.

 

> 2.) My second question is about “Labels”, “Local (Global) Mode Labels”, and the overall dataflow.

 

Labels are the variables that are used in the software of an embedded system.

In the design of the AMALTHEA model we wanted to make clear that this is an abstract model and we do not handle the values of the variables (in the timing simulation).

Therefore there is no possibility to set values or manipulate the content.

We are able to express (high level) data dependencies/data propagation via function parameters and label accesses.

This is the only representation of a data flow.

 

Mode Labels are used to describe different modes/states of the system: e.g. if there is a different behaviour for initialization / regular execution / error case / …

In addition it can be used to describe a specific (custom) scheduling strategy via NumericModes.

 

Hope that distinction helps.

 

On Mon, Dec 12, 2022, 12:06 Ibrahim Özcan <ibrahimbell35@xxxxxxxxx> wrote:

I have currently two questions: 

 

1.) First one is about “Sender Receiver Communication(SRC)” which is an abstract activity graph item, and SR read and write generalize this. (SR_Meta_Model in attachments). This item has a relationship with component ports (App4mc_SRC in attachments). I could not understand the exact relation between SR_Read/Write and Component’s port, and It is not specified in the meta-models. For example: SR_Read reads a label as Label Access (access Type: read) do. My first question is could you please specify the relationship in terms of the Amalthea meta-model language? 

 

I am interested in Sender Receiver Read/Write because I want to be able to show the relationship (in terms of data flow) between a runnable and the component which includes the runnable. 

 

 

2.) My second question is about “Labels”, “Local (Global) Mode Labels”, and the overall dataflow. Labels are abstract memory elements and later Mapping Model maps them to a physical memory in HW Model. SR_Read/Write and LabelsAccess(Read/Write) reads and writes labels. So, Runnables have a way to access data in memory. 

 

The user is able to define switches and switch entries (decision paths), put conditions(local mode label condition) on each entry. The user is able to assign a value of local mode label to global mode label and vice versa. 

 

However, I could not find a way to use the value of a Label which is read by either SR_Read or LabelAccess (Read). I can use local Mode Labels(like local variables defined in a function) but cannot show a dataflow from Label to Local Mode Label.

 

I could not find an example where a runnable manipulates the Label which it reads. Only thing I can show is that the runnable reads and writes data.

 

However, what happens to the data that is read and also what do LabelAccess(Write) SR_Write actually write? They write into a label (abstract memory element) but exactly “what” do they write into that label? 

 

I am sorry for the poor technical explanation since I am new to the most of the things.

 

Thank you very much.

 

Best,

Ibrahim


Back to the top