DMA registers

0

Hello,
I was unable to locate the documentation for configuration registers in the shell which XDMA driver uses to control DMA operation.
Can you please provide the pointer?
Thanks

질문됨 3년 전233회 조회
4개 답변
0

Hello,

The DMA registers are accessible on PF0 BAR2 and we use the Xilinx XDMA IP, so you can refer to the XDMA IP Product Guide for details: https://www.xilinx.com/support/documentation/ip_documentation/xdma/v4_1/pg195-pcie-dma.pdf#page=42

The Bar mapping is listed here: https://github.com/aws/aws-fpga/blob/master/hdk/docs/AWS_Fpga_Pcie_Memory_Map.md#memory-map-per-slot

Let us know if you need any further information and we'd be happy to help.

-Deep

Deep_P
답변함 3년 전
0

Thanks

답변함 3년 전
0

the sh_ddr.sv does not have any interface to program the registers in DDR controllers.
I believe there should be one.
Is this done with the same interface as for data read/write?

답변함 3년 전
0

Hi,

All the DDR Controllers are managed entirely by the Shell. Customers are required to connect the "stats" interface exposed by sh_ddr.sv to the corresponding interface from the Shell in cl_ports.vh.

https://github.com/aws/aws-fpga/blob/master/hdk/docs/AWS_Shell_Interface_Specification.md#ddr4-axi states:
WARNING: If the stats interfaces are not connected, the DDR controllers will not function. However, the CL developer should not otherwise use them since they are specific to Shell management functions. If the DDR controllers are not used by the CL, then the interfaces should be left unconnected.

An example of such connection is shown below:
https://github.com/aws/aws-fpga/blob/master/hdk/cl/examples/cl_dram_dma/design/cl_dram_dma.sv#L643-L665

Hope this helps. Please reach us if you have any questions.

Thanks!
Chakra

AWS
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠