Write to host DDR on EC2 F1 Instance

0

Is there any utility in the aws-fpga github repository that helps transfering data to host DDR memory? I would like to use a DMA in the FPGA to transfer data directly to the host using the "S_AXI_PCIM" interface instead of writing the data to the FPGA DDR memory and then read that data from the host. Enter image description here

I'm wondering if there is any utility provided that helps with this or I must develop a linux driver from scratch in order to get the physical address in host DDR where the FPGA DMA can write to.

Thanks in advance. Ismael.

iperez
질문됨 일 년 전278회 조회
2개 답변
0

Hi Ismael,

Could you share some more information on the design you're planning to implement? Do you plan to implement a DMA for the Host -> FPGA over PCIS as well as a DMA for FPGA -> Host over PCIM?

Thanks!

-Joe

답변함 일 년 전
0

Hello,

Thank you for reaching out to AWS with your question. The S_AXI_PCIM interface provides a way for the Customer Design to initiate PCIe transaction cycles to the Host memory. The interface supports full AXI4 protocol with 512-bit wide datapath. Customers can easily interface their kernel, custom DMA, Xilinx IP with AXI4, etc, to S_AXI_PCIM interface to reach Host Memory.

AWS provides Streaming Data Mover, a custom Data Mover with AXI4-to-AXIS conversion to move data between FPGA and Host. Important links regarding SDE below:

SDE IP Guide

Example CL design using SDE IP

Please note, while the S_AXI_PCIM and above SDE IPs allow customer design to access host memory directly, they require Physical Memory Address of the Host and not the virtual memory address. Please refer to your Operating System details for Virtual-to-Physical Memory Address Translation.

Please let us know if you have any questions.

Thanks!

Chakra

AWS
답변함 일 년 전

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

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

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

관련 콘텐츠