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.