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.

question about SRIO direct IO

Dear all

when I want to send the data from 6678 to FPGA with SRIO, if we choose direct IO mode,How can we dicide the target device ID, target destination address?

 

  • Hello

     

    What FPGA are you using with the 6678?

     

    If you do not know the target device ID or the target destination address, then you should use Message Passing mode.

     

    Thank you

    Elush

  • guoping Lee,

    You do not need to set the target device ID or the target device address. The SRIO User Guide states under Direct I/O Operation, "Direct I/O requires that a RapidIO source device keep a local table of addresses for memory within the destination device. Once these tables are established, the RapidIO source controller uses this data to compute the destination address and insert it into the packet header. The RapidIO destination peripheral extracts the destination address from the received packet header and transfers the payload to memory via the DMA."

    If you can not obtain your target device ID or target destination address, then you must start using Message Passing.

    Please click on Verify Anwser on the bottom of this reply if I have answered your question.

  • Hi Elush Shirazpour

    thanks for your reply. We want to send data from 6678 to Virtex-6 with SRIO.

    and How the 6678 decide the  "local table of addresses for memory within the destination device"? 

     Is there any code can be use to build the" local table of addresses for memory within the destination device"?

    thanks.

  • Hi Elush

    Does the Device ID of 6678 should be set by us, or the SRIO will decide the DevideID? 

  • gupoing Lee,

     

    Some fields, such as the RapidIO srcTID/targetTID field, are assigned by hardware and do not have a corresponding command register field.There is more explanation under Direct IO in the SRIO User Guide.

  • gupoing Lee,

     

    Did that answer your question? If so, please click on Verify Anwser on the bottom of this reply if I have answered your question.