get_ip_addr() function to set up the IP address for the network interface. After the IP address is
successfully distributed, the NicheStack™ TCP/IP Stack will start to run for Socket Server
application.
Figure 7-15
describes this demo setup and connections on DECA .The Nios II processor is running
NicheStack™ on the MicroC/OS-II RTOS.
Note: your gateway should support DHCP because it uses DHCP protocol to request a valid
IP from the Gateway, or else you would need to reconfigure the system library to use static IP
assignment.
Design Tools
Quartus II v15.0 64-bit
Demonstration Source Code
Project directory: Demonstrations/ DECA_socket_server
Demonstration Batch File
DECA User Manual
Figure 7-15 System Principle Diagram
106
www.terasic.com
May 22, 2015