UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor chintan_tag
Visitor
68 Views
Registered: ‎12-03-2018

ZC706 PCIe TRD Question

Hello,

I am new to the Zynq7000 series as well as PCIe . I have a ZC706 eval card and I am trying to implement a subset of the functionality implemented in the PCIe TRD. Specifically, my application only needs to send streaming data to the host over PCIe (one direction only). Clearly I can remove the Video processing elements of the TRD, but for the PCIe block will I still need the NWL AXI DMA? My use case is very narrow and well-defined - need to convert AXI-streaming to fixed size data packets to be sent over the PCIe, so wondering if I can get away with simpler "from-scratch" logic to interface with the PCIe block directly without the NWL module.

A different PCIe related question. In PCIe, can the peripheral/endpoint request to send data to the host, or does the host need to send a read request first to initiate the data transfer. I think setting the peripheral in "bus master" mode would allow peripheral to send data to host (via DMA), but any experts who can shed more light on this, would be much appreciated.

 

0 Kudos
1 Reply
Moderator
Moderator
23 Views
Registered: ‎02-16-2010

Re: ZC706 PCIe TRD Question

@chintan_tag

Can you check "axi memory mapped to PCIe" IP? With this IP, you can initiate a memory write to host similar to a write transaction initiated on AXI4 bus.

You will need to set the AXI BAR to PCIe BAR translation address so that the AXI transaction is translated as a memory write TLP by the IP.

Please check PG055 for more details about the IP.

For data transfer from EP to RP, you can set "Bus master" bit in the configuration space of EP and initiate the transfer.

------------------------------------------------------------------------------
Don't forget to reply, give kudo and accept as solution
------------------------------------------------------------------------------
0 Kudos