pratika
Newbie level 4
- Joined
- Apr 14, 2014
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 45
hi
I write a simple testbench code in questasim in which the inputs are reading with the file but some error is there like this
** Error: (vsim-7) Failed to open VHDL file "C:/input.txt" in rb mode.
#
# No such file or directory. (errno = ENOENT).can u please help me in solving this error
are you working in windows or linux ?
ya file is thereDoes the file exist? this usually occurs when the file does not exist.
What path have you given in your code under:
"file my_input : TEXT open READ_MODE is " ? Is it "C:/input.txt" ? Since it is looking for the file in C directory and could not find it there.
It is good to place the input file in your Project folder and give correct path name completely in your code.
how?can u please tell me?try to put it somewhere other than the c:\
how?can u please tell me?
try "C:\input.txt" ;
change slash .. you have used "/" instead of "\"
let me know if this work ...
- - - Updated - - -
"/" is used in unix dir system , "\" used to navigate files in windows ..
try "C:\input.txt" ;
change slash .. you have used "/" instead of "\"
let me know if this work ...
- - - Updated - - -
"/" is used in unix dir system , "\" used to navigate files in windows ..
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?