| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| <swModel> |
| <tasks name="Task_1" stimuli="Stimulus_Task_1?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="2"> |
| <customProperties key="priority"> |
| <value xsi:type="am:StringObject" value="2"/> |
| </customProperties> |
| <activityGraph> |
| <items xsi:type="am:Group" name="CallSequence_1" ordered="true"> |
| <items xsi:type="am:InterProcessTrigger" stimulus="IPA_Task_2?type=InterProcessStimulus"/> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_1?type=Runnable"/> |
| </items> |
| </activityGraph> |
| </tasks> |
| <tasks name="Task_2" stimuli="IPA_Task_2?type=InterProcessStimulus" preemption="preemptive" multipleTaskActivationLimit="2"> |
| <customProperties key="priority"> |
| <value xsi:type="am:StringObject" value="1"/> |
| </customProperties> |
| <activityGraph> |
| <items xsi:type="am:ProbabilitySwitch"> |
| <entries probability="33.0"> |
| <items xsi:type="am:Group" name="CallSequence_State_1" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_State_1?type=Runnable"/> |
| </items> |
| </entries> |
| <entries probability="34.0"> |
| <items xsi:type="am:Group" name="CallSequence_State_0" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_State_0?type=Runnable"/> |
| </items> |
| </entries> |
| <entries probability="33.0"> |
| <items xsi:type="am:Group" name="CallSequence_State_2" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_State_2?type=Runnable"/> |
| </items> |
| </entries> |
| </items> |
| </activityGraph> |
| </tasks> |
| <tasks name="Task_3" stimuli="Stimulus_Task_3?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="2"> |
| <customProperties key="priority"> |
| <value xsi:type="am:StringObject" value="4"/> |
| </customProperties> |
| <activityGraph> |
| <items xsi:type="am:Group" name="CallSequence_3" ordered="true"> |
| <items xsi:type="am:InterProcessTrigger" stimulus="IPA_Task_4?type=InterProcessStimulus"/> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_3?type=Runnable"/> |
| </items> |
| </activityGraph> |
| </tasks> |
| <tasks name="Task_4" stimuli="IPA_Task_4?type=InterProcessStimulus" preemption="preemptive" multipleTaskActivationLimit="2"> |
| <customProperties key="priority"> |
| <value xsi:type="am:StringObject" value="3"/> |
| </customProperties> |
| <activityGraph> |
| <items xsi:type="am:ProbabilitySwitch"> |
| <entries probability="20.0"> |
| <items xsi:type="am:Group" name="CallSequence_4_2" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_4_2?type=Runnable"/> |
| </items> |
| </entries> |
| <entries probability="20.0"> |
| <items xsi:type="am:Group" name="CallSequence_4_3" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_4_3?type=Runnable"/> |
| </items> |
| </entries> |
| <entries probability="20.0"> |
| <items xsi:type="am:Group" name="CallSequence_4_x" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_4_x?type=Runnable"/> |
| </items> |
| </entries> |
| <entries probability="20.0"> |
| <items xsi:type="am:Group" name="CallSequence_4_1" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_4_1?type=Runnable"/> |
| </items> |
| </entries> |
| <entries probability="20.0"> |
| <items xsi:type="am:Group" name="CallSequence_4_4" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_4_4?type=Runnable"/> |
| </items> |
| </entries> |
| </items> |
| </activityGraph> |
| </tasks> |
| <tasks name="Task_5" stimuli="Stimulus_Task_5?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="2"> |
| <activityGraph> |
| <items xsi:type="am:Group" name="CS_Task_7" ordered="true"> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_5_1?type=Runnable"/> |
| <items xsi:type="am:RunnableCall" runnable="Runnable_5_2?type=Runnable"/> |
| </items> |
| </activityGraph> |
| </tasks> |
| <runnables name="Runnable_State_0" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="58" upperBound="60"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_State_1" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="59400" upperBound="60600"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_State_2" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="29700000" upperBound="30300000"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_1" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="5940000" upperBound="6060000"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_4_1" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="594" upperBound="606"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_4_2" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="29700" upperBound="30300"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_4_3" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="594000" upperBound="606000"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_4_4" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="23760000" upperBound="24240000"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_4_x" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="58" upperBound="60"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_3" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="5940000" upperBound="6060000"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_5_1" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="35640000" upperBound="36360000"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| <runnables name="Runnable_5_2" callback="false" service="false"> |
| <activityGraph> |
| <items xsi:type="am:Ticks"> |
| <default xsi:type="am:DiscreteValueUniformDistribution" lowerBound="11880000" upperBound="12120000"/> |
| </items> |
| </activityGraph> |
| </runnables> |
| </swModel> |
| <hwModel> |
| <definitions xsi:type="am:ProcessingUnitDefinition" name="DefaultCore" puType="CPU" features="Instructions/IPC_1.0?type=HwFeature"/> |
| <definitions xsi:type="am:MemoryDefinition" name="DefaultMemory"/> |
| <featureCategories name="Instructions" featureType="performance"> |
| <features name="IPC_1.0" value="1.0"/> |
| </featureCategories> |
| <structures name="System" structureType="System"> |
| <structures name="Ecu_1" structureType="ECU"> |
| <structures name="Processor_1" structureType="Microcontroller"> |
| <modules xsi:type="am:Memory" name="Memory_1" frequencyDomain="Frequency_1?type=FrequencyDomain" definition="DefaultMemory?type=MemoryDefinition"/> |
| <modules xsi:type="am:ProcessingUnit" name="Core_1" frequencyDomain="Frequency_1?type=FrequencyDomain" definition="DefaultCore?type=ProcessingUnitDefinition"> |
| <ports name="port" bitWidth="32" priority="0" portType="initiator"/> |
| </modules> |
| </structures> |
| </structures> |
| </structures> |
| <domains xsi:type="am:FrequencyDomain" name="Frequency_1" clockGating="false"> |
| <defaultValue value="600.0" unit="MHz"/> |
| </domains> |
| </hwModel> |
| <osModel> |
| <operatingSystems name="Generic_OS"> |
| <taskSchedulers name="Scheduler_1"> |
| <schedulingAlgorithm xsi:type="am:OSEK"/> |
| </taskSchedulers> |
| <osDataConsistency mode="noProtection"/> |
| </operatingSystems> |
| </osModel> |
| <stimuliModel> |
| <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_1"> |
| <offset value="0" unit="ms"/> |
| <recurrence value="220" unit="ms"/> |
| </stimuli> |
| <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_3"> |
| <offset value="0" unit="ms"/> |
| <recurrence value="50" unit="ms"/> |
| </stimuli> |
| <stimuli xsi:type="am:PeriodicStimulus" name="Stimulus_Task_5"> |
| <offset value="0" unit="ms"/> |
| <recurrence value="500" unit="ms"/> |
| </stimuli> |
| <stimuli xsi:type="am:InterProcessStimulus" name="IPA_Task_2"/> |
| <stimuli xsi:type="am:InterProcessStimulus" name="IPA_Task_4"/> |
| </stimuliModel> |
| <eventModel> |
| <events xsi:type="am:ProcessEvent" name="Event_Task_1" entity="Task_1?type=Task"/> |
| <events xsi:type="am:ProcessEvent" name="Event_Task_2" entity="Task_2?type=Task"/> |
| <events xsi:type="am:ProcessEvent" name="Event_Task_3" entity="Task_3?type=Task"/> |
| <events xsi:type="am:ProcessEvent" name="Event_Task_4" entity="Task_4?type=Task"/> |
| <events xsi:type="am:ProcessEvent" name="Event_Task_5" entity="Task_5?type=Task"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_1" entity="Runnable_1?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_3" entity="Runnable_3?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_4_1" entity="Runnable_4_1?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_4_2" entity="Runnable_4_2?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_4_3" entity="Runnable_4_3?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_4_4" entity="Runnable_4_4?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_4_x" entity="Runnable_4_x?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_5_1" entity="Runnable_5_1?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_5_2" entity="Runnable_5_2?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_State_0" entity="Runnable_State_0?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_State_1" entity="Runnable_State_1?type=Runnable"/> |
| <events xsi:type="am:RunnableEvent" name="Event_Runnable_State_2" entity="Runnable_State_2?type=Runnable"/> |
| <events xsi:type="am:StimulusEvent" name="Event_IPA_Task_2" entity="IPA_Task_2?type=InterProcessStimulus"/> |
| <events xsi:type="am:StimulusEvent" name="Event_IPA_Task_4" entity="IPA_Task_4?type=InterProcessStimulus"/> |
| <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_1" entity="Stimulus_Task_1?type=PeriodicStimulus"/> |
| <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_3" entity="Stimulus_Task_3?type=PeriodicStimulus"/> |
| <events xsi:type="am:StimulusEvent" name="Event_Stimulus_Task_5" entity="Stimulus_Task_5?type=PeriodicStimulus"/> |
| </eventModel> |
| <constraintsModel/> |
| <mappingModel addressMappingType="offset"> |
| <schedulerAllocation scheduler="Scheduler_1?type=TaskScheduler" responsibility="Core_1?type=ProcessingUnit"/> |
| <taskAllocation task="Task_1?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/> |
| <taskAllocation task="Task_2?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/> |
| <taskAllocation task="Task_3?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/> |
| <taskAllocation task="Task_4?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/> |
| <taskAllocation task="Task_5?type=Task" scheduler="Scheduler_1?type=TaskScheduler"/> |
| </mappingModel> |
| <componentsModel/> |
| </am:Amalthea> |