blob: 0d1e4cc4d0326092e03dcbec435ac08932e6cc16 [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_3" stimuli="Stimulus_Task_3?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020018 <customProperties key="priority">
19 <value xsi:type="am:StringObject" value="5"/>
20 </customProperties>
21 <customProperties key="osekTaskGroup">
22 <value xsi:type="am:StringObject" value="5"/>
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_3_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020026 <items xsi:type="am:RunnableCall" runnable="Runnable_3?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_4" stimuli="Stimulus_Task_4?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020031 <customProperties key="priority">
32 <value xsi:type="am:StringObject" value="4"/>
33 </customProperties>
34 <customProperties key="osekTaskGroup">
35 <value xsi:type="am:StringObject" value="4"/>
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_4_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020039 <items xsi:type="am:RunnableCall" runnable="Runnable_4?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_5" stimuli="Stimulus_Task_5?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020044 <customProperties key="priority">
45 <value xsi:type="am:StringObject" value="3"/>
46 </customProperties>
47 <customProperties key="osekTaskGroup">
48 <value xsi:type="am:StringObject" value="3"/>
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_5_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020052 <items xsi:type="am:RunnableCall" runnable="Runnable_5?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_6" stimuli="Stimulus_Task_6?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Harald Mackamul76c10f42019-07-25 16:35:06 +020057 <customProperties key="priority">
58 <value xsi:type="am:StringObject" value="2"/>
59 </customProperties>
60 <customProperties key="osekTaskGroup">
61 <value xsi:type="am:StringObject" value="2"/>
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_6_1" ordered="true">
Harald Mackamul76c10f42019-07-25 16:35:06 +020065 <items xsi:type="am:RunnableCall" runnable="Runnable_6?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_7" stimuli="Stimulus_Task_7?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="1">
Zakir Meer50543b12017-07-13 10:23:25 +020070 <customProperties key="priority">
Harald Mackamul76c10f42019-07-25 16:35:06 +020071 <value xsi:type="am:StringObject" value="1"/>
Zakir Meer50543b12017-07-13 10:23:25 +020072 </customProperties>
Zakir Meeraac21ae2017-07-18 17:46:36 +020073 <customProperties key="osekTaskGroup">
Harald Mackamul76c10f42019-07-25 16:35:06 +020074 <value xsi:type="am:StringObject" value="1"/>
Zakir Meeraac21ae2017-07-18 17:46:36 +020075 </customProperties>
Harald Mackamul1c230e22019-12-23 22:01:52 +010076 <activityGraph>
Harald Mackamul76c10f42019-07-25 16:35:06 +020077 <items xsi:type="am:Group" name="CallSequence_7_1" ordered="true">
78 <items xsi:type="am:RunnableCall" runnable="Runnable_7_1?type=Runnable"/>
79 <items xsi:type="am:RunnableCall" runnable="Runnable_7_2?type=Runnable"/>
80 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010081 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010082 </tasks>
83 <runnables name="Runnable_1" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +010084 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020085 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +020086 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="5970000" upperBound="6000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +020087 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010088 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010089 </runnables>
90 <runnables name="Runnable_3" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +010091 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020092 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +020093 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="11970000" upperBound="12000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +020094 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +010095 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +010096 </runnables>
97 <runnables name="Runnable_4" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +010098 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +020099 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200100 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="8970000" upperBound="9000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200101 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100102 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100103 </runnables>
104 <runnables name="Runnable_5" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100105 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200106 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200107 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="17970000" upperBound="18000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200108 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100109 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100110 </runnables>
111 <runnables name="Runnable_6" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100112 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200113 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200114 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="23970000" upperBound="24000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200115 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100116 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100117 </runnables>
118 <runnables name="Runnable_7_1" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100119 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200120 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200121 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="35977500" upperBound="36000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200122 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100123 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100124 </runnables>
125 <runnables name="Runnable_7_2" callback="false" service="false">
Harald Mackamul1c230e22019-12-23 22:01:52 +0100126 <activityGraph>
Zakir Meer313f3932019-07-17 12:54:15 +0200127 <items xsi:type="am:Ticks">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200128 <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="11992500" upperBound="12000000"/>
Zakir Meer313f3932019-07-17 12:54:15 +0200129 </items>
Harald Mackamul1c230e22019-12-23 22:01:52 +0100130 </activityGraph>
Andreas Sailer88630e62017-01-24 15:55:33 +0100131 </runnables>
132 </swModel>
133 <hwModel>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200134 <definitions xsi:type="am:ProcessingUnitDefinition" name="DefaultCore" puType="CPU" features="Instructions/IPC_1.0?type=HwFeature"/>
135 <definitions xsi:type="am:MemoryDefinition" name="DefaultMemory"/>
Harald Mackamul674cd242018-04-25 18:31:48 +0200136 <featureCategories name="Instructions" featureType="performance">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200137 <features name="IPC_1.0" value="1.0"/>
Harald Mackamul674cd242018-04-25 18:31:48 +0200138 </featureCategories>
Harald Mackamul1f32fe12018-03-27 07:48:30 +0200139 <structures name="System" structureType="System">
140 <structures name="Ecu_1" structureType="ECU">
141 <structures name="Processor_1" structureType="Microcontroller">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200142 <modules xsi:type="am:Memory" name="Memory_1" frequencyDomain="Frequency_1?type=FrequencyDomain" definition="DefaultMemory?type=MemoryDefinition"/>
Harald Mackamul1f32fe12018-03-27 07:48:30 +0200143 <modules xsi:type="am:ProcessingUnit" name="Core_1" frequencyDomain="Frequency_1?type=FrequencyDomain" definition="DefaultCore?type=ProcessingUnitDefinition">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200144 <ports name="port" bitWidth="32" priority="0" portType="initiator"/>
Harald Mackamul1f32fe12018-03-27 07:48:30 +0200145 </modules>
146 </structures>
147 </structures>
148 </structures>
149 <domains xsi:type="am:FrequencyDomain" name="Frequency_1" clockGating="false">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200150 <defaultValue value="600.0" unit="MHz"/>
Harald Mackamul1f32fe12018-03-27 07:48:30 +0200151 </domains>
Andreas Sailer88630e62017-01-24 15:55:33 +0100152 </hwModel>
153 <osModel>
Andreas Sailer88630e62017-01-24 15:55:33 +0100154 <operatingSystems name="Generic_OS">
Harald Mackamul375ade02017-07-17 11:19:27 +0200155 <taskSchedulers name="Scheduler_1">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200156 <schedulingAlgorithm xsi:type="am:OSEK"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100157 </taskSchedulers>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200158 <osDataConsistency mode="noProtection"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100159 </operatingSystems>
160 </osModel>
161 <stimuliModel>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200162 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_1">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200163 <offset value="0" unit="ms"/>
164 <recurrence value="80" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100165 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200166 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_3">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200167 <offset value="0" unit="ms"/>
168 <recurrence value="160" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100169 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200170 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_4">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200171 <offset value="0" unit="ms"/>
172 <recurrence value="180" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100173 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200174 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_5">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200175 <offset value="0" unit="ms"/>
176 <recurrence value="200" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100177 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200178 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_6">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200179 <offset value="0" unit="ms"/>
180 <recurrence value="300" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100181 </stimuli>
Harald Mackamul74c82d32017-07-20 15:45:48 +0200182 <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_7">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200183 <offset value="0" unit="ms"/>
184 <recurrence value="1000" unit="ms"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100185 </stimuli>
186 </stimuliModel>
Andreas Sailer88630e62017-01-24 15:55:33 +0100187 <eventModel>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200188 <events xsi:type="am:ProcessEvent" name="Event_Task_1" entity="Task_1?type=Task"/>
189 <events xsi:type="am:ProcessEvent" name="Event_Task_3" entity="Task_3?type=Task"/>
190 <events xsi:type="am:ProcessEvent" name="Event_Task_4" entity="Task_4?type=Task"/>
191 <events xsi:type="am:ProcessEvent" name="Event_Task_5" entity="Task_5?type=Task"/>
192 <events xsi:type="am:ProcessEvent" name="Event_Task_6" entity="Task_6?type=Task"/>
193 <events xsi:type="am:ProcessEvent" name="Event_Task_7" entity="Task_7?type=Task"/>
194 <events xsi:type="am:RunnableEvent" name="Event_Runnable_1" entity="Runnable_1?type=Runnable"/>
195 <events xsi:type="am:RunnableEvent" name="Event_Runnable_3" entity="Runnable_3?type=Runnable"/>
196 <events xsi:type="am:RunnableEvent" name="Event_Runnable_4" entity="Runnable_4?type=Runnable"/>
197 <events xsi:type="am:RunnableEvent" name="Event_Runnable_5" entity="Runnable_5?type=Runnable"/>
198 <events xsi:type="am:RunnableEvent" name="Event_Runnable_6" entity="Runnable_6?type=Runnable"/>
199 <events xsi:type="am:RunnableEvent" name="Event_Runnable_7_1" entity="Runnable_7_1?type=Runnable"/>
200 <events xsi:type="am:RunnableEvent" name="Event_Runnable_7_2" entity="Runnable_7_2?type=Runnable"/>
201 <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_1" entity="Stimulus_Task_1?type=PeriodicStimulus"/>
202 <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_3" entity="Stimulus_Task_3?type=PeriodicStimulus"/>
203 <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_4" entity="Stimulus_Task_4?type=PeriodicStimulus"/>
204 <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_5" entity="Stimulus_Task_5?type=PeriodicStimulus"/>
205 <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_6" description="" entity="Stimulus_Task_6?type=PeriodicStimulus"/>
206 <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_7" entity="Stimulus_Task_7?type=PeriodicStimulus"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100207 </eventModel>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200208 <constraintsModel/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100209 <mappingModel addressMappingType="offset">
Harald Mackamul76c10f42019-07-25 16:35:06 +0200210 <schedulerAllocation scheduler="Scheduler_1?type=TaskScheduler" responsibility="Core_1?type=ProcessingUnit"/>
211 <taskAllocation task="Task_1?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
212 <taskAllocation task="Task_3?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
213 <taskAllocation task="Task_4?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
214 <taskAllocation task="Task_5?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
215 <taskAllocation task="Task_6?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
216 <taskAllocation task="Task_7?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100217 </mappingModel>
Harald Mackamul76c10f42019-07-25 16:35:06 +0200218 <componentsModel/>
Andreas Sailer88630e62017-01-24 15:55:33 +0100219</am:Amalthea>