Concatenation in VHDL

Description

I received the following error message when I was trying to compile a VHDL file. What I can do to fix it?

Error: COMP96_0547: <File Name>.vhd : Choice in selected signal assignments and case statements must be locally static. Use -relax to allow nonstatic expressions and discrete ranges.

Solution

The concatenation operator usage with what you are trying to do has been approved and implemented for VHDL 2006 and 2008 standard by IEEE commitee.

Please use the VHDL 2006 or VHDL 2008 standard when you compile the code either by going to Design | Settings | Compilation | VHDL

Or, add acom -2008 in the script.

If you want to use a previous VHDL version, please use the mentioned -relax switch for the acom command or set this switch in Design | Settings | Compilation | VHDL | Relax LRM requirements.

Ask Us a Question
x

Ask Us a Question

x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.