FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6665 討論

PCIe DMA Testbench Generation Issue

Sudhirkv
新手
1,577 檢視

We need to integrate PCIe Gen2x1 and DDR3 via DMA. So we generated a PCIe Gen2x1  and we tried to add PCIE DMA Controller 64 and Avlon MM clock crossing bridge to access DDR3 memory of 2G space. But while generating testbench we are getting the error on differences in address mapping. While we are trying address 2GB of data, testbench is trying to address 4GB and we get a mismatch in address range. Could you please check these issues?.

I have attached the project file and screen error screen shot for your reference.

0 積分
1 解決方案
BoonT_Intel
主席
1,562 檢視

Hello Sir,

The reason is that you export the master port of the clock crossing bridge. And the BFM in default will generate the address 32bits. What you need to do is add the BFM slave manually and set the address to 30bits. And turn on the burst on burst boundaries only option. Then connect the CC bridge and the BFM slave clock and reset from the system. With this. The testbench can generate correctly. Attach the modified qsys file.

 

在原始文章中檢視解決方案

6 回應
BoonT_Intel
主席
1,563 檢視

Hello Sir,

The reason is that you export the master port of the clock crossing bridge. And the BFM in default will generate the address 32bits. What you need to do is add the BFM slave manually and set the address to 30bits. And turn on the burst on burst boundaries only option. Then connect the CC bridge and the BFM slave clock and reset from the system. With this. The testbench can generate correctly. Attach the modified qsys file.

 

Sudhirkv
新手
1,532 檢視

Hi,

Thank you  for your response. We added the Avalon-MM slave BFM and set the parameters as advised by you and we were able to successfully create testbench system for the design. 

We could see a read transaction in the Avalon MM slave BFM but the Read response is always driven as X. Attached is the screenshot for the same. Could you please let us know how to proceed with this?

I will also add the QSYS file of the design for your reference.

BoonT_Intel
主席
1,528 檢視

Hello,

The BFM component in platform design maybe is genric and unable to show full functionality.

Are you want to run the simulation for PCIe? If yes, maybe you can use the PCIe example design as explained in this UG:

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug-dex-a10-pcie-avst.pdf


Sudhirkv
新手
1,497 檢視

Thank you for the support.

We were able to do DDR3 memory access.

 

Regards,

Sudhir

BoonT_Intel
主席
1,491 檢視

Good to know. Thanks.


BoonT_Intel
主席
1,491 檢視

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


回覆