Help in file IO

Discussion in 'VHDL' started by P. Jayakrishnan, Dec 17, 2004.

  1. 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.
     
    P. Jayakrishnan, Dec 17, 2004
    #1
    1. Advertisements

  2. rootz anabo

    rootz anabo Guest

    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.
     
    rootz anabo, Dec 17, 2004
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luis Esteban Valencia Muñoz
    Replies:
    3
    Views:
    1,569
    Scott Allen
    Jun 4, 2005
  2. Dave
    Replies:
    1
    Views:
    1,160
    Juan T. Llibre
    Jun 8, 2007
  3. =?ISO-8859-2?Q?Miros=B3aw?= Makowiecki

    Reading of file by next of map file and by next of file descriptor.

    =?ISO-8859-2?Q?Miros=B3aw?= Makowiecki, Jul 10, 2007, in forum: C++
    Replies:
    1
    Views:
    958
    Alf P. Steinbach
    Jul 10, 2007
  4. scad
    Replies:
    4
    Views:
    1,149
    James Kanze
    May 28, 2009
  5. Ludwigi Beethoven
    Replies:
    5
    Views:
    529
    Mike Hall
    Jul 26, 2003
Loading...