Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHow to measure the data throughput of TCP/IP connection between a FPGA and PC?
Dear all, Currently I'm developing an Gigabit Ethernet interface between a DSP board and a PC on Stratix IV FPGA. The DSP board sends continuous data to the FPGA, then the FPGA forwards them to...
Altera_Forum
Honored Contributor
15 years agoThe calculation is accurate as much as your timer is. Generally, longer the run time (so the amount of data transmitted), better is the result, because you take a longer average on the transfer rate.
With test pin akira meant you can set a fpga output when you start sending data and reset it after you have sent a known data payload, say 100MB. Then you can measure the pulse on that pin with an oscilloscope and get the data-send rate. If the pulse length is 4sec, then you easily get rate=100MB/4s = 25MB/s This way you don't need a timer in fpga. Cris