10gbe testbench component, 10gbe testbench files, Figure 3–3 – Altera 10-Gbps Ethernet MAC MegaCore Function User Manual

Page 27: Shows the

Advertising
background image

Chapter 3: 10GbE MAC Design Examples

3–9

10GbE Testbenches

February 2014

Altera Corporation

10-Gbps Ethernet MAC MegaCore Function User Guide

3.6.2. 10GbE Testbench Component

The 10GbE testbench comprises the following modules:

Device under test (DUT)—the design example.

Avalon driver—uses Avalon-ST bus functional models (BFMs) to exercise the
transmit and receive paths. The driver also utilizes the Avalon-MM BFM to access
the Avalon-MM interfaces of the design example components.

Packet monitors—monitors the transmit and receive datapaths, and displays the
frames in the simulator console.

3.6.3. 10GbE Testbench Files

The following directories contain the 10GbE testbench files which are in clear text:

10GbE MAC and XAUI PHY testbench—<ip library>/ethernet/
altera_eth_10g_design_example

/altera_eth_10g_mac_xaui/testbench

10GbE MAC and 10GBASE-R PHY testbench— <ip library>/ethernet/
altera_eth_10g_design_example

/altera_eth_10g_mac_base_r/testbench

Figure 3–3. Testbench Block Diagram

Loopback

on XGMII

Testbench

Avalon-MM

Avalon-MM

Control

Register

Avalon-ST

Transmit

Frame

Generator

Avalon-ST

Receive

Frame

Monitor

Ethernet

Packet

Monitor

Ethernet

Packet

Monitor

DUT

avalon_bfm_wrapper.sv

Avalon Driver

Avalon-ST

Avalon-ST

Advertising