setting attributes to VHDL entity ports

Status
Not open for further replies.

shaiko

Advanced Member level 5
Joined
Aug 20, 2011
Messages
2,644
Helped
303
Reputation
608
Reaction score
297
Trophy points
1,363
Activity points
18,302
Hello,

In VHDL, Is it possible to set attributes to VHDL ports?
I know the syntax for setting an attribute to a signal - but what about a port?
 

yes. In the same way you assign attribute to signal:

attribute keep of some_port : signal is "true";
 
Reactions: shaiko

    shaiko

    Points: 2
    Helpful Answer Positive Rating
I've also seen suggestions to use:

attribute keep of some_port : port is "true";

Not sure if the tools accept both.
 

attribute keep of some_port : port is "true";
This is exactly what I tried before posting - and it didn't work with Vivado...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…