Junhyung Ki | 38306d6 | 2020-05-04 21:20:07 +0200 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <am:Amalthea xmlns:am="http://app4mc.eclipse.org/amalthea/0.9.8" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0"> |
| 3 | <swModel> |
| 4 | <tasks xmi:id="Task0?type=Task" name="Task0" stimuli="periodic_03s?type=PeriodicStimulus" multipleTaskActivationLimit="0"> |
| 5 | <activityGraph> |
| 6 | <items xsi:type="am:RunnableCall" runnable="Run0?type=Runnable" /> |
| 7 | </activityGraph> |
| 8 | </tasks> |
| 9 | <tasks xmi:id="Task1?type=Task" name="Task1" stimuli="periodic_05s?type=PeriodicStimulus" multipleTaskActivationLimit="0"> |
| 10 | <activityGraph> |
| 11 | <items xsi:type="am:RunnableCall" runnable="Run1?type=Runnable" /> |
| 12 | </activityGraph> |
| 13 | </tasks> |
| 14 | <tasks xmi:id="Task2?type=Task" name="Task2" stimuli="periodic_06s?type=PeriodicStimulus" multipleTaskActivationLimit="0"> |
| 15 | <activityGraph> |
| 16 | <items xsi:type="am:RunnableCall" runnable="Run2?type=Runnable" /> |
| 17 | </activityGraph> |
| 18 | </tasks> |
| 19 | <tasks xmi:id="Task3?type=Task" name="Task3" stimuli="periodic_10s?type=PeriodicStimulus" multipleTaskActivationLimit="0"> |
| 20 | <activityGraph> |
| 21 | <items xsi:type="am:RunnableCall" runnable="Run3?type=Runnable" /> |
| 22 | </activityGraph> |
| 23 | </tasks> |
| 24 | <runnables xmi:id="Run0?type=Runnable" name="Run0" callback="false" service="false"> |
| 25 | <activityGraph> |
| 26 | <items xsi:type="am:Ticks"> |
| 27 | <default xsi:type="am:DiscreteValueConstant" value="1" /> |
| 28 | </items> |
| 29 | </activityGraph> |
| 30 | </runnables> |
| 31 | <runnables xmi:id="Run1?type=Runnable" name="Run1" callback="false" service="false"> |
| 32 | <activityGraph> |
| 33 | <items xsi:type="am:Ticks"> |
| 34 | <default xsi:type="am:DiscreteValueConstant" value="1" /> |
| 35 | </items> |
| 36 | </activityGraph> |
| 37 | </runnables> |
| 38 | <runnables xmi:id="Run2?type=Runnable" name="Run2" callback="false" service="false"> |
| 39 | <activityGraph> |
| 40 | <items xsi:type="am:Ticks"> |
| 41 | <default xsi:type="am:DiscreteValueConstant" value="1" /> |
| 42 | </items> |
| 43 | </activityGraph> |
| 44 | </runnables> |
| 45 | <runnables xmi:id="Run3?type=Runnable" name="Run3" callback="false" service="false"> |
| 46 | <activityGraph> |
| 47 | <items xsi:type="am:Ticks"> |
| 48 | <default xsi:type="am:DiscreteValueConstant" value="2" /> |
| 49 | </items> |
| 50 | </activityGraph> |
| 51 | </runnables> |
| 52 | </swModel> |
| 53 | <hwModel> |
| 54 | <definitions xsi:type="am:ProcessingUnitDefinition" xmi:id="A57?type=ProcessingUnitDefinition" name="A57" puType="CPU"> |
| 55 | <customProperties key="baseline"> |
| 56 | <value xsi:type="am:Time" value="20" unit="ns" /> |
| 57 | </customProperties> |
| 58 | <customProperties key="k"> |
| 59 | <value xsi:type="am:Time" value="20" unit="ns" /> |
| 60 | </customProperties> |
| 61 | <customProperties key="sGPU"> |
| 62 | <value xsi:type="am:Time" value="100" unit="ns" /> |
| 63 | </customProperties> |
| 64 | </definitions> |
| 65 | <definitions xsi:type="am:ProcessingUnitDefinition" xmi:id="Denver?type=ProcessingUnitDefinition" name="Denver" puType="CPU"> |
| 66 | <customProperties key="baseline"> |
| 67 | <value xsi:type="am:Time" value="8" unit="ns" /> |
| 68 | </customProperties> |
| 69 | <customProperties key="k"> |
| 70 | <value xsi:type="am:Time" value="2" unit="ns" /> |
| 71 | </customProperties> |
| 72 | <customProperties key="sGPU"> |
| 73 | <value xsi:type="am:Time" value="20" unit="ns" /> |
| 74 | </customProperties> |
| 75 | </definitions> |
| 76 | <definitions xsi:type="am:ProcessingUnitDefinition" xmi:id="GPU_def?type=ProcessingUnitDefinition" name="GPU_def" puType="GPU"> |
| 77 | <customProperties key="baseline"> |
| 78 | <value xsi:type="am:Time" value="3" unit="ns" /> |
| 79 | </customProperties> |
| 80 | </definitions> |
| 81 | <definitions xsi:type="am:MemoryDefinition" xmi:id="LPDDR4?type=MemoryDefinition" name="LPDDR4" memoryType="DRAM"> |
| 82 | <size value="8" unit="GB" /> |
| 83 | <accessLatency xsi:type="am:DiscreteValueConstant" value="0" /> |
| 84 | </definitions> |
| 85 | <definitions xsi:type="am:ConnectionHandlerDefinition" xmi:id="Interconnect?type=ConnectionHandlerDefinition" name="Interconnect" policy="RoundRobin" maxBurstSize="4" maxConcurrentTransfers="1" /> |
| 86 | <definitions xsi:type="am:CacheDefinition" xmi:id="CPU_L2?type=CacheDefinition" name="CPU_L2" cacheType="unified" writeStrategy="writeback" nWays="4" coherency="false" exclusive="false" hitRate="0.0"> |
| 87 | <size value="2" unit="MB" /> |
| 88 | <lineSize value="64" unit="B" /> |
| 89 | </definitions> |
| 90 | <definitions xsi:type="am:CacheDefinition" xmi:id="GPU_L2?type=CacheDefinition" name="GPU_L2" cacheType="data" writeStrategy="writeback" nWays="4" coherency="false" exclusive="false" hitRate="0.0"> |
| 91 | <size value="512" unit="kB" /> |
| 92 | <lineSize value="64" unit="B" /> |
| 93 | </definitions> |
| 94 | <structures xmi:id="JetsonTX2?type=HwStructure" name="JetsonTX2" structureType="System"> |
| 95 | <structures xmi:id="ARM+island?type=HwStructure" name="ARM island" structureType="Cluster"> |
| 96 | <modules xsi:type="am:ProcessingUnit" xmi:id="Core0?type=ProcessingUnit" name="Core0" frequencyDomain="A57_Domain?type=FrequencyDomain" definition="A57?type=ProcessingUnitDefinition"> |
| 97 | <accessElements name="C2toDRAM"> |
| 98 | <readLatency xsi:type="am:DiscreteValueConstant" value="40" /> |
| 99 | <writeLatency xsi:type="am:DiscreteValueConstant" value="40" /> |
| 100 | <dataRate value="4500" unit="MBPerSecond" /> |
| 101 | </accessElements> |
| 102 | </modules> |
| 103 | </structures> |
| 104 | </structures> |
| 105 | <domains xsi:type="am:FrequencyDomain" xmi:id="A57_Domain?type=FrequencyDomain" name="A57_Domain" clockGating="false"> |
| 106 | <defaultValue value="1.0" unit="Hz" /> |
| 107 | </domains> |
| 108 | </hwModel> |
| 109 | <stimuliModel> |
| 110 | <stimuli xsi:type="am:PeriodicStimulus" xmi:id="periodic_03s?type=PeriodicStimulus" name="periodic_03s"> |
| 111 | <recurrence value="3" unit="s" /> |
| 112 | </stimuli> |
| 113 | <stimuli xsi:type="am:PeriodicStimulus" xmi:id="periodic_05s?type=PeriodicStimulus" name="periodic_05s"> |
| 114 | <recurrence value="5" unit="s" /> |
| 115 | </stimuli> |
| 116 | <stimuli xsi:type="am:PeriodicStimulus" xmi:id="periodic_06s?type=PeriodicStimulus" name="periodic_06s"> |
| 117 | <recurrence value="6" unit="s" /> |
| 118 | </stimuli> |
| 119 | <stimuli xsi:type="am:PeriodicStimulus" xmi:id="periodic_10s?type=PeriodicStimulus" name="periodic_10s"> |
| 120 | <recurrence value="10" unit="s" /> |
| 121 | </stimuli> |
| 122 | </stimuliModel> |
| 123 | <eventModel> |
| 124 | <events xsi:type="am:ProcessEvent" xmi:id="Task0+event?type=ProcessEvent" name="Task0 event" description="" entity="Task0?type=Task" /> |
| 125 | <events xsi:type="am:ProcessEvent" xmi:id="Task1+event?type=ProcessEvent" name="Task1 event" entity="Task1?type=Task" /> |
| 126 | <events xsi:type="am:ProcessEvent" xmi:id="Task2+event?type=ProcessEvent" name="Task2 event" entity="Task2?type=Task" /> |
| 127 | <events xsi:type="am:ProcessEvent" xmi:id="Task3+event?type=ProcessEvent" name="Task3 event" description="" entity="Task3?type=Task" /> |
| 128 | </eventModel> |
| 129 | <constraintsModel> |
| 130 | <eventChains xmi:id="EC_3-5-6-10?type=EventChain" name="EC_3-5-6-10" itemType="sequence" minItemsCompleted="1"> |
| 131 | <items xsi:type="am:EventChainContainer"> |
| 132 | <eventChain name="" stimulus="Task0+event?type=ProcessEvent" response="Task1+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 133 | </items> |
| 134 | <items xsi:type="am:EventChainContainer"> |
| 135 | <eventChain name="" stimulus="Task1+event?type=ProcessEvent" response="Task2+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 136 | </items> |
| 137 | <items xsi:type="am:EventChainContainer"> |
| 138 | <eventChain name="" stimulus="Task2+event?type=ProcessEvent" response="Task3+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 139 | </items> |
| 140 | </eventChains> |
| 141 | <eventChains xmi:id="EC_3-6-5-10?type=EventChain" name="EC_3-6-5-10" itemType="sequence" minItemsCompleted="1"> |
| 142 | <items xsi:type="am:EventChainContainer"> |
| 143 | <eventChain name="" stimulus="Task0+event?type=ProcessEvent" response="Task2+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 144 | </items> |
| 145 | <items xsi:type="am:EventChainContainer"> |
| 146 | <eventChain name="" stimulus="Task2+event?type=ProcessEvent" response="Task1+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 147 | </items> |
| 148 | <items xsi:type="am:EventChainContainer"> |
| 149 | <eventChain name="" stimulus="Task1+event?type=ProcessEvent" response="Task3+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 150 | </items> |
| 151 | </eventChains> |
| 152 | <eventChains xmi:id="EC_10-5-6-3?type=EventChain" name="EC_10-5-6-3" itemType="sequence" minItemsCompleted="1"> |
| 153 | <items xsi:type="am:EventChainContainer"> |
| 154 | <eventChain name="" stimulus="Task3+event?type=ProcessEvent" response="Task1+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 155 | </items> |
| 156 | <items xsi:type="am:EventChainContainer"> |
| 157 | <eventChain name="" stimulus="Task1+event?type=ProcessEvent" response="Task2+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 158 | </items> |
| 159 | <items xsi:type="am:EventChainContainer"> |
| 160 | <eventChain name="" stimulus="Task2+event?type=ProcessEvent" response="Task0+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 161 | </items> |
| 162 | </eventChains> |
| 163 | <eventChains xmi:id="EC_10-6-5-3?type=EventChain" name="EC_10-6-5-3" itemType="sequence" minItemsCompleted="1"> |
| 164 | <items xsi:type="am:EventChainContainer"> |
| 165 | <eventChain name="" stimulus="Task3+event?type=ProcessEvent" response="Task2+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 166 | </items> |
| 167 | <items xsi:type="am:EventChainContainer"> |
| 168 | <eventChain name="" stimulus="Task2+event?type=ProcessEvent" response="Task1+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 169 | </items> |
| 170 | <items xsi:type="am:EventChainContainer"> |
| 171 | <eventChain name="" stimulus="Task1+event?type=ProcessEvent" response="Task0+event?type=ProcessEvent" minItemsCompleted="1" /> |
| 172 | </items> |
| 173 | </eventChains> |
| 174 | </constraintsModel> |
| 175 | </am:Amalthea> |