Article ID: 000079258 Content Type: Troubleshooting Last Reviewed: 05/20/2013

Naming Conflict in Simulation File Set for Combined RX-Only and TX-Only Instances of 40- and 100-Gbps Ethernet MAC and PHY MegaCore Function

Environment

    Quartus® II Subscription Edition
    Simulation
BUILT IN - ARTICLE INTRO SECOND COMPONENT

Critical Issue

Description

If you use the MegaWizard Plug-In Manager or the qmegawiz command line utility to generate two instances of a 40- and 100-Gbps Ethernet MAC and PHY IP core, one of them RX-only and one of them TX-only, and then combine the two instances in the same design, the resulting design cannot simulate. This issue occurs because simulation files in the two instances have the same names.

Resolution

To avoid this issue, generate your IP core instances using the ip-generate command line utility, instead of the MegaCore Plug-In Manager or the qmegawiz command line utility. The following paragraphs provide basic information to help you formulate your ip-generate commands.

The ip-generate command to generate an instance of the 40- and 100-Gbps Ethernet MAC and PHY IP core has the following IP core-specific parameters:

ip-generate Command Line Component Parameters
Component ParameterValues
DEVICE_FAMILY“STRATIX IV”, “STRATIX V”
MAC_CONFIG“40Gbe”, “100Gbe”
PHY_CONFIGFor MAC_CONFIG=”40Gbe”: 1 means the regular 40GbE IP core, 2 means the 24.24 Gbps setting. For MAC_CONFIG=”100Gbe”: 1 means the regular 100GbE IP core, 2 means the CAUI-4 setting.
INTERFACE“Custom-ST Interface”, “Avalon-ST Interface”
CORE_OPTION“MAC only”, “PHY only”, “MAC & PHY”
VARIANT1 means RX only, 2 means TX only, and 3 means duplex mode.

Additional syntax details, including the command-line options for the different parameters, are provided by example.

For example, the following command generates a TX-only 40GbE MAC and PHY IP core instance that targets a Stratix IV device in a Stratix IV project and has a custom-ST interface:

ip-generate --output-dir=alt_e40_custom_tx_siv --file-set=SIM_VERILOG --output-name=alt_e40_custom_tx_siv --report-file=txt:alt_e40_custom_tx_siv_ipd_report.txt --report-file=qip:alt_e40_custom_tx_siv/alt_e40_custom_tx_siv.qip --report-file=csv:alt_e40_custom_tx_siv/alt_e40_custom_tx_siv.csv --component-file=<Quartus II installation directory>/ip/altera/alt_eth_40g_100g/alt_e40_e100/alt_e40_e100_hw.tcl --system-info=DEVICE_FAMILY=”Stratix IV” --component-param=MAC_CONFIG=”40 Gbe” --component-param=PHY_CONFIG=1 --component-param=INTERFACE=”Custom-ST Interface” --component-param=DEVICE_FAMILY=”Stratix IV” --component-param=CORE_OPTION=”MAC & PHY” --component-param=VARIANT=2

This issue will be fixed in a future version of the 40- and 100-Gbps Ethernet MAC and PHY IP core.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1