blob: 4d44f272bb8d70525778c0ee9741a17e01cad2de [file] [log] [blame]
<?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.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<swModel>
<tasks name="Task_1" stimuli="PeriodicStimulus_1?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="0">
<callGraph>
<graphEntries xsi:type="am:CallSequence" name="CallSequence_1">
<calls xsi:type="am:TaskRunnableCall" runnable="Runnable_1?type=Runnable">
<counter prescaler="0" offset="0"/>
</calls>
</graphEntries>
</callGraph>
</tasks>
<tasks name="Task_2" stimuli="PeriodicStimulus_1?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="0">
<callGraph>
<graphEntries xsi:type="am:CallSequence" name="">
<calls xsi:type="am:TaskRunnableCall" runnable="Runnable_1?type=Runnable"/>
</graphEntries>
</callGraph>
</tasks>
<runnables name="Runnable_1" callback="false" service="false">
<runnableItems xsi:type="am:Ticks">
<default xsi:type="am:DiscreteValueConstant" value="100"/>
<extended key="ProcessingUnitDefinition_1?type=ProcessingUnitDefinition">
<value xsi:type="am:DiscreteValueConstant" value="42"/>
</extended>
<extended key="ProcessingUnitDefinition_2?type=ProcessingUnitDefinition">
<value xsi:type="am:DiscreteValueConstant" value="23"/>
</extended>
</runnableItems>
<runnableItems xsi:type="am:Ticks">
<default xsi:type="am:DiscreteValueConstant" value="5"/>
</runnableItems>
</runnables>
</swModel>
<hwModel>
<definitions xsi:type="am:ProcessingUnitDefinition" name="ProcessingUnitDefinition_1"/>
<definitions xsi:type="am:ProcessingUnitDefinition" name="ProcessingUnitDefinition_2"/>
<structures name="HwStructure_1" structureType="System">
<structures name="HwStructure_2" structureType="ECU">
<structures name="HwStructure_1" structureType="Microcontroller">
<modules xsi:type="am:ProcessingUnit" name="ProcessingUnit_1" frequencyDomain="FrequencyDomain_1?type=FrequencyDomain" definition="ProcessingUnitDefinition_1?type=ProcessingUnitDefinition"/>
</structures>
<structures name="HwStructure_2" structureType="Microcontroller">
<modules xsi:type="am:ProcessingUnit" name="ProcessingUnit_2" frequencyDomain="FrequencyDomain_1?type=FrequencyDomain" definition="ProcessingUnitDefinition_2?type=ProcessingUnitDefinition"/>
</structures>
</structures>
</structures>
<domains xsi:type="am:FrequencyDomain" name="FrequencyDomain_1" clockGating="false">
<defaultValue value="0.1" unit="GHz"/>
</domains>
</hwModel>
<osModel>
<operatingSystems name="OperatingSystem_1">
<taskSchedulers name="TaskScheduler_1">
<schedulingAlgorithm xsi:type="am:OSEK"/>
</taskSchedulers>
</operatingSystems>
</osModel>
<stimuliModel>
<stimuli xsi:type="am:PeriodicStimulus" name="PeriodicStimulus_1">
<offset value="0" unit="s"/>
<recurrence value="10" unit="ms"/>
</stimuli>
</stimuliModel>
<eventModel/>
<constraintsModel/>
<mappingModel>
<schedulerAllocation scheduler="TaskScheduler_1?type=TaskScheduler" responsibility="ProcessingUnit_1?type=ProcessingUnit ProcessingUnit_2?type=ProcessingUnit" executingPU="ProcessingUnit_1?type=ProcessingUnit"/>
<taskAllocation task="Task_1?type=Task" scheduler="TaskScheduler_1?type=TaskScheduler" affinity="ProcessingUnit_1?type=ProcessingUnit"/>
<taskAllocation task="Task_2?type=Task" scheduler="TaskScheduler_1?type=TaskScheduler" affinity="ProcessingUnit_2?type=ProcessingUnit"/>
</mappingModel>
</am:Amalthea>