DE4 User Manual
152
www.terasic.com
June 20, 2018
Figure 5
–37 Nios II program software architecture
To start with the Web Server program will initiate the MAC and net device then calls the
get_mac_addr()
function to set the MAC addresses for the PHY. Secondly, it initiates the
auto-negotiation process to check the link between PHY and gateway device. If the link exists, the
PHY and gateway devices will broadcast their transmission parameters, speed and duplex mode.
After the auto-negotiation process has finished, it will establish the link. Thirdly, the Web Server
program will prepare the transmitting and receiving path for the link. If the path is created
successfully, it will call
the
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
Web Server application.
Figure 5–38
describes this demo setup and connections on the DE4. The Nios II processor is
running NicheStack™ on the Micro C/OS-II RTOS.
Summary of Contents for ALTERA DE4
Page 1: ...DE4 User Manual 1 www terasic com June 20 2018 ...
Page 54: ...DE4 User Manual 54 www terasic com June 20 2018 ...
Page 83: ...DE4 User Manual 83 www terasic com June 20 2018 Figure 3 8 Access DDR2 SO DIMM memory ...
Page 92: ...DE4 User Manual 92 www terasic com June 20 2018 Figure 3 17 Fan Control of the DE4 ...
Page 150: ...DE4 User Manual 150 www terasic com June 20 2018 Figure 5 35 SOPC builder ...