Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
VHDL
Are constants not locally static?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mike Treseler, post: 3655113"] It's not. Either simplify the condition or use if/then/elsif... -- Mike Treseler ___________________ 57 Thu Oct 16 /evtfs/home/tres> verror 1186 vcom Message # 1186: When the expression is of an array type, the length of the array must be known at compile time. The simulator is less restrictive than the LRM requires as long as the array length of the expression can be determined in the compiler. IEEE Std 1076-1993, 8.8 Case statement: If the expression is of a one-dimensional character array type, then the expression must be one of the following: -- The name of an object whose subtype is locally static -- An indexed name whose prefix is one of the members of this list and whose indexing expressions are locally static expressions -- A slice name whose prefix is one of the members of this list and whose discrete range is a locally static discrete range -- A function call whose return type mark denotes a locally static subtype -- A qualified expression or type conversion whose type mark denotes a locally static subtype It is an error if the element subtype of the one-dimensional character array type is not a locally static subtype. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
VHDL
Are constants not locally static?
Top