Device Family: Arria® V GZ

Device Family: Stratix® IV GT

Device Family: Stratix® V GS

Device Family: Stratix® V GT

Device Family: Stratix® V GX

Type: Answers

Area: Intellectual Property


IP Product: 40Gb Ethernet PHY MegaCore

Error (12002): Port "din" does not exist in macrofunction "ior" File:

Description

When you compile an example design of 40- and 100-Gbps Ethernet MAC and PHY MegaCore® fuction, following error message might be reported.

Error (12002): Port "din" does not exist in macrofunction "ior" File: [path]/alt_e100_top_sv.v Line: 164

This is because you generated the IP with Avalon®-ST Interface but compiled an example design with Custom Streaming Interface.

Workaround/Fix

Compile proper example design for your IP variation.

Even if you generated the IP with Avalon-ST Interface, MegaCore function generates example designs for all variation including Custom Streaming Interface version. Proper example design with Avalon-ST interface for Stratix® V devices is located at:

<project_dir>_example/example_design/alt_e*_avalon_top_sv

Proper example design with Avalon-ST interface for Stratix IV devices is located at:

<project_dir>_example/example_design/alt_e*_avalon_top_siv