Checking Files

Discussion in 'VHDL' started by Tricky, Mar 5, 2010.

  1. Tricky

    Tricky Guest

    Im creating a protected type that should wrap up a load of simulus I
    commonly use (constant input, random, count or input from file) but
    coming to the file bit I have a couple of questions:

    1. If I have a file already open, do I have to call FILE_CLOSE before
    I use FILE_OPEN on the same file (file in VHDL, not file on hard
    disk).

    2. If I dont need to call FILE_CLOSE, would FILE_OPEN on the same file
    cause it to re-read the file and start from the beginning?

    3. is there a handing procedure something like IS_OPEN to check if a
    file is already open?
    Tricky, Mar 5, 2010
    #1
    1. Advertising

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. crazyprakash
    Replies:
    4
    Views:
    3,365
    adrian
    Oct 30, 2005
  2. mhk

    About checking executable files

    mhk, Nov 4, 2003, in forum: C Programming
    Replies:
    2
    Views:
    288
    Derk Gwen
    Nov 5, 2003
  3. Peter Loftus

    checking permissions for config files

    Peter Loftus, Nov 9, 2007, in forum: Ruby
    Replies:
    2
    Views:
    90
    Peter Loftus
    Nov 14, 2007
  4. Ted Flethuseo

    Checking for modified files.

    Ted Flethuseo, Dec 8, 2010, in forum: Ruby
    Replies:
    1
    Views:
    90
    Reid Thompson
    Dec 8, 2010
  5. New C.
    Replies:
    7
    Views:
    114
    Brian Candler
    Mar 8, 2011
Loading...

Share This Page