This FPGA design example checks the network communication bandwidth using the Altera NIOS II f as the MCU. The IP address is hard coded in the software platform as 192.168.0.111. Connect a PC directly to Peripheral Board PB02 mounted on the NB2, then change the PC's IP address to, for example, 192.168.0.100. When the example runs, the status will be printed to the terminal via RS232, for example Hyperterminal on the PC. Check the Software Platform in the project for the RS232 configuration.
In Windows, bring up the command line window then browse to this example’s folder. An application called AltiumNetworkBenchmark.exe is included in the example. Run this executable with the IP address as the parameter, for example AltiumNetworkBenchmark.exe 192.168.0.111.
The NIOS II e, Serial Communication Port, EMAC(32) 10/100, Arbiter and SRAM controller are used in this example.
The bandwidth test result will be displayed in the command line window. It demonstrates the use of LWIP TCP/IP Network Adapter, Serial I/O Context for serial output to UART.
Altium Designer projects included in this download:
- BandwidthTest.PrjFpg
- BandwidthTest.PrjEmb