| <?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.2.0"> |
| <swModel> |
| <isrs xmi:id="isr1?type=ISR" name="isr1"/> |
| <isrs xmi:id="isr2?type=ISR" name="isr2"/> |
| <isrs xmi:id="isr3?type=ISR" name="isr3"/> |
| <tasks xmi:id="t1?type=Task" name="t1" multipleTaskActivationLimit="0"/> |
| <tasks xmi:id="t2?type=Task" name="t2" multipleTaskActivationLimit="0"/> |
| <tasks xmi:id="t3?type=Task" name="t3" multipleTaskActivationLimit="0"/> |
| <tasks xmi:id="t4?type=Task" name="t4" multipleTaskActivationLimit="0"/> |
| <tasks xmi:id="t5?type=Task" name="t5" multipleTaskActivationLimit="0"/> |
| <tasks xmi:id="t6?type=Task" name="t6" multipleTaskActivationLimit="0"/> |
| <tasks xmi:id="t7?type=Task" name="t7" multipleTaskActivationLimit="0"/> |
| </swModel> |
| <hwModel> |
| <definitions xsi:type="am:ProcessingUnitDefinition" xmi:id="Pu1_def?type=ProcessingUnitDefinition" name="Pu1_def"/> |
| <definitions xsi:type="am:ProcessingUnitDefinition" xmi:id="Pu2_def?type=ProcessingUnitDefinition" name="Pu2_def"/> |
| <structures xmi:id="SoC?type=HwStructure" name="SoC" structureType="SoC"> |
| <modules xsi:type="am:ProcessingUnit" xmi:id="core1?type=ProcessingUnit" name="core1"/> |
| <modules xsi:type="am:ProcessingUnit" xmi:id="core2?type=ProcessingUnit" name="core2"/> |
| <modules xsi:type="am:ProcessingUnit" xmi:id="core3?type=ProcessingUnit" name="core3"/> |
| </structures> |
| </hwModel> |
| <osModel> |
| <operatingSystems name="Os1"> |
| <taskSchedulers xmi:id="Scheduler1?type=TaskScheduler" name="Scheduler1"/> |
| <taskSchedulers xmi:id="Scheduler2?type=TaskScheduler" name="Scheduler2"/> |
| <taskSchedulers xmi:id="Scheduler3?type=TaskScheduler" name="Scheduler3"> |
| <parentAssociation parent="Scheduler2?type=TaskScheduler"/> |
| </taskSchedulers> |
| <taskSchedulers xmi:id="Scheduler4?type=TaskScheduler" name="Scheduler4"> |
| <parentAssociation parent="Scheduler3?type=TaskScheduler"/> |
| </taskSchedulers> |
| <interruptControllers xmi:id="controller1?type=InterruptController" name="controller1"/> |
| <interruptControllers xmi:id="controller2?type=InterruptController" name="controller2"/> |
| </operatingSystems> |
| </osModel> |
| <mappingModel> |
| <schedulerAllocation scheduler="Scheduler2?type=TaskScheduler" responsibility="core2?type=ProcessingUnit" executingPU="core2?type=ProcessingUnit"/> |
| <schedulerAllocation scheduler="Scheduler1?type=TaskScheduler" responsibility="core1?type=ProcessingUnit" executingPU="core1?type=ProcessingUnit"/> |
| <schedulerAllocation scheduler="Scheduler3?type=TaskScheduler" responsibility="core2?type=ProcessingUnit" executingPU="core1?type=ProcessingUnit"/> |
| <schedulerAllocation scheduler="Scheduler4?type=TaskScheduler" responsibility="core2?type=ProcessingUnit" executingPU="core2?type=ProcessingUnit"/> |
| <schedulerAllocation/> |
| <schedulerAllocation scheduler="controller1?type=InterruptController" responsibility="core1?type=ProcessingUnit" executingPU="core1?type=ProcessingUnit"/> |
| <schedulerAllocation scheduler="controller2?type=InterruptController" responsibility="core2?type=ProcessingUnit"/> |
| <schedulerAllocation scheduler="controller1?type=InterruptController" responsibility="core1?type=ProcessingUnit" executingPU="core1?type=ProcessingUnit"/> |
| <taskAllocation task="t1?type=Task" scheduler="Scheduler1?type=TaskScheduler" affinity="core1?type=ProcessingUnit"/> |
| <taskAllocation task="t2?type=Task" scheduler="Scheduler2?type=TaskScheduler" affinity="core2?type=ProcessingUnit"/> |
| <taskAllocation task="t3?type=Task" scheduler="Scheduler1?type=TaskScheduler" affinity="core1?type=ProcessingUnit"/> |
| <taskAllocation task="t4?type=Task" scheduler="Scheduler3?type=TaskScheduler" affinity="core3?type=ProcessingUnit"/> |
| <taskAllocation task="t5?type=Task" scheduler="Scheduler4?type=TaskScheduler"/> |
| <taskAllocation task="t6?type=Task" scheduler="Scheduler3?type=TaskScheduler"/> |
| <taskAllocation task="t7?type=Task"/> |
| <isrAllocation isr="isr1?type=ISR" controller="controller1?type=InterruptController"/> |
| <isrAllocation isr="isr2?type=ISR" controller="controller2?type=InterruptController"/> |
| <isrAllocation isr="isr3?type=ISR" controller="controller1?type=InterruptController"/> |
| </mappingModel> |
| </am:Amalthea> |