Compiling the 10gbe design, Compiling the 10gbe design –15 – Altera 10-Gbps Ethernet MAC MegaCore Function User Manual

Page 33

Advertising
background image

Chapter 3: 10GbE MAC Design Examples

3–15

10GbE Design Example Compilation and Verification in Hardware

February 2014

Altera Corporation

10-Gbps Ethernet MAC MegaCore Function User Guide

3.7. 10GbE Design Example Compilation and Verification in Hardware

Figure 3–6

shows the components in the top-level file provided with the 10GbE

design example.

The address swapper swaps the destination address and source address in the receive
frame before sending the frame onto the transmit path. You must connect the DUT—
design example—to a remote partner that generates, transmits, and receives frames.

3.7.1. Compiling the 10GbE Design

You can use the Quartus II software to compile the design example and program the
targeted Altera device after a successful compilation.

Follow these steps to compile the design and program the device:

1. Copy the respective design example directory to your preferred project directory:

altera_eth_10g_mac_xaui

or altera_eth_10g_mac_base_r from

<ip library>/ethernet/altera_eth_10g_design_example.

2. Launch the Quartus II software and open top.v from the project directory.

3. Open the Quartus II Tcl Console window by pointing to Utility Windows on the

View menu then clicking Tcl Console. In the Quartus II Tcl Console window, type
the following command to set up the project environment:

source setup_proj.tcl

r

Figure 3–6. 10GbE Top-Level Components

Address

Swapper

Remote

Partner

DUT

Altera Development Board

XAUI/

10GBASE-R

Avalon-ST

Advertising