Assigning Pin Numbers in Block Diagram Editor

Description

How do I assign device specific pin numbers to the I/O ports using the block diagram editor? I want the pin numbers to show-up on my schematics.

Solution

In order for it to work, you need to add attribute declarations (in addition to attribute specification) to the block diagram.

Please follow these steps:

  1. Select Diagram | VHDL | Declaration for an Entity from the main menu (there is a button on the toolbar as well). Place the Entity Declaration anywhere on the diagram.

  2. Inside the Entity Declaration type: attribute LOC: string;

  3. Save the file and compile it. The errors should disappear.

NOTES: This solution is supported by the Xilinx and Lattice vendors.

Ask Us a Question
x
Ask Us a Question
x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.