blob: 6b581fd2d594a99c5b23044a4815dbb46d600355 [file] [log] [blame]
Andreas Sailer88630e62017-01-24 15:55:33 +01001<?xml version="1.0" encoding="UTF-8"?>
Harald Mackamulb3f6e7a2019-11-11 11:18:08 +01002<am:Amalthea xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:am="http://app4mc.eclipse.org/amalthea/0.9.7" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Andreas Sailer88630e62017-01-24 15:55:33 +01003 <swModel>
Harald Mackamul74c82d32017-07-20 15:45:48 +02004 <tasks name="Task_1" stimuli="Stimulus_Task_1?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +02005 <customProperties key="priority">
6 <value xsi:type="am:StringObject" value="7"/>
7 </customProperties>
8 <customProperties key="osekTaskGroup">
9 <value xsi:type="am:StringObject" value="7"/>
10 </customProperties>
Harald Mackamul1c230e22019-12-23 22:01:52 +010011 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020012 <items xsi:type="am:Group" name="CallSequence_1_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020013 <items xsi:type="am:RunnableCall" runnable="Runnable_1?type=Runnable"/>
Zakir Meer313f3932019-07-17 12:54:15 +020014 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010015 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010016 </tasks>
Harald Mackamul74c82d32017-07-20 15:45:48 +020017 <tasks name="Task_2" stimuli="Stimulus_Task_2?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020018 <customProperties key="priority">
19 <value xsi:type="am:StringObject" value="6"/>
20 </customProperties>
21 <customProperties key="osekTaskGroup">
22 <value xsi:type="am:StringObject" value="6"/>
23 </customProperties>
Harald Mackamul1c230e22019-12-23 22:01:52 +010024 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020025 <items xsi:type="am:Group" name="CallSequence_2_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020026 <items xsi:type="am:RunnableCall" runnable="Runnable_2?type=Runnable"/>
Zakir Meer313f3932019-07-17 12:54:15 +020027 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010028 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010029 </tasks>
Harald Mackamul74c82d32017-07-20 15:45:48 +020030 <tasks name="Task_3" stimuli="Stimulus_Task_3?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020031 <customProperties key="priority">
32 <value xsi:type="am:StringObject" value="5"/>
33 </customProperties>
34 <customProperties key="osekTaskGroup">
35 <value xsi:type="am:StringObject" value="5"/>
36 </customProperties>
Harald Mackamul1c230e22019-12-23 22:01:52 +010037 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020038 <items xsi:type="am:Group" name="CallSequence_3_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020039 <items xsi:type="am:RunnableCall" runnable="Runnable_3?type=Runnable"/>
Zakir Meer313f3932019-07-17 12:54:15 +020040 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010041 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010042 </tasks>
Harald Mackamul74c82d32017-07-20 15:45:48 +020043 <tasks name="Task_4" stimuli="Stimulus_Task_4?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020044 <customProperties key="priority">
45 <value xsi:type="am:StringObject" value="4"/>
46 </customProperties>
47 <customProperties key="osekTaskGroup">
48 <value xsi:type="am:StringObject" value="4"/>
49 </customProperties>
Harald Mackamul1c230e22019-12-23 22:01:52 +010050 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020051 <items xsi:type="am:Group" name="CallSequence_4_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020052 <items xsi:type="am:RunnableCall" runnable="Runnable_4?type=Runnable"/>
Zakir Meer313f3932019-07-17 12:54:15 +020053 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010054 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010055 </tasks>
Harald Mackamul74c82d32017-07-20 15:45:48 +020056 <tasks name="Task_5" stimuli="Stimulus_Task_5?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020057 <customProperties key="priority">
58 <value xsi:type="am:StringObject" value="3"/>
59 </customProperties>
60 <customProperties key="osekTaskGroup">
61 <value xsi:type="am:StringObject" value="3"/>
62 </customProperties>
Harald Mackamul1c230e22019-12-23 22:01:52 +010063 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020064 <items xsi:type="am:Group" name="CallSequence_5_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020065 <items xsi:type="am:RunnableCall" runnable="Runnable_5?type=Runnable"/>
Zakir Meer313f3932019-07-17 12:54:15 +020066 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010067 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010068 </tasks>
Harald Mackamul74c82d32017-07-20 15:45:48 +020069 <tasks name="Task_6" stimuli="Stimulus_Task_6?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020070 <customProperties key="priority">
71 <value xsi:type="am:StringObject" value="2"/>
72 </customProperties>
73 <customProperties key="osekTaskGroup">
74 <value xsi:type="am:StringObject" value="2"/>
75 </customProperties>
Harald Mackamul1c230e22019-12-23 22:01:52 +010076 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020077 <items xsi:type="am:Group" name="CallSequence_6_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020078 <items xsi:type="am:RunnableCall" runnable="Runnable_6?type=Runnable"/>
Zakir Meer313f3932019-07-17 12:54:15 +020079 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010080 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010081 </tasks>
Harald Mackamul74c82d32017-07-20 15:45:48 +020082 <tasks name="Task_7" stimuli="Stimulus_Task_7?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Zakir Meer50543b12017-07-13 10:23:25 +020083 <customProperties key="priority">
Harald Mackamul76c10f42019-07-25 16:35:06 +020084 <value xsi:type="am:StringObject" value="1"/>
Zakir Meer50543b12017-07-13 10:23:25 +020085 </customProperties>
Zakir Meeraac21ae2017-07-18 17:46:36 +020086 <customProperties key="osekTaskGroup">
Harald Mackamul76c10f42019-07-25 16:35:06 +020087 <value xsi:type="am:StringObject" value="1"/>
Zakir Meeraac21ae2017-07-18 17:46:36 +020088 </customProperties>
Harald Mackamul1c230e22019-12-23 22:01:52 +010089 <activityGraph>
Harald Mackamul76c10f42019-07-25 16:35:06 +020090 <items xsi:type="am:Group" name="CallSequence_7_1" ordered="true">
91 <items xsi:type="am:RunnableCall" runnable="Runnable_7_1?type=Runnable"/>
92 <items xsi:type="am:RunnableCall" runnable="Runnable_7_2?type=Runnable"/>
93 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010094 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010095 </tasks>
96 <runnables name="Runnable_1" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +010097 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020098 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +020099 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="5970000" upperBound="6000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200100 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100101 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100102 </runnables>
103 <runnables name="Runnable_2" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100104 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200105 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200106 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="17970000" upperBound="18000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200107 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100108 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100109 </runnables>
110 <runnables name="Runnable_3" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100111 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200112 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200113 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="11970000" upperBound="12000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200114 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100115 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100116 </runnables>
117 <runnables name="Runnable_4" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100118 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200119 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200120 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="8970000" upperBound="9000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200121 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100122 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100123 </runnables>
124 <runnables name="Runnable_5" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100125 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200126 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200127 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="17970000" upperBound="18000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200128 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100129 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100130 </runnables>
131 <runnables name="Runnable_6" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100132 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200133 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200134 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="23970000" upperBound="24000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200135 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100136 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100137 </runnables>
138 <runnables name="Runnable_7_1" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100139 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200140 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200141 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="35977500" upperBound="36000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200142 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100143 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100144 </runnables>
145 <runnables name="Runnable_7_2" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100146 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200147 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200148 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="11992500" upperBound="12000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200149 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100150 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100151 </runnables>
152 </swModel>
153 <hwModel>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200154 <definitions xsi:type="am:ProcessingUnitDefinition" name="DefaultCore" puType="CPU" features="Instructions/IPC_1.0?type=HwFeature"/>
155 <definitions xsi:type="am:MemoryDefinition" name="DefaultMemory"/>
Harald Mackamul674cd242018-04-25 18:31:48 +0200156 <featureCategories name="Instructions" featureType="performance">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200157 <features name="IPC_1.0" value="1.0"/>
Harald Mackamul674cd242018-04-25 18:31:48 +0200158 </featureCategories>
Harald Mackamul1f32fe12018-03-27 07:48:30 +0200159 <structures name="System" structureType="System">
160 <structures name="Ecu_1" structureType="ECU">
161 <structures name="Processor_1" structureType="Microcontroller">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200162 <modules xsi:type="am:Memory" name="Memory_1" frequencyDomain="Frequency_1?type=FrequencyDomain" definition="DefaultMemory?type=MemoryDefinition"/>
Harald Mackamul1f32fe12018-03-27 07:48:30 +0200163 <modules xsi:type="am:ProcessingUnit" name="Core_1" frequencyDomain="Frequency_1?type=FrequencyDomain" definition="DefaultCore?type=ProcessingUnitDefinition">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200164 <ports name="port" bitWidth="32" priority="0" portType="initiator"/>
Harald Mackamul1f32fe12018-03-27 07:48:30 +0200165 </modules>
166 </structures>
167 </structures>
168 </structures>
169 <domains xsi:type="am:FrequencyDomain" name="Frequency_1" clockGating="false">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200170 <defaultValue value="600.0" unit="MHz"/>
Harald Mackamul1f32fe12018-03-27 07:48:30 +0200171 </domains>
Andreas Sailer88630e62017-01-24 15:55:33 +0100172 </hwModel>
173 <osModel>
Andreas Sailer88630e62017-01-24 15:55:33 +0100174 <operatingSystems name="Generic_OS">
Harald Mackamul375ade02017-07-17 11:19:27 +0200175 <taskSchedulers name="Scheduler_1">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200176 <schedulingAlgorithm xsi:type="am:OSEK"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100177 </taskSchedulers>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200178 <osDataConsistency mode="noProtection"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100179 </operatingSystems>
180 </osModel>
181 <stimuliModel>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200182 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_1">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200183 <offset value="0" unit="ms"/>
184 <recurrence value="80" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100185 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200186 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_2">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200187 <offset value="0" unit="ms"/>
188 <recurrence value="120" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100189 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200190 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_3">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200191 <offset value="0" unit="ms"/>
192 <recurrence value="160" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100193 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200194 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_4">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200195 <offset value="0" unit="ms"/>
196 <recurrence value="180" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100197 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200198 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_5">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200199 <offset value="0" unit="ms"/>
200 <recurrence value="200" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100201 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200202 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_6">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200203 <offset value="0" unit="ms"/>
204 <recurrence value="300" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100205 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200206 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_7">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200207 <offset value="0" unit="ms"/>
208 <recurrence value="1000" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100209 </stimuli>
210 </stimuliModel>
Andreas Sailer88630e62017-01-24 15:55:33 +0100211 <eventModel>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200212 <events xsi:type="am:ProcessEvent" name="Event_Task_1" entity="Task_1?type=Task"/>
213 <events xsi:type="am:ProcessEvent" name="Event_Task_2" entity="Task_2?type=Task"/>
214 <events xsi:type="am:ProcessEvent" name="Event_Task_3" entity="Task_3?type=Task"/>
215 <events xsi:type="am:ProcessEvent" name="Event_Task_4" entity="Task_4?type=Task"/>
216 <events xsi:type="am:ProcessEvent" name="Event_Task_5" entity="Task_5?type=Task"/>
217 <events xsi:type="am:ProcessEvent" name="Event_Task_6" entity="Task_6?type=Task"/>
218 <events xsi:type="am:ProcessEvent" name="Event_Task_7" entity="Task_7?type=Task"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100219 </eventModel>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200220 <constraintsModel/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100221 <mappingModel addressMappingType="offset">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200222 <schedulerAllocation scheduler="Scheduler_1?type=TaskScheduler" responsibility="Core_1?type=ProcessingUnit"/>
223 <taskAllocation task="Task_1?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
224 <taskAllocation task="Task_2?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
225 <taskAllocation task="Task_3?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
226 <taskAllocation task="Task_4?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
227 <taskAllocation task="Task_5?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
228 <taskAllocation task="Task_6?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
229 <taskAllocation task="Task_7?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100230 </mappingModel>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200231 <componentsModel/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100232</am:Amalthea>