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 jbaxter
Visitor
338 Views
Registered: ‎12-13-2018

Finding H2C data from AR65444 PCIe DMA example

I have used the linux drivers from AR65444 to communicate over the PCI bus between a host and an AC701 board. All of the scripts in the tests directory indicate that the test data is being sent back and forth successfully, so I am now trying to access the H2C data on the FPGA. I am using the ILA to probe the signals that I thought were carrying the received data, but the ILA is not showing what I expected.

My vivado project was created using "open IP example design" from the DMA Subsystem for PCIe core.

I have tried triggering on the signal m_axi_wready, which is from the "AXI Master Write Data Channel" part of the wrapper file, but it never triggers. First I tried triggering on the BRAM ready signal, but the ILA never triggered either.

I am probing m_axi_wdata. Am I looking at the wrong signals?

Tags (5)
0 Kudos
6 Replies
Xilinx Employee
Xilinx Employee
275 Views
Registered: ‎07-26-2012

Re: Finding H2C data from AR65444 PCIe DMA example

How about other signals? Was the proved write address expected?

0 Kudos
Visitor jbaxter
Visitor
232 Views
Registered: ‎12-13-2018

Re: Finding H2C data from AR65444 PCIe DMA example

I'm not sure, I can't see any signals because the ILA never triggers. I thought I should be triggering on the m_axi_wready signal, is there a different one I should be triggering on?

0 Kudos
Xilinx Employee
Xilinx Employee
211 Views
Registered: ‎07-26-2012

Re: Finding H2C data from AR65444 PCIe DMA example

It is strange that the signal does not work even though the driver test is successful. Please check the point of the probe. Also, see if the address is correct with awvalid.

The correct behavior can be seen in simulation.

0 Kudos
Visitor jbaxter
Visitor
176 Views
Registered: ‎12-13-2018

Re: Finding H2C data from AR65444 PCIe DMA example

I was able to see the data by triggering the ILA on m_axi_wvalid, and I confirmed that it matches the test data from the AR65444 example files.

0 Kudos
Visitor jbaxter
Visitor
86 Views
Registered: ‎12-13-2018

Re: Finding H2C data from AR65444 PCIe DMA example

I know you told me to make sure the address is correct, so I probed the m_axi_waddr signal. This address signal is always larger than the size of the block RAM that is being written to. How does this make sense? It seems to me that the address should go from 0 to 512 for a RAM with depth 512, but instead the address goes from 512 to 1024 to 1536 and so on.

0 Kudos
Xilinx Employee
Xilinx Employee
46 Views
Registered: ‎07-26-2012

Re: Finding H2C data from AR65444 PCIe DMA example

Just as a precaution, do you use the latest driver?

0 Kudos