Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Zakir Meer | 1a047f7 | 2018-11-29 16:33:06 +0100 | [diff] [blame^] | 2 | <am:Amalthea xmlns:am="http://app4mc.eclipse.org/amalthea/0.9.2" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0"> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 3 | <swModel> |
| 4 | <tasks name="Task5ms" stimuli="Stimuli5msA?type=PeriodicStimulus Stimuli5msB?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="0"> |
| 5 | <callGraph> |
| 6 | <graphEntries xsi:type="am:CallSequence"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 7 | <calls xsi:type="am:TaskRunnableCall" runnable="Runnable5ms?type=Runnable" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 8 | </graphEntries> |
| 9 | </callGraph> |
| 10 | </tasks> |
| 11 | <tasks name="Task1ms" stimuli="Stimuli1ms?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="0"> |
| 12 | <callGraph> |
| 13 | <graphEntries xsi:type="am:CallSequence"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 14 | <calls xsi:type="am:TaskRunnableCall" runnable="Runnable1ms?type=Runnable" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 15 | </graphEntries> |
| 16 | </callGraph> |
| 17 | </tasks> |
| 18 | <tasks name="Task10ms" stimuli="Stimuli10ms?type=PeriodicStimulus" preemption="preemptive" multipleTaskActivationLimit="0"> |
| 19 | <callGraph> |
| 20 | <graphEntries xsi:type="am:CallSequence"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 21 | <calls xsi:type="am:TaskRunnableCall" runnable="Runnable10ms?type=Runnable" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 22 | </graphEntries> |
| 23 | <graphEntries xsi:type="am:CallSequence" name="IPC20ms"> |
| 24 | <calls xsi:type="am:InterProcessTrigger" stimulus="Task10ms2Task20ms?type=InterProcessStimulus"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 25 | <counter prescaler="2" offset="0" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 26 | </calls> |
| 27 | </graphEntries> |
| 28 | </callGraph> |
| 29 | </tasks> |
| 30 | <tasks name="Task20ms" stimuli="Task10ms2Task20ms?type=InterProcessStimulus" preemption="preemptive" multipleTaskActivationLimit="0"> |
| 31 | <callGraph> |
| 32 | <graphEntries xsi:type="am:CallSequence"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 33 | <calls xsi:type="am:TaskRunnableCall" runnable="Runnable20ms?type=Runnable" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 34 | </graphEntries> |
| 35 | </callGraph> |
| 36 | </tasks> |
| 37 | <runnables name="Runnable1ms" callback="false" service="false"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 38 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="request" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 39 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 40 | <default key="Instructions"> |
| 41 | <value xsi:type="am:NeedDeviation"> |
| 42 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 43 | <lowerBound xsi:type="am:LongObject" value="200" /> |
| 44 | <upperBound xsi:type="am:LongObject" value="600" /> |
| 45 | <distribution xsi:type="am:UniformDistribution" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 46 | </deviation> |
| 47 | </value> |
| 48 | </default> |
| 49 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 50 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="release" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 51 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 52 | <default key="Instructions"> |
| 53 | <value xsi:type="am:NeedDeviation"> |
| 54 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 55 | <lowerBound xsi:type="am:LongObject" value="1" /> |
| 56 | <upperBound xsi:type="am:LongObject" value="10" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 57 | <distribution xsi:type="am:WeibullEstimators" pRemainPromille="0.004999999888241291"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 58 | <mean xsi:type="am:LongObject" value="4" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 59 | </distribution> |
| 60 | </deviation> |
| 61 | </value> |
| 62 | </default> |
| 63 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 64 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="request" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 65 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 66 | <default key="Instructions"> |
| 67 | <value xsi:type="am:NeedDeviation"> |
| 68 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 69 | <lowerBound xsi:type="am:LongObject" value="200" /> |
| 70 | <upperBound xsi:type="am:LongObject" value="600" /> |
| 71 | <distribution xsi:type="am:UniformDistribution" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 72 | </deviation> |
| 73 | </value> |
| 74 | </default> |
| 75 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 76 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="release" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 77 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 78 | <default key="Instructions"> |
| 79 | <value xsi:type="am:NeedDeviation"> |
| 80 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 81 | <lowerBound xsi:type="am:LongObject" value="1" /> |
| 82 | <upperBound xsi:type="am:LongObject" value="15" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 83 | <distribution xsi:type="am:WeibullEstimators" pRemainPromille="0.004999999888241291"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 84 | <mean xsi:type="am:LongObject" value="5" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 85 | </distribution> |
| 86 | </deviation> |
| 87 | </value> |
| 88 | </default> |
| 89 | </runnableItems> |
| 90 | </runnables> |
| 91 | <runnables name="Runnable5ms" callback="false" service="false"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 92 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="request" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 93 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 94 | <default key="Instructions"> |
| 95 | <value xsi:type="am:NeedDeviation"> |
| 96 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 97 | <lowerBound xsi:type="am:LongObject" value="200" /> |
| 98 | <upperBound xsi:type="am:LongObject" value="600" /> |
| 99 | <distribution xsi:type="am:UniformDistribution" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 100 | </deviation> |
| 101 | </value> |
| 102 | </default> |
| 103 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 104 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="release" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 105 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 106 | <default key="Instructions"> |
| 107 | <value xsi:type="am:NeedDeviation"> |
| 108 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 109 | <lowerBound xsi:type="am:LongObject" value="1" /> |
| 110 | <upperBound xsi:type="am:LongObject" value="10" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 111 | <distribution xsi:type="am:WeibullEstimators" pRemainPromille="0.004999999888241291"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 112 | <mean xsi:type="am:LongObject" value="4" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 113 | </distribution> |
| 114 | </deviation> |
| 115 | </value> |
| 116 | </default> |
| 117 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 118 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="request" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 119 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 120 | <default key="Instructions"> |
| 121 | <value xsi:type="am:NeedDeviation"> |
| 122 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 123 | <lowerBound xsi:type="am:LongObject" value="200" /> |
| 124 | <upperBound xsi:type="am:LongObject" value="600" /> |
| 125 | <distribution xsi:type="am:UniformDistribution" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 126 | </deviation> |
| 127 | </value> |
| 128 | </default> |
| 129 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 130 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="release" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 131 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 132 | <default key="Instructions"> |
| 133 | <value xsi:type="am:NeedDeviation"> |
| 134 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 135 | <lowerBound xsi:type="am:LongObject" value="1" /> |
| 136 | <upperBound xsi:type="am:LongObject" value="15" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 137 | <distribution xsi:type="am:WeibullEstimators" pRemainPromille="0.004999999888241291"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 138 | <mean xsi:type="am:LongObject" value="5" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 139 | </distribution> |
| 140 | </deviation> |
| 141 | </value> |
| 142 | </default> |
| 143 | </runnableItems> |
| 144 | </runnables> |
| 145 | <runnables name="Runnable20ms" callback="false" service="false"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 146 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="request" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 147 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 148 | <default key="Instructions"> |
| 149 | <value xsi:type="am:NeedDeviation"> |
| 150 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 151 | <lowerBound xsi:type="am:LongObject" value="200" /> |
| 152 | <upperBound xsi:type="am:LongObject" value="600" /> |
| 153 | <distribution xsi:type="am:UniformDistribution" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 154 | </deviation> |
| 155 | </value> |
| 156 | </default> |
| 157 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 158 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="release" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 159 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 160 | <default key="Instructions"> |
| 161 | <value xsi:type="am:NeedDeviation"> |
| 162 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 163 | <lowerBound xsi:type="am:LongObject" value="1" /> |
| 164 | <upperBound xsi:type="am:LongObject" value="10" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 165 | <distribution xsi:type="am:WeibullEstimators" pRemainPromille="0.004999999888241291"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 166 | <mean xsi:type="am:LongObject" value="4" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 167 | </distribution> |
| 168 | </deviation> |
| 169 | </value> |
| 170 | </default> |
| 171 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 172 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="request" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 173 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 174 | <default key="Instructions"> |
| 175 | <value xsi:type="am:NeedDeviation"> |
| 176 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 177 | <lowerBound xsi:type="am:LongObject" value="200" /> |
| 178 | <upperBound xsi:type="am:LongObject" value="600" /> |
| 179 | <distribution xsi:type="am:UniformDistribution" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 180 | </deviation> |
| 181 | </value> |
| 182 | </default> |
| 183 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 184 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="release" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 185 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 186 | <default key="Instructions"> |
| 187 | <value xsi:type="am:NeedDeviation"> |
| 188 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 189 | <lowerBound xsi:type="am:LongObject" value="1" /> |
| 190 | <upperBound xsi:type="am:LongObject" value="15" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 191 | <distribution xsi:type="am:WeibullEstimators" pRemainPromille="0.004999999888241291"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 192 | <mean xsi:type="am:LongObject" value="5" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 193 | </distribution> |
| 194 | </deviation> |
| 195 | </value> |
| 196 | </default> |
| 197 | </runnableItems> |
| 198 | </runnables> |
| 199 | <runnables name="Runnable10ms" callback="false" service="false"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 200 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="request" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 201 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 202 | <default key="Instructions"> |
| 203 | <value xsi:type="am:NeedDeviation"> |
| 204 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 205 | <lowerBound xsi:type="am:LongObject" value="200" /> |
| 206 | <upperBound xsi:type="am:LongObject" value="600" /> |
| 207 | <distribution xsi:type="am:UniformDistribution" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 208 | </deviation> |
| 209 | </value> |
| 210 | </default> |
| 211 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 212 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="release" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 213 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 214 | <default key="Instructions"> |
| 215 | <value xsi:type="am:NeedDeviation"> |
| 216 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 217 | <lowerBound xsi:type="am:LongObject" value="1" /> |
| 218 | <upperBound xsi:type="am:LongObject" value="10" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 219 | <distribution xsi:type="am:WeibullEstimators" pRemainPromille="0.004999999888241291"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 220 | <mean xsi:type="am:LongObject" value="4" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 221 | </distribution> |
| 222 | </deviation> |
| 223 | </value> |
| 224 | </default> |
| 225 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 226 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="request" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 227 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 228 | <default key="Instructions"> |
| 229 | <value xsi:type="am:NeedDeviation"> |
| 230 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 231 | <lowerBound xsi:type="am:LongObject" value="200" /> |
| 232 | <upperBound xsi:type="am:LongObject" value="600" /> |
| 233 | <distribution xsi:type="am:UniformDistribution" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 234 | </deviation> |
| 235 | </value> |
| 236 | </default> |
| 237 | </runnableItems> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 238 | <runnableItems xsi:type="am:SemaphoreAccess" semaphore="Lock?type=Semaphore" access="release" waitingBehaviour="active" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 239 | <runnableItems xsi:type="am:ExecutionNeed"> |
| 240 | <default key="Instructions"> |
| 241 | <value xsi:type="am:NeedDeviation"> |
| 242 | <deviation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 243 | <lowerBound xsi:type="am:LongObject" value="1" /> |
| 244 | <upperBound xsi:type="am:LongObject" value="15" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 245 | <distribution xsi:type="am:WeibullEstimators" pRemainPromille="0.004999999888241291"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 246 | <mean xsi:type="am:LongObject" value="5" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 247 | </distribution> |
| 248 | </deviation> |
| 249 | </value> |
| 250 | </default> |
| 251 | </runnableItems> |
| 252 | </runnables> |
| 253 | </swModel> |
| 254 | <hwModel> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 255 | <definitions xsi:type="am:ProcessingUnitDefinition" name="C0_Type" puType="CPU" features="Instructions/IPC_1.0?type=HwFeature" /> |
| 256 | <definitions xsi:type="am:ProcessingUnitDefinition" name="C1_Type" puType="CPU" features="Instructions/IPC_1.0?type=HwFeature" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 257 | <featureCategories name="Instructions" featureType="performance"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 258 | <features name="IPC_1.0" value="1.0" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 259 | </featureCategories> |
| 260 | <structures name="System" structureType="System"> |
| 261 | <structures name="ECU" structureType="ECU"> |
| 262 | <structures name="mC" structureType="Microcontroller"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 263 | <modules xsi:type="am:ProcessingUnit" name="C0" frequencyDomain="clock_C0?type=FrequencyDomain" definition="C0_Type?type=ProcessingUnitDefinition" /> |
| 264 | <modules xsi:type="am:ProcessingUnit" name="C1" frequencyDomain="clock_C1?type=FrequencyDomain" definition="C1_Type?type=ProcessingUnitDefinition" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 265 | </structures> |
| 266 | </structures> |
| 267 | </structures> |
| 268 | <domains xsi:type="am:FrequencyDomain" name="clock_C0" clockGating="false"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 269 | <defaultValue value="240.0" unit="MHz" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 270 | </domains> |
| 271 | <domains xsi:type="am:FrequencyDomain" name="clock_C1" clockGating="false"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 272 | <defaultValue value="240.0" unit="MHz" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 273 | </domains> |
| 274 | </hwModel> |
| 275 | <osModel> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 276 | <semaphores name="Lock" initialValue="0" maxValue="0" priorityCeilingProtocol="false" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 277 | <operatingSystems name="OS"> |
| 278 | <taskSchedulers name="SchedC0"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 279 | <schedulingAlgorithm xsi:type="am:OSEK" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 280 | </taskSchedulers> |
| 281 | <taskSchedulers name="SchedC1"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 282 | <schedulingAlgorithm xsi:type="am:OSEK" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 283 | </taskSchedulers> |
| 284 | </operatingSystems> |
| 285 | </osModel> |
| 286 | <stimuliModel> |
| 287 | <stimuli xsi:type="am:PeriodicStimulus" name="Stimuli1ms"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 288 | <offset value="0" unit="ms" /> |
| 289 | <recurrence value="1" unit="ms" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 290 | </stimuli> |
| 291 | <stimuli xsi:type="am:PeriodicStimulus" name="Stimuli5msA"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 292 | <offset value="800" unit="us" /> |
| 293 | <recurrence value="5" unit="ms" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 294 | </stimuli> |
| 295 | <stimuli xsi:type="am:PeriodicStimulus" name="Stimuli5msB"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 296 | <offset value="1500" unit="us" /> |
| 297 | <recurrence value="5" unit="ms" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 298 | </stimuli> |
| 299 | <stimuli xsi:type="am:PeriodicStimulus" name="Stimuli10ms"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 300 | <offset value="0" unit="ms" /> |
| 301 | <recurrence value="10" unit="ms" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 302 | </stimuli> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 303 | <stimuli xsi:type="am:InterProcessStimulus" name="Task10ms2Task20ms" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 304 | </stimuliModel> |
| 305 | <mappingModel> |
| 306 | <schedulerAllocation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 307 | <scheduler xsi:type="am:TaskScheduler" href="amlt:/#SchedC0?type=TaskScheduler" /> |
| 308 | <responsibility href="amlt:/#C0?type=ProcessingUnit" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 309 | </schedulerAllocation> |
| 310 | <schedulerAllocation> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 311 | <scheduler xsi:type="am:TaskScheduler" href="amlt:/#SchedC1?type=TaskScheduler" /> |
| 312 | <responsibility href="amlt:/#C1?type=ProcessingUnit" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 313 | </schedulerAllocation> |
| 314 | <taskAllocation task="Task1ms?type=Task" scheduler="SchedC0?type=TaskScheduler"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 315 | <schedulingParameters priority="50" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 316 | </taskAllocation> |
| 317 | <taskAllocation task="Task20ms?type=Task" scheduler="SchedC0?type=TaskScheduler"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 318 | <schedulingParameters priority="10" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 319 | </taskAllocation> |
| 320 | <taskAllocation task="Task5ms?type=Task" scheduler="SchedC1?type=TaskScheduler"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 321 | <schedulingParameters priority="40" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 322 | </taskAllocation> |
| 323 | <taskAllocation task="Task10ms?type=Task" scheduler="SchedC1?type=TaskScheduler"> |
Zakir Meer | 240344c | 2018-10-17 14:07:26 +0200 | [diff] [blame] | 324 | <schedulingParameters priority="30" /> |
Zakir Meer | 9f251f5 | 2018-06-17 16:21:31 +0200 | [diff] [blame] | 325 | </taskAllocation> |
| 326 | </mappingModel> |
| 327 | </am:Amalthea> |