UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 8988

3.1i ECS: How to add Generic Attributes to Schematic Sources

Description

Keywords: Generic, Generic Map, Attributes, VHDL, ERROR : (VHP__0337)

Urgency: Standard

General Description: If the following errors are issued:

Number of ports in component <xyz> and associated entity does not match.
Component <xyz> was not bounded to architecture <xyz>(<rtl>). Local configuration required.

Then the following might apply.

If the schematic design consists of instantiated VHDL symbols, and the
VHDL macros contain Generic Ports then the associated symbols must
have Generic attributes associated with them.

Solution

Here are the steps to add the attributes to the ECS Symbol.

1- Open the schematic.

2- Select Edit -> Attribute -> Symbol Attribute (CRTL+A).
This will open the Symbol Attribute Editor.

3- Click on the desired symbol.

4- Select the List All Attributes check box. All of the attributes for the
symbol are displayed in the Symbol Attribute Editor.

5- Select VHDLGeneric1. In the edit field enter: <portname> => <value>
For example: N => 5

Then hit return. The value should be displayed in the list below. This value
will be placed in the VHDL netlist on the component instantiation.

6- Close the Symbol Attribute Editor.

7- Select Edit -> Symbol. Click on the desired symbol. This will open the
Symbol Editor with the selected signal.

8- In the Symbol Editor, select Edit -> Attribute -> Symbol Attribute. This
opens the Symbol Attributes dialog.

9- Select VHDLGeneric1. In the edit field enter: <portname> : <type>
For example: N : integer

Then hit return. The value should be displayed in the list below. This value
will be placed in the VHDL netlist on the component declaration.

10- Close the Symbol Attributes dialog. Save the symbol and close the
Symbol Editor.



AR# 8988
Date Created 04/06/2000
Last Updated 01/08/2006
Status Archive
Type General Article