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="Andy, post: 5109638"] If your tools support vhdl-2008, it really helps. Modelsim's tools do support 2008, but 2008 has new reserved words that, if used in your pre-2008 written code, also cause a failure. If for some reason you cannot use 2008, then you still have a couple of good options. Initialize the constant with "00100" (not as readable) Convert the case expression to an integer, and store it in a variable, then used that variable in the case statement. Then define your target expression constants as integers. There are probably others... Note that 2008 would also allow you to skip the variable for the converted case expression. Andy [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
VHDL
ModelSim ** Warning: <foo.vhd> Choice in CASE statement alternativemust be locally static.
Top