Help in file IO

P

P. Jayakrishnan

Guest
hi everyone
i am using vhdl 93 syntax for my project. i am trying to detect
the end of file using "while not ENDFILE(vec_file) loop" where
vec_file is the input file. I am getting an error message as 'unknown
identifier ENDFILE'. can anyone help me.
thank you.
 
Make sure you have the right packages included. i.e.
std_logic_textio.all
make sure vec_file is of type file
Unknown identifier error suggests vec_file argument might not be of the
type endfile( ) expects (i.e. file)



P. Jayakrishnan wrote:
hi everyone
i am using vhdl 93 syntax for my project. i am trying to detect
the end of file using "while not ENDFILE(vec_file) loop" where
vec_file is the input file. I am getting an error message as 'unknown
identifier ENDFILE'. can anyone help me.
thank you.
 

Welcome to EDABoard.com

Sponsor

Back
Top