^

AR# 22376 XST - "ERROR:Xst:1923 - Line has not enough elements for target "

XST exits when the last line of the following code for reading from a file is passed:

while (not endfile (MY_FILE)) loop

readline (MY_FILE, MY_LINE);

read (MY_LINE, MY_DATA);

end loop;

The following error occurs:

"ERROR:Xst:1923 - Line <MY_LINE> has not enough elements for target <MY_DATA>".

To resolve this issue, recode with the following:

while (not endfile (MY_FILE)) loop

readline (MY_FILE, MY_LINE);

exit when endfile (MY_FILE);

read (MY_LINE, MY_DATA);

end loop;

This issue will be fixed in the future releases of ISE.

AR# 22376
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article
Feed Back