Author Topic: Do we have an easy to use solution?  (Read 1145 times)

0 Members and 1 Guest are viewing this topic.

Offline ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1967
  • Country: ca
Do we have an easy to use solution?
« on: October 31, 2019, 12:02:00 pm »
Hi,
I want to implement two 1G Ethernet on my Spartan 6 part, and use it to send TCP//UDP data to a remote PC.

I want to know if you know some easy to use IP/cores or external chips like W5300 (this one is 100Mb) I need a 1G solution.

Since My time is limited on this project and I have limited resources , like money and time.

any Ideas are highly appreciated!
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: Do we have an easy to use solution?
« Reply #1 on: October 31, 2019, 04:35:09 pm »
There's nothing easy about gigabit ethernet. What chips have you considered? What interface do you plan on implementing in the FPGA (PCIe, GMII, etc?)? Do you need a MAC and PHY or just a PHY?
 

Online ejeffrey

  • Super Contributor
  • ***
  • Posts: 4033
  • Country: us
Re: Do we have an easy to use solution?
« Reply #2 on: October 31, 2019, 04:47:45 pm »
Please put actual information about your question in the topic.

Last I checked there were no "TCP stack on a chip" implementations that operated at 1G.  So you will need a standard ethernet PHY connected over either (R)GMII or SGMII.

Implementing a simple datagram packet handler on an FPGA is fairly simple, although be prepared to spend a lot of time reading documentation.  TCP connectivity is much more complex and a much better fit for a microprocessor.  That could be a microblaze processor, but I don't know what the performance will be like since you are making gigabit a requirement.  Sustaining gigabit throughput TCP on links of moderate latency also requires a lot of RAM, so you will probably need DRAM as well the onboard SRAM will not be enough.  For instance, 1 gigabit/s at 20 ms round trip time is a bandwidth-delay product of 2.5 megabytes.  Your TCP sender needs at least that much buffer memory to avoid stalling, more to account for high latency bursts or packet loss.

Honestly I don't think this is a good project for someone who is saying you have limited money _and_ time.  The fastest approach would be to use an off the shelf dev board with an SoC FPGA and just let the ARM processor talk networking, but AFAIK the intersection of "cheap" FPGA dev boards and those with _dual_ ethernet is null. 
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9963
  • Country: us
Re: Do we have an easy to use solution?
« Reply #3 on: October 31, 2019, 06:32:00 pm »
The Zynq 7000 has dual gigabit Ethernet capability but the boards bring out just one interface.  I don't know how to get at the second interface nor do I have any idea how to use Zynq boards

https://store.digilentinc.com/fpga-programmable-logic/by-technology/zynq/

The only mention of dual Ethernet that I have found is in the free "The Zynq Book" (follow the yellow brick road for a free download) and it doesn't say much about it other than it exists as a peripheral.  I believe both peripherals are tied to the ARM, not the FPGA but I don't know that.

You probably need to read the concise 1843 page Technical Reference Manual:

https://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf

Both interfaces are discussed.
« Last Edit: October 31, 2019, 06:34:13 pm by rstofer »
 

Offline ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1967
  • Country: ca
Re: Do we have an easy to use solution?
« Reply #4 on: November 02, 2019, 07:31:52 am »
Thanks for the Hints, I need to capture 110 channel of ADC and send it to PC using 1 or 2 Gigabit Ethernet, I should Pump at least 960Mbs to the PC, also I think I would use RGMII for the PHY, is it doable with a single Gigabit Ethernet? if not I should use two channels.

I was seeking a free or open source and easy to sue IP core for the MAC, Also I prefer to sue Spartan 6 (XC6SLX150-3FGG484I) since I have them already and I do not need to buy new chips, But I'm open to use ZYNQ or other parts if the solution is easier and cheaper.

At the PC I should capture the data and visualize it with QT. so any thing on the PC side would be helpful too.
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline cgroen

  • Supporter
  • ****
  • Posts: 642
  • Country: dk
    • Carstens personal web
Re: Do we have an easy to use solution?
« Reply #5 on: November 02, 2019, 01:36:03 pm »
Please (please) change the topic text to something useful instead of just "Do we have an easy to use solution".
What if all threads were named this way  |O
 
The following users thanked this post: Dave, MagicSmoker, tooki, Gyro, jhpadjustable

Offline dmills

  • Super Contributor
  • ***
  • Posts: 2093
  • Country: gb
Re: Do we have an easy to use solution?
« Reply #6 on: November 02, 2019, 11:14:44 pm »
960Mb/s over a 1G link? Good luck with that!
Not a chance mate, you are going to want two links.

Also, IIRC the zynq has a trap in that the way the busses and arbitrators are set up you will struggle to get that thru-put, might be better to do something in the fabric. 

 

Offline ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1967
  • Country: ca
Re: Do we have an easy to use solution?
« Reply #7 on: November 03, 2019, 06:12:49 am »
The total bandwidth is 960Mbs, so I would use two gigabit Ethernet :)
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf