Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reloading a Textfile in a process!?

Status
Not open for further replies.

bluetoons

Technical User
Apr 25, 2007
3
DE
Hi people I'm new here and allready got a question.
Is it possible to reload, to be more exact start reading from the begining of a text file in a process? The reason is that I program automata in VHDL for verification purposes and my newest attempt at reducing the translation/compilation time is to use a textfile with a list where it gets the info from which state is next, depending on the given state and the input. The idea works fine 4 the 1st transition but then it has read through the whole list and on the next clk it tells me that it has reached the end of file! :(

thnx 4 any help.
Ciao
 
Ok, I found it out myself...:) I made a procedure which does all this "work. So everytime the Procedure gets called it reopens the above mentioned file...;)

Ciao
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top