cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor
Visitor
1,513 Views
Registered: ‎04-04-2018

Data transfer from PL to PC via ethernet

Hi,

I have a custom IP which generates 32 bit data continuously and stores it in slv_reg0 (base address 0x43c00000) register created by the IP. I now want to transfer these data to the PC via ethernet.I have a python program running in the pc which captures these data and stores it in file. Any suggestion on how to proceed? 

I am newbie and have no idea idea how to proceed. Please help..

 

Thanks in advance

Upasana.

Tags (2)
0 Kudos
4 Replies
Highlighted
Participant
Participant
1,490 Views
Registered: ‎11-20-2017

Re: Data transfer from PL to PC via ethernet

Hi Upasana,

I think the easiest way to transfer data from PL to a PC is to use one of the Ethernet cores from FPGA-Cores.com.

It has a simple AXI4 Stream interface to TCP. In the PC you simply opens a TCP socket and reads the stream.

It is very simple to use and no cost :-)

 

Xilinx has AXI4 Stream width converters so you can convert the stream from 32 to 8 bits width or you do a simple process writing bytes from the 32 bits.

 

Cheers

0 Kudos
Highlighted
Visitor
Visitor
1,455 Views
Registered: ‎04-04-2018

Re: Data transfer from PL to PC via ethernet

Hi,

Thanks for your reply. Can you  tell me on how to use this fpga core in my project. I downloaded the .vhd file from the website and added as a source to the project. Can you please tell what to do next?

 

Thanks

Upasana

0 Kudos
Highlighted
Visitor
Visitor
1,450 Views
Registered: ‎04-04-2018

Re: Data transfer from PL to PC via ethernet

Hi,

Will it be easier if I read the register (slv_reg0, 0x43c00000) from PS and then transfer it to pc? Any suggestion how to carry out this?

 

Thanks

Upasana.

0 Kudos
Highlighted
Participant
Participant
1,444 Views
Registered: ‎11-20-2017

Re: Data transfer from PL to PC via ethernet

Hi,

You need to download the netlist also. The VHDL is only component declaration.

There is a tutorial that you can look at.

 

Look at this tutorial:

http://www.fpga-cores.com/tutorials/ethernet-on-arty-a7-board/

 

Best regards

0 Kudos