This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于C6657 SRIO的deviceID



您好:

关于SRIO的deviceID我有点疑问。请问The base device ID CSR (BASE_ID) 这个就是设备的基本ID号吗?

KeyStone_SRIO_set_device_ID(SRIO_Device_ID_Routing_Config * device_id_routing_config,Uint32 uiDeviceIdNum)这个setid函数传入了8个ID编号,其中第一个写入了RIO_BASE_ID寄存器,这个寄存器是不是就是上面的那个BASE_ID。

另外剩下的写入了

TLM Port(n) Base Routing Register n Pattern & Match Register (TLM_SP(n)_BRR_0_PATTERN_MATCH),那他还写入这么多到这里干嘛?是为一个设备设置了多个ID号支持吗?

我在srio说明手册上找到了这样的话

The device’s main baseID (0x1060) is now automatically copied into the RIO_DEVICEID_REG1 by hardware, and does not require a separate write by software. The RIO_DEVICEID_REGn (for n = 1 to n = 15) are inputs to the logical layer and are not part of the MMR spaces. They inherent the values found in the Base Routing Registers。

是不是就是这样理解,传入8个Base Routing ID,一个写入baseid,剩下7个写入Base Routing Register,然后他们自动的写入RIO_DEVICEID_REG1-8,这样实现一个设备的多个设备号支持?