Checking Files

T

Tricky

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?
 

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,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top