5 running simulation using modelsim se, Overview, Unning – Altera Stratix II GX Embedded Gigabit Ethernet MAC/PHY User Manual

Page 8: Imulation, Sing, Odelsim, Figure 3: testbench setup overview, Stratix ii gx embedded gigabit ethernet mac / phy

Advertising
background image

Stratix II GX Embedded Gigabit Ethernet MAC / PHY

User's Guide

Version 1.0 - October 2005

Unit Under Test (uut)

RX

TX

Receive

FIFO

Transmit

FIFO

Ethernet

Monitor

(FIFO mode)

Ethernet

Monitor

(FIFO mode)

GMII

Ethernet Frame

Generator

GMII

Ethernet Frame

Generator

Testbench

Pause Control

Testbench

Control

Ethernet Frame

Generator

(FIFO mode)

Ethernet Frame

Generator

(FIFO mode)

GMII

Ethernet Frame

Monitor

GMII

Ethernet Frame

Monitor

Testbench

mtip_sim_pack.vhd

PCS

Model

Figure 3: Testbench Setup Overview

3.5 Running Simulation Using Modelsim SE

Overview

To simplify the evaluation process and to allow designers to quickly generate custom simulation
scenarios, a graphical utility (Testbuilder) is provided. Testbuilder operates as a Modelsim plug-
in, which is used to set simulation options, compile the complete design and run the simulation
process.

To start Testbuilder in the Modelsim command window:

1. Change to Modelsim working directory

cd <Design Kit Root>/simulation

2. Run the Modelsim macro

do testbuilder.do

8

Advertising