blob: 6c8f3360d45e8a1dbc3bf60f59d0a5e81fcba2af [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<am:Amalthea xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:am="http://app4mc.eclipse.org/amalthea/1.0.0">
<swModel>
<tasks xmi:id="single_task?type=Task" name="single_task" stimuli="stim_100ms?type=PeriodicStimulus" multipleTaskActivationLimit="0">
<activityGraph>
<items xsi:type="am:RunnableCall" runnable="simple_runnable?type=Runnable"/>
<items xsi:type="am:RunnableCall" runnable="rand_runnable?type=Runnable"/>
</activityGraph>
</tasks>
<runnables xmi:id="simple_runnable?type=Runnable" name="simple_runnable" callback="false" service="false">
<activityGraph>
<items xsi:type="am:LabelAccess" data="vet?type=Label" access="read"/>
<items xsi:type="am:LabelAccess" data="scalar32?type=Label" access="read"/>
<items xsi:type="am:LabelAccess" data="scalar16?type=Label" access="read"/>
<items xsi:type="am:Ticks">
<default xsi:type="am:DiscreteValueConstant" value="1000000"/>
</items>
<items xsi:type="am:LabelAccess" data="scalar8?type=Label" access="write"/>
</activityGraph>
</runnables>
<runnables xmi:id="rand_runnable?type=Runnable" name="rand_runnable" callback="false" service="false">
<activityGraph>
<items xsi:type="am:LabelAccess" data="vet?type=Label" access="read"/>
<items xsi:type="am:LabelAccess" data="scalar16?type=Label" access="read"/>
<items xsi:type="am:Ticks">
<default xsi:type="am:DiscreteValueStatistics" lowerBound="100000" upperBound="500000" average="150000.0"/>
</items>
<items xsi:type="am:LabelAccess" data="scalar32?type=Label" access="write"/>
</activityGraph>
</runnables>
<labels xmi:id="vet?type=Label" name="vet" constant="false" bVolatile="false">
<size value="100" unit="B"/>
</labels>
<labels xmi:id="scalar16?type=Label" name="scalar16" constant="false" bVolatile="false">
<size value="16" unit="bit"/>
</labels>
<labels xmi:id="scalar8?type=Label" name="scalar8" constant="false" bVolatile="false">
<size value="1" unit="B"/>
</labels>
<labels xmi:id="scalar32?type=Label" name="scalar32" constant="false" bVolatile="false">
<size value="4" unit="B"/>
</labels>
</swModel>
<hwModel>
<definitions xsi:type="am:ProcessingUnitDefinition" xmi:id="slow_core?type=ProcessingUnitDefinition" name="slow_core" puType="CPU"/>
<definitions xsi:type="am:ProcessingUnitDefinition" xmi:id="fast_core?type=ProcessingUnitDefinition" name="fast_core" puType="CPU"/>
<structures xmi:id="no-name?type=HwStructure" name="">
<modules xsi:type="am:ProcessingUnit" xmi:id="slow1?type=ProcessingUnit" name="slow1" frequencyDomain="slow_freq?type=FrequencyDomain" definition="slow_core?type=ProcessingUnitDefinition"/>
<modules xsi:type="am:ProcessingUnit" xmi:id="fast1?type=ProcessingUnit" name="fast1" definition="fast_core?type=ProcessingUnitDefinition"/>
</structures>
<domains xsi:type="am:FrequencyDomain" xmi:id="slow_freq?type=FrequencyDomain" name="slow_freq" clockGating="false">
<defaultValue value="100.0" unit="MHz"/>
</domains>
<domains xsi:type="am:FrequencyDomain" xmi:id="fast_freq?type=FrequencyDomain" name="fast_freq" clockGating="false">
<defaultValue value="1.0" unit="GHz"/>
</domains>
</hwModel>
<osModel>
<operatingSystems name="os">
<taskSchedulers xmi:id="task_os?type=TaskScheduler" name="task_os"/>
</operatingSystems>
</osModel>
<stimuliModel>
<stimuli xsi:type="am:PeriodicStimulus" xmi:id="stim_100ms?type=PeriodicStimulus" name="stim_100ms">
<recurrence value="100" unit="ms"/>
</stimuli>
</stimuliModel>
<mappingModel>
<taskAllocation task="single_task?type=Task" scheduler="task_os?type=TaskScheduler" affinity="fast1?type=ProcessingUnit"/>
</mappingModel>
</am:Amalthea>