DE2-70 User Manual

address in the packet is identical to the MAC address of the DE2-70 board. If the packet received does have the same MAC address or is a broadcast packet, the DM9000A will accept the packet and send an interrupt to the Nios II processor. The processor will then display the packet contents in the Nios II IDE console window.

Figure 6.11. Packet sending and receiving using the Nios II processor.

Demonstration Setup, File Locations, and Instructions

Project directory: DE2_70_NET

Bit stream used: DE2_70_NET.sof

Nios II Workspace: DE2_70_NET\Software

Plug a CAT5 loop-back cable into the Ethernet connector of DE2-70

Load the bit stream into the FPGA

Run the Nios II IDE under the workspace DE2_70_NET

Click on the Compile and Run button

You should now be able to observe the contents of the packets received (64-byte packets sent, 68-byte packets received because of the extra checksum bytes)

Figure 6.12 illustrates the setup for this demonstration.

79

Page 82
Image 82
Sigma DE2-70 manual Packet sending and receiving using the Nios II processor