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
ModelSim ** Warning: <foo.vhd> Choice in CASE statement alternativemust be 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="Jim Lewis, post: 5109553"] Prior to VHDL-2008, a locally static expression required the operands and result to be scalar. VHDL-2008 drops the scalar requirement and explicitly adds some IEEE packages (see text below). In short, it should work in VHDL-2008. From VHDL-2002, 7.4.1 P113 "7.4.1 Locally static primaries An expression is said to be locally static if and only if every operator in the expression denotes an implicitly defined operator whose operands and result are _scalar_ and" From VHDL-2008, 7.4.2, P139 "9.4.2 Locally static primaries An expression is said to be locally static if and only if every operator in the expression denotes an implicitly defined operator or an operator defined in one of the packages STD_LOGIC_1164, NUMERIC_BIT, NUMERIC_STD, NUMERIC_BIT_UNSIGNED, or NUMERIC_STD_UNSIGNED in library IEEE, and if every primary in the expression is a locally static primary, where a locally static primary is defined to be one of the following:" Jim [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
VHDL
ModelSim ** Warning: <foo.vhd> Choice in CASE statement alternativemust be locally static.
Top