Help in file IO

P

P. Jayakrishnan

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.
 
R

rootz anabo

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top