A
Andrew FPGA
Guest
Hi,
It would seem the use of the predifined attribute "succ" is a nice way
to sequence through the values in an enumerated type.
e.g. next_enum_value := enum_value_type'succ(current_enum_value);
Only problem is, it does not appear to be synthesizable in XST 8.1i
sp3. I get the error message below:
Analyzing Entity <Dummy> (Architecture <dummyarch>.
ERROR:Xst:772 - "C:/project...../Dummy.vhd" line 92: Attribute is not
authorized : 'succ'.
Can anyone suggest a better way of doing this? I.e. it needs to be
synthesisable.
Regards
Andrew
It would seem the use of the predifined attribute "succ" is a nice way
to sequence through the values in an enumerated type.
e.g. next_enum_value := enum_value_type'succ(current_enum_value);
Only problem is, it does not appear to be synthesizable in XST 8.1i
sp3. I get the error message below:
Analyzing Entity <Dummy> (Architecture <dummyarch>.
ERROR:Xst:772 - "C:/project...../Dummy.vhd" line 92: Attribute is not
authorized : 'succ'.
Can anyone suggest a better way of doing this? I.e. it needs to be
synthesisable.
Regards
Andrew