Visible to Intel only — GUID: dsu1456945890322
Ixiasoft
Visible to Intel only — GUID: dsu1456945890322
Ixiasoft
A. Initialization Sequence
- Read the Port 0 Error and Status Command and Status register (CSR) (0x00158) of the first RapidIO II IP core to confirm port initialization.
- Set the following registers in the first RapidIO II IP core:
- To set the base ID of the device to 0x01, set the Base_deviceID field (bits 23:16) or the Large_base_deviceID field (bits 15:0) of the Base Device ID register (0x00060) to 0x1.
- To allow request packets to be issued, write 1 to the ENA field (bit 30) of the Port General Control CSR (0x13C).
- To set the destination ID of outgoing maintenance request packets to 0x02, set the DESTINATION_ID field (bits 23:16) or the combined (LARGE_DESTINATION_ID MSB, DESTINATION_ID) fields (bits 31:16) of the Tx Maintenance Window 0 Control register (0x1010C) to 0x02.
- To enable an all-encompassing address mapping window for the maintenance module, write 1’b1 to the WEN field (bit 2) of the Tx Maintenance Window 0 Mask register (0x10104).
- Set the following registers in the second RapidIO II IP core:
- To set the base ID of the device to 0x02, set the Base_deviceID field (bits 23:16) or the Large_base_deviceID field (bits 15:0) of the Base Device ID register (0x00060) to 0x02.
- To allow request packets to be issued, write 1’b1 to the ENA field (bit 30) of the Port General Control CSR (0x13C).
- To set the destination ID of outgoing maintenance packets to 0x0, set the DESTINATION_ID field (bits 23:16) or the combined (LARGE_DESTINATION_ID MSB, DESTINATION_ID) fields (bits 31:16) of the Tx Maintenance Window 0 Control register (0x1010C) to 0x0.
- To enable an all-encompassing address mapping window for the maintenance module, write 1’b1 to the WEN field (bit 2) of the Tx Maintenance Window 0 Mask register (0x10104).
To access the registers, the system requires an Avalon® -MM master, for example a Nios® II processor. The Avalon® -MM master can program these registers. You can use the Platform Designer system integration tool, available with the Intel® Quartus® Prime software, to rapidly and easily build and evaluate your RapidIO system.