Simulate the ip core, Simulate the ip core –3 – Altera 10-Gbps Ethernet MAC MegaCore Function User Manual

Page 15

Advertising
background image

Chapter 2: Getting Started with Altera IP Cores

2–3

MegaWizard Plug-In Manager Flow

February 2014

Altera Corporation

10-Gbps Ethernet MAC MegaCore Function User Guide

2. In the Quartus II software, launch the MegaWizard Plug-in Manager from the

Tools menu, and follow the prompts in the MegaWizard Plug-In Manager
interface to create or edit a custom IP core variation.

3. In the Installed Plug-Ins list on page 2a of the MegaWizard Plug-In Manager

interface, expand the Interfaces folder and then the Ethernet folder. Select
Ethernet 10G MAC

. Specify the type and name of the output file you want to

create.

4. Specify the parameters on the Parameter Settings pages. For detailed explanations

of these parameters, refer to

“10GbE MAC Parameter Settings” on page 2–6

.

5. Specify appropriate options in the wizard to generate a simulation model.

1

Altera IP supports a variety of simulation models, including
simulation-specific IP functional simulation models and encrypted RTL
models. These are all cycle-accurate models. The models allow for fast
functional simulation of your IP core instance using industry-standard
VHDL or Verilog HDL simulators.

f

For more information about functional simulation models for Altera IP
cores, refer to

Simulating Altera Designs

in volume 3 of the Quartus II

Handbook.

c

Use the simulation models only for simulation and not for synthesis or any
other purposes. Using these models for synthesis creates a nonfunctional
design.

6. Click Finish. The parameter editor generates the top-level HDL code for the

10GbE MAC IP core and a simulation directory which includes files for
simulation.

1

The Finish button may be unavailable until all parameterization errors
listed in the messages window are corrected.

7. Click Yes if you are prompted to add the Quartus II IP File (.qip) to the current

Quartus II project. You can also turn on Automatically add Quartus II IP Files to
all projects

.

You can now integrate your custom 10GbE MAC IP core instance in your design,
simulate, and compile.

f

For information about the Quartus II software and the MegaWizard Plug-In Manager,
refer to

Quartus II Help

.

2.3.2. Simulate the IP Core

You can simulate the 10GbE MAC IP core with the functional simulation model
generated by the Quartus II software. To perform a successful simulation of the 10GbE
MAC IP core using the MegaWizard Plug-In Manager flow, you are required to
compile all files listed in the <project directory>/<variation name>_sim output file.
Otherwise, the simulation may fail.

Advertising