Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20709 Discussions

How to open a file in read mode without any error?/this was the error I was getting

Altera_Forum
Honored Contributor II
2,584 Views

** Error: (vsim-7) Failed to open VHDL file "C:/altera/13.0sp1/work/stimulus.txt" in rb mode.# # No such file or directory. (errno = ENOENT) 

I tried everything I could do like change the paths for directories and changed the name of the given text files please somebody help:cry::o
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
1,271 Views

Happy new year / (fr) Bonne et heureuse année 2014 

 

I guess you are using ModelSim. 

 

Do you try to open stimulus.txt in ModelSim or does one of your VHDL files have an instruction to open situlus.txt ? 

 

I don't know "rb mode" : raw binary mode ?
0 Kudos
Altera_Forum
Honored Contributor II
1,271 Views

Check the current directory using "pwd" command and if the "stimulus.txt" is in the same directory.

0 Kudos
Reply