Nios® V Embedded Processor Design Handbook

ID 726952
Date 9/01/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

5.4.5.1. MicroC/TCP-IP IPerf Example Design

The µC/TCP-IP IPerf example design software files are readily available in the example design zip file. They are stored in the sw/app folder.

The following software files constitute the µC/TCP-IP IPerf application:

  • uC-IPerf folder: Contains µC/IPerf source code.
  • app_iperf.c: Contains the iPerf reporter application.
  • app_iperf.h: Contains function prototypes for the reporter application.
  • iperf_cfg.h: Describe the µC/IPerf module static parameters and run-time configuration structure.
  • log.h: Contains definitions for logging macros.
  • main.c: Defines the global structure of type alt_tse_system_info which describes the TSE configuration. Defines main(), which initializes µC/OS-II, µC/TCP-IP and µC/IPerf, processes the MAC and IP addresses, contains the PHY management tasks, and defines function prototypes.
  • uc_tcp_ip_init.c: Contains MAC address and IP address routines to manage addressing. Routines are used by µC/TCP-IP during initialization, but are implementation-specific.
  • uc_tcp_ip_init.h: Contains definitions and function prototypes for µC/TCP-IP initialization.