selected signal assignments
The following statement causes a RecognitionException Error.
WITH sign SELECT tmp_lsbs <= mag WHEN '0', NOT(mag) + "01" WHEN '1', (OTHERS => 'X') WHEN OTHERS;
I'm pretty sure this is legal code though it's something I've inherited and not how I would usually structure it.
- Forums:

works fine here
Hi Ben,
Your example works fine here. Perhaps the error was triggered by something other than the snipped you posted? If you can send me a piece of code that reproduces the error and your log file, I will look into it.
error in code, but unhelpful error message
Hi Ben,
Thanks for the code snippet and the log you've sent me.
There was an internal error because the condition (in this case sign) in your code was declared as an alias:
ALIAS sign : std_logic IS flags(2);We'll have this fixed in the next release (ticket:746).
As a workaround for now, you could write:
with flags(2) select...thanks for reporting
Philippe
Post new comment