cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
eron
Visitor
Visitor
417 Views
Registered: ‎01-06-2021

Data transfer from FPGA to PC with ethernet

Jump to solution

Hello,

I work on a ZC706 board. I want to send data from ZC706 to the PC by using ethernet (Because of i need fastly and big data throughput).

How can i do it? I want to use AXI 1G/2.5G Ethernet IP but i don't know how can i use it. Is there any example about it?

If i use AXI 1G/2.5G Ethernet IP, is DMA need to use it?

there any example that can help me to understand and implement my project?

Thank you very much,

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
nanz
Moderator
Moderator
368 Views
Registered: ‎08-25-2009

Hi @eron ,

You can refer to XAPP1082: https://www.xilinx.com/support/documentation/application_notes/xapp1082-zynq-eth.pdf

Or XAPP1026 as a starting point: https://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf

If using AXI Ethernet, an DMA or AXI FIFO needs to be used. If using GEM, it has its dedicated DMA in PS.


-------------------------------------------------------------------------------------------

Don’t forget to reply, kudo, and accept as solution.

If starting with Versal take a look at our Versal Design Process Hub and our Versal Blogs and our Versal Ethernet Sticky Note.

-------------------------------------------------------------------------------------------

View solution in original post

3 Replies
nanz
Moderator
Moderator
369 Views
Registered: ‎08-25-2009

Hi @eron ,

You can refer to XAPP1082: https://www.xilinx.com/support/documentation/application_notes/xapp1082-zynq-eth.pdf

Or XAPP1026 as a starting point: https://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf

If using AXI Ethernet, an DMA or AXI FIFO needs to be used. If using GEM, it has its dedicated DMA in PS.


-------------------------------------------------------------------------------------------

Don’t forget to reply, kudo, and accept as solution.

If starting with Versal take a look at our Versal Design Process Hub and our Versal Blogs and our Versal Ethernet Sticky Note.

-------------------------------------------------------------------------------------------

View solution in original post

eron
Visitor
Visitor
213 Views
Registered: ‎01-06-2021

Thank you for reply my question. I tried your app suggestion xapp1082. it was very useful for me. I have an another question. How can connection my custom IP to AXI 1G/2.5G Ethernet Subsystem ip? Which port is usable? I want to try a counter example that my custom counter IP send data to Ethernet IP and then i will send my data to PC for controlled experience.

Screenshot from 2021-02-11 13-10-02.png

 Thank you.

0 Kudos
nanz
Moderator
Moderator
193 Views
Registered: ‎08-25-2009

Hi @eron ,

You can connect your custom IP to AXI stream interface (User interface) of AXI Ethernet Subsystem IP. You can look into the example design from Vivado (right click on AXI Ethernet IP, and click on open IP example design). Our packet generator is one of the examples. 


-------------------------------------------------------------------------------------------

Don’t forget to reply, kudo, and accept as solution.

If starting with Versal take a look at our Versal Design Process Hub and our Versal Blogs and our Versal Ethernet Sticky Note.

-------------------------------------------------------------------------------------------
0 Kudos