Creating a new 10gbe design, Creating a new 10gbe design –6 – Altera 10-Gbps Ethernet MAC MegaCore Function User Manual

Page 24

Advertising
background image

3–6

Chapter 3: 10GbE MAC Design Examples

Creating a New 10GbE Design

10-Gbps Ethernet MAC MegaCore Function User Guide

February 2014

Altera Corporation

3.4. Creating a New 10GbE Design

You can use the Quartus II software to create a new 10GbE design. Altera provides a
customizable Qsys design example file to facilitate the development of your 10GbE
design. Follow these steps to create the design:

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 the top.v file from the project directory.

setup_SIVGX230C2ES.tcl

A Tcl script that sets the pin assignments and I/O
standards for the Stratix IV GX FPGA
development board. Use this Tcl script for the
10GbE MAC with XAUI PHY design example.

setup_EP4S100G5H40I3.tcl

A Tcl script that sets the pin assignments and I/O
standards for the Stratix IV GT Signal Integrity
development board. Use this Tcl script for the
10GbE MAC with 10GBASE-R PHY design
example.

setup_5SGXEA7N2F40C2ES.tcl

A Tcl script that sets the pin assignments and I/O
standards for the Stratix V GX Signal Integrity
development board. Use this Tcl script for the
10GbE MAC with 10GBASE-R PHY design
example.

top.sdc

The Quartus II SDC constraint file for use with
the TimeQuest timing analyzer.

top.v

The top-level entity file of the design example for
verification in hardware. Not applicable for
Stratix V design.

top_sv.v

The top-level entity file of the design example—
with the Quartus II software targeting the
Stratix V device—for verification in hardware.

common.tcl

A Tcl script that contains basic functions based
on the system console APIs to access the
registers through the Avalon-MM interface.

config.tcl

A Tcl script that configures the design example.

csr_pkg.tcl

A Tcl script that maps address to the Avalon-MM
control registers. The script contains APIs which
is used by config.tcl and show_stats.tcl.

show_stats.tcl

A Tcl script that displays the MAC statistics
counters.

altera_eth_10g_design_example_hw.tcl

A hardware Tcl script that contains the
composition of the Ethernet system.

Table 3–3. 10GbE Design Example Files (Part 2 of 2)

File Name

Description

Advertising