| | 284 | |
| | 285 | Autres exemple : |
| | 286 | |
| | 287 | {{{ |
| | 288 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
| | 289 | |
| | 290 | <cpu name="nom_instance" > |
| | 291 | |
| | 292 | <core> |
| | 293 | <parameter name="size_data" value="32" /> |
| | 294 | |
| | 295 | <cache_unit> |
| | 296 | <icache id="0"> |
| | 297 | <parameter name="arbiter" value="0" /> |
| | 298 | <parameter name="nb_port" value="4" /> |
| | 299 | </icache> |
| | 300 | <icache id="1"> |
| | 301 | <parameter name="arbiter" value="0" /> |
| | 302 | <parameter name="nb_port" value="1" /> |
| | 303 | </icache> |
| | 304 | <dcache id="0"> |
| | 305 | <parameter name="arbiter" value="0" /> |
| | 306 | <parameter name="nb_port" value="1" /> |
| | 307 | </dcache> |
| | 308 | </cache_unit> |
| | 309 | |
| | 310 | <front_end id="0"> |
| | 311 | <fetch_unit> |
| | 312 | <context id="0"> |
| | 313 | <parameter name="nb_inst" value="1" /> |
| | 314 | <parameter name="size_queue" value="4" /> |
| | 315 | <link dest="icache" id="0" slot="1,2,3" /> |
| | 316 | |
| | 317 | <!-- |
| | 318 | NOTE : |
| | 319 | l'attribut slot est optionnel, dans ce cas la valeur par défaut est 0 |
| | 320 | |
| | 321 | La notation : |
| | 322 | |
| | 323 | <link dest="icache" id="0" slot="1,2,3" /> |
| | 324 | |
| | 325 | est équivalente à : |
| | 326 | |
| | 327 | <link dest="icache" id="0" slot="1" /> |
| | 328 | <link dest="icache" id="0" slot="2" /> |
| | 329 | <link dest="icache" id="0" slot="3" /> |
| | 330 | --> |
| | 331 | |
| | 332 | |
| | 333 | <link dest="icache" id="1" slot="1" /> |
| | 334 | </context> |
| | 335 | <context id="1"> |
| | 336 | <parameter name="nb_inst" value="4" /> |
| | 337 | <parameter name="size_queue" value="8" /> |
| | 338 | <link dest="icache" id="0" slot="1,2,3,4" /> |
| | 339 | </context> |
| | 340 | </fetch_unit> |
| | 341 | </front_end> |
| | 342 | |
| | 343 | </core> |
| | 344 | |
| | 345 | </cpu> |
| | 346 | |
| | 347 | }}} |
| | 348 | |
| | 349 | |
| | 350 | |