305 | | == 7. External Network == |
306 | | |
307 | | TBD |
308 | | |
| 305 | == 7. VCI initiators & targets on the external network == |
| 306 | |
| 307 | The only targets on the external network are the physical memory bank (one target per cluster). |
| 308 | The initiators are the memory cache (one initiator per cluster) and the I/O bridge (one extra initiator in the I/O cluster. |
| 309 | As for the direct network, each VCI port is identified by three indexes : |
| 310 | |
| 311 | * '''X_ID''' is the cluster X-coordinate in the 2D mesh. |
| 312 | * '''Y_ID''' is the cluster Y-coordinate in the 2D mexh. |
| 313 | * '''L_ID''' is the local index inside the cluster. |
| 314 | |
| 315 | X_ID, Y_ID and L_ID are coded on NX, NY, NL bits respectively. |
| 316 | The local index is only used to discriminate the initiators. It is not used by the targets. |
| 317 | |
| 318 | || Initiator ||L_ID|| |
| 319 | || || || |
| 320 | || memory cache || 0 || |
| 321 | || I/O bridge || 1 || |
| 322 | |
| 323 | Here is the VCI encoding on the external network |
| 324 | |
| 325 | || VCI Field || width || |
| 326 | || || || |
| 327 | ||ADDRESS || 40 bits || |
| 328 | ||WDATA , RDATA || 64 bits || |
| 329 | ||PLEN || 7 bits || |
| 330 | ||SRCID, RSRCID || 14 bits || |
| 331 | ||TRDID, RTRDID || 4 bits || |
| 332 | ||PKTID, RPKTID || 0 bits || |
| 333 | ||RERROR || 1 bit || |
| 334 | |
| 335 | The only supported transactions are READ and WRITE transactions. |
| 336 | Bursts are supported, but all addresses in a burst |
| 337 | Only should be in the same cache line (64 bytes). |
| 338 | We don't transport the VCI BE field on the external network, as the byte operations are not supported. |
| 339 | We don't transport the VCI PKTID field |
| 340 | |
| 341 | == 8. DSPIN packet encoding on the direct network == |
| 342 | |
| 343 | The VCI command & response packets are translated (actually serialized) to DSPIN format by the VCI/DSPIN wrappers. For both the DSPIN command packet and the response packet, the flit width is 65 bits. and the DSPIN response packet width is 33 bits. |
| 344 | The DSPIN interconnexion network uses only the following information to route the DSPIN packets to the proper destination: |
| 345 | * The EOP flag, defining the last flit of a DSPIN packet. |
| 346 | * The (NX+NY+NL) MSB bits of the first field are used to route the packet to the proper destination. |
| 347 | |
| 348 | |
| 349 | === 8.1 DSPIN Read Command packet format (65 bits) === |
| 350 | |
| 351 | A single flit VCI Read Command packet is translated to a single flits DSPIN Read Command packet. |
| 352 | |
| 353 | Flit 0 : |
| 354 | ||EOP||----------------ADDRESS--------------------||PLEN||CMD||SRCID||TRDID|| |
| 355 | || 1 || (38) || (7)||(1)|| (14)|| (4) || |
| 356 | |
| 357 | === 8.2 DSPIN write Command packet format (65 bits) === |
| 358 | |
| 359 | A N flits VCI Write Command packet is translated to a (N+1) flits DSPIN Write Command packet. |
| 360 | As a DATA flit contains 8 bytes |
| 361 | |
| 362 | Flit 0 : |
| 363 | ||EOP||----------------ADDRESS--------------------||PLEN||CMD||SRCID||TRDID|| |
| 364 | || 0 || (38) || (7)||(1)|| (14)|| (4) || |
| 365 | |
| 366 | Flit N : |
| 367 | ||EOP||----------------------------WDATA-----------------------------------|| |
| 368 | || 1 || (64) || |
| 369 | |
| 370 | === 8.3 DSPIN Read Response packet format (65 bits) === |
| 371 | |
| 372 | A N flits VCI Read Response packet is translated to a (N+1) flits DSPIN Read Response packet. |
| 373 | |
| 374 | Flit 0 : |
| 375 | ||EOP||RSRCID||------------ res ---------------------------||RERROR||RTRDID|| |
| 376 | || 0 || (14) || (44) || (2) || (4) || |
| 377 | |
| 378 | Flit N : |
| 379 | ||EOP||---------------------------RDATA------------------------------------|| |
| 380 | || 1 || (64) || |
| 381 | |
| 382 | === 8.4 DSPIN Write Response packet format (65 bits) === |
| 383 | |
| 384 | A single flit VCI Write Response packet is translated to a single flit DSPIN Write Response packet. |
| 385 | |
| 386 | Flit 0 : |
| 387 | ||EOP||RSRCID||------------ res ---------------------------||RERROR||RTRDID|| |
| 388 | || 1 || (14) || (44) || (2) || (4) || |
| 389 | |
| 390 | |