Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21592 Discussions

VHDL: How to add a Description to the Symbol Properties box of the generated symbol?

Altera_Forum
Honored Contributor II
1,286 Views

Hi, 

 

When generating a symbol using a generic like below: 

 

entity Attenuation is generic ( PIXEL_CNT_WIDTH : integer := 11;-- default value LINE_CNT_WIDTH : integer := 10 -- default value ); port ( clock : in std_logic; resetn : in std_logic; 

 

 

We can set the generic values using the Symbol Properties dialog box. In this box we have access to a Description field for each generic parameter. Does anybody know how to enter some text in these fields directly from the VHDL used to generate the symbol? 

 

Thanks in advance for your help.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
549 Views

Without passing the vhdl file through a prepocessor (a script of some sort) before vhdl compile I don't think it's possible.

0 Kudos
Altera_Forum
Honored Contributor II
549 Views

Maybe the best thing to do is not to use the graphic editor and instatiate your entities in VHDL instead - then you can have as much description as you want.

0 Kudos
Altera_Forum
Honored Contributor II
549 Views

Hi, 

 

 

--- Quote Start ---  

Maybe the best thing to do is not to use the graphic editor and instatiate your entities in VHDL instead  

--- Quote End ---  

 

 

However my design habits are to always design a graphical top. Then I design in VHDL at all levels below. This is why my question is related to the graphic symbols and their options. 

 

Anybody else?
0 Kudos
Reply