TMS320C6678

Multicore Fixed and Floating-Point Digital Signal Processor

www.ti.com

SPRS691—November 2010

 

4 System Interconnect

On the TMS320C6678 device, the C66x CorePac, the EDMA3 transfer controllers, and the system peripherals are interconnected through two switch fabrics. The switch fabrics allow for low-latency, concurrent data transfers between master peripherals and slave peripherals. The switch fabrics also allow for seamless arbitration between the system masters when accessing system slaves.

4.1 Internal Buses, Bridges, and Switch Fabrics

Two types of buses exist in the device: data buses and configuration buses. Some peripherals have both a data bus and a configuration bus interface, while others only have one type of interface. Furthermore, the bus interface width and speed varies from peripheral to peripheral. Configuration buses are mainly used to access the register space of a peripheral and the data buses are used mainly for data transfers. However, in some cases, the configuration bus is also used to transfer data. Similarly, the data bus can also be used to access the register space of a peripheral. For example, the DDR3 memory controller registers are accessed through their data bus interface.

The C66x CorePac, the EDMA3 traffic controllers, and the various system peripherals can be classified into two categories: masters and slaves.

Masters are capable of initiating read and write transfers in the system and do not rely on the EDMA3 for their data transfers. Slaves on the other hand rely on the EDMA3 to perform transfers to and from them. Examples of masters include the EDMA3 traffic controllers, SRIO, and EMAC. Examples of slaves include the SPI, UART, and I2C.

The device contains two switch fabrics (the TeraNet) through which masters and slaves communicate. The data switch fabric, known as the data switched central resource (SCR), is a high-throughput interconnect mainly used to move data across the system (for more information, see Section 4.2 ‘‘Data Switch Fabric Connections’’). The data SCR is further divided into two smaller SCRs. One connects very high speed masters to slaves via 256-bit data buses running at a DSP/2 frequency. The other connects masters to slaves via 128-bit data buses running at a DSP/3 frequency. Peripherals that match the native bus width of the SCR it is connected to can connect directly to the data SCR; other peripherals require a bridge.

The configuration switch fabric, also known as the configuration switch central resource (SCR), is mainly used to access peripheral registers (for more information, see Section 4.3 ‘‘Configuration Switch Fabric’’). The configuration SCR connects the C66x CorePac and masters on the data switch fabric to slaves via

32-bit configuration buses running at a DSP/3 frequency. As with the data SCR, some peripherals require the use of a bridge to interface to the configuration SCR.

Bridges perform a variety of functions:

Conversion between configuration bus and data bus.

Width conversion between peripheral bus width and SCR bus width.

Frequency conversion between peripheral bus frequency and SCR bus frequency.

ADVANCE INFORMATION

Copyright 2010 Texas Instruments Incorporated

System Interconnect

81

INFORMATION ADVANCE

TMS320C6678

Multicore Fixed and Floating-Point Digital Signal Processor

SPRS691—November 2010

www.ti.com

 

4.2 Data Switch Fabric Connections

A detailed figure will be added here for a future release. Connection information is shown in the tables below.

Table 4-1 DSP/2 Data SCR Connection Matrix

 

 

 

Slave

 

 

 

 

 

 

 

 

 

To DSP/3 Data SCR

 

 

 

 

 

 

 

 

 

Masters

HyperLink_Slave

MSMC_SMS

MSMC_SES

Br_1

Br_2

Br_3

Br_4

TPCC0 TC0_RD

Y

Y

Y

N

Y

N

N

 

 

 

 

 

 

 

 

TPCC0 TC0_WR

Y

Y

Y

N

Y

N

N

 

 

 

 

 

 

 

 

TPCC0 TC1_RD

Y

Y

Y

N

N

Y

N

 

 

 

 

 

 

 

 

TPCC0 TC1_WR

Y

Y

Y

N

N

Y

N

 

 

 

 

 

 

 

 

HyperLink_Master

N

Y

Y

Y

N

N

N

 

 

 

 

 

 

 

 

MSMC_master

Y

N

N

N

N

N

Y

 

 

 

 

 

 

 

 

From DSP/3 Data SCR Br_5

Y

Y

Y

N

N

N

N

 

 

 

 

 

 

 

 

From DSP/3 Data SCR Br_6

Y

Y

Y

N

N

N

N

 

 

 

 

 

 

 

 

From DSP/3 Data SCR Br_7

Y

Y

Y

N

N

N

N

 

 

 

 

 

 

 

 

From DSP/3 Data SCR Br_8

Y

Y

Y

N

N

N

N

 

 

 

 

 

 

 

 

From DSP/3 Data SCR Br_9

Y

Y

Y

N

N

N

N

 

 

 

 

 

 

 

 

From DSP/3 Data SCR Br_10

Y

Y

Y

N

N

N

N

 

 

 

 

 

 

 

 

End of Table 4-1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 4-2

DSP/3 Data SCR Connection Matrix (Part 1 of 2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Slaves

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Masters

 

CorePac0_SDMA

CorePac1_SDMA

CorePac2_SDMA

CorePac3_SDMA

CorePac4_SDMA

CorePac5_SDMA

CorePac6_SDMA

CorePac7_SDMA

SRIO_Data_Slave

Boot ROM

SPI

PCIe Slave

QM Slave

HyperLink Slave

EMIF16

Br_5 (to DSP/2 Data SCR)

Br_6 (to DSP/2 Data SCR)

Br_7 (to DSP/2 Data SCR)

Br_8 (to DSP/2 Data SCR)

Br_9 (to DSP/2 Data SCR)

Br_10 (to DSP/2 Data SCR)

Br_12 (to Config SCR)

Br_13 (to Config SCR)

Br_14 (to Config SCR)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HyperLink Data

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

N

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC0_TC0_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC0_TC0_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Y

N

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC0_TC1_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC0_TC1_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Y

N

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC1_TC0_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

Y

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC1_TC0_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Y

Y

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC1_TC1_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

N

N

N

N

N

Y

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC1_TC1_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

Y

Y

Y

N

Y

N

N

N

N

N

Y

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC1_TC2_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

N

Y

N

N

N

N

N

Y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC1_TC2_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Y

N

N

Y

N

N

N

N

N

Y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC1_TC3_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

N

N

Y

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC1_TC3_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Y

N

N

N

Y

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC2_TC0_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

N

N

N

Y

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC2_TC0_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Y

N

N

N

N

Y

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC2_TC1_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

N

N

N

N

Y

N

Y

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

82 System Interconnect

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright 2010 Texas Instruments Incorporated

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TMS320C6678

 

 

 

 

 

 

 

 

Multicore Fixed and Floating-Point Digital Signal Processor

www.ti.com

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SPRS691—November 2010

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 4-2

DSP/3 Data SCR Connection Matrix (Part 2 of 2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Slaves

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Masters

 

CorePac0 SDMA

CorePac1 SDMA

CorePac2 SDMA

CorePac3 SDMA

CorePac4 SDMA

CorePac5 SDMA

CorePac6 SDMA

CorePac7 SDMA

SRIO Data Slave

Boot ROM

SPI

PCIe Slave

QM Slave

HyperLink Slave

EMIF16

Br 5 (to DSP/2 Data SCR)

Br 6 (to DSP/2 Data SCR)

Br 7 (to DSP/2 Data SCR)

Br 8 (to DSP/2 Data SCR)

Br 9 (to DSP/2 Data SCR)

Br 10 (to DSP/2 Data SCR)

Br 12 (to Config SCR)

Br 13 (to Config SCR)

Br 14 (to Config SCR)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC2_TC1_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

Y

Y

Y

N

N

N

N

N

Y

N

Y

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC2_TC2_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

Y

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC2_TC2_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Y

Y

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC2_TC3_RD

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

N

N

N

N

N

N

Y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TPCC2_TC3_WR

 

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Y

N

Y

N

N

N

N

N

N

Y

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SRIO Messaging

 

Y

Y

Y

Y

Y

Y

Y

Y

N

N

N

N

Y

N

Y

N

N

N

N

Y

N

N

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SRIO Data Master

Y

Y

Y

Y

Y

Y

Y

Y

N

N

Y

N

Y

Y

Y

N

N

N

N

Y

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PCIe Master

 

Y

Y

Y

Y

Y

Y

Y

Y

N

N

Y

N

Y

Y

Y

N

N

Y

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Packet Accelerator Data

Y

Y

Y

Y

Y

Y

Y

Y

N

N

N

N

Y

N

N

N

N

N

N

N

Y

N

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MSMC Data (Br_4)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

N

N

N

N

N

Y

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Queue Manager

 

Y

Y

Y

Y

Y

Y

Y

Y

N

N

N

N

Y

Y

N

N

N

N

Y

N

N

N

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TSIP 0

 

Y

Y

Y

Y

Y

Y

Y

Y

N

N

N

N

N

N

N

Y

N

N

N

N

N

N

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TSIP 1

 

Y

Y

Y

Y

Y

Y

Y

Y

N

N

N

N

N

N

N

Y

N

N

N

N

N

N

N

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

End of Table 4-2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ADVANCE INFORMATION

Copyright 2010 Texas Instruments Incorporated

System Interconnect

83

INFORMATION ADVANCE

TMS320C6678

Multicore Fixed and Floating-Point Digital Signal Processor

SPRS691—November 2010

www.ti.com

 

4.3 Configuration Switch Fabric

A detailed figure will be added here for a future release. All masters can talk to all slaves on the configuration switch fabric.

4.4 Bus Priorities

The priority level of all master peripheral traffic is defined at the TeraNet boundary. User programmable priority registers will be present to allow software configuration of the data traffic through the TeraNet. Note that a lower number means higher priority - PRI = 000b = urgent, PRI = 111b = low.

All other masters provide their priority directly and do not need a default priority setting. Examples include the CorePacs, whose priorities are set through software in the UMC control registers. All the Packet DMA based peripherals also have internal registers to define the priority level of their initiated transactions.

The Packet DMA secondary port is one master port that does not have priority allocation register inside the IP. The priority level for transaction from this master port is described by PKTDMA_PRI_ALLOC register in Figure 4-1 and Table 4-3.

Figure 4-1

Packed DMA Priority Allocation Register (PKTDMA_PRI_ALLOC)

 

 

 

 

 

 

31

16

15

10

9

8

7

4

3

2

0

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

PKTDMA_PRI

 

 

 

 

 

 

 

 

R/W-00000000000000000000001000011

 

 

 

 

RW-000

Legend: R = Read only; R/W = Read/Write; -n = value after reset

 

 

 

 

 

 

 

 

Table 4-3

Packed DMA Priority Allocation Register (PKTDMA_PRI_ALLOC) Field Descriptions

 

 

 

Bit

Acronym

Description

31-10

Reserved

Reserved.

 

 

 

2-0

PKDTDMA_PRI

Control the priority level for the transactions from Packet DMA Master port, which access the external linking

 

 

 

RAM.

 

 

 

 

End of Table 4-3

 

 

 

 

 

 

For all other modules, see the respective User Guides in “Related Documentation from Texas Instruments” on page 59 for programmable priority registers.

84

System Interconnect

Copyright 2010 Texas Instruments Incorporated

Соседние файлы в папке MAZ-DOD-MAT-2012