Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - textio error

 
Thread Tools Search this Thread
Old 05-02-2005, 05:21 PM   #1
Default textio error


I am learning using textio library.
I have source code and test bench. Both of them are compiled well.
Test bench looks like below.

-------------------------
....
architecture
....
file AAA : TEXT open READ_MODE is "text.txt";
begin
....
process
begin
...
while NOT (endfile(AAA)) loop -- here occurs error
...
-------------------------

I am using modelsim and met the following error message. It is strange
that it tries to open VHDL file instead of TXT file...and also strange
because there IS a text file in the directory.....

-----------------------------------------------------------------
Fatal: (vsim-7) Failed to open VHDL file "text.txt" in r mode.
# No such file or directory. (errno = ENOENT)
-----------------------------------------------------------------

If someone has this experience, let us know how to solve...

Thankyou



Pasacco
  Reply With Quote
Old 05-02-2005, 07:14 PM   #2
Ralf Hildebrandt
 
Posts: n/a
Default Re: textio error
Pasacco wrote:


> -----------------------------------------------------------------
> Fatal: (vsim-7) Failed to open VHDL file "text.txt" in r mode.
> # No such file or directory. (errno = ENOENT)
> -----------------------------------------------------------------


Specify the complete path for the file - not only it's name.

e.g.:
file AAA : TEXT open READ_MODE is "/home/userX/folderY/text.txt";


Ralf


Ralf Hildebrandt
  Reply With Quote
Old 05-02-2005, 09:21 PM   #3
Alan
 
Posts: n/a
Default Re: textio error
In message <>, Ralf Hildebrandt
<Ralf-> wrote
>Pasacco wrote:
>
>
>> -----------------------------------------------------------------
>> Fatal: (vsim-7) Failed to open VHDL file "text.txt" in r mode.
>> # No such file or directory. (errno = ENOENT)
>> -----------------------------------------------------------------

>
>Specify the complete path for the file - not only it's name.
>
>e.g.:
>file AAA : TEXT open READ_MODE is "/home/userX/folderY/text.txt";
>



Some tools don't like white spaces in the names of files or directory
paths. It is better to always use names like 'my_directory' with an
underscore rather than 'my directory' with a space in the name.

--
Alan
private.php?do=newpm&u=


Alan
  Reply With Quote
Old 05-03-2005, 09:06 AM   #4
Pasacco
 
Posts: n/a
Default Re: textio error
Complete path name.... now it works

Thankyou very much



Pasacco
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help on Modelsim VHDL syntax? ASAP:) kaji General Help Related Topics 0 03-14-2007 10:43 PM
Need help on a Modelsim VHDL Syntax? ASAP:) kaji Software 0 03-14-2007 10:43 PM
Need Help on a Modelsim VHDL Syntax....ASAP:) kaji Hardware 0 03-14-2007 10:41 PM
Parser Error Message: Could not load type 'Microsoft.SharePoint.ApplicationPages.Glob rasmita General Help Related Topics 0 09-05-2006 05:49 AM
Parser Error Message: Could not load type 'Microsoft.SharePoint.ApplicationPages.Glob rasmita General Help Related Topics 0 09-05-2006 05:46 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46