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
質問済み 1年前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

回答済み 1年前
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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ