Forum Discussion
Altera_Forum
Honored Contributor
16 years agoModelsim Error: file in read mode
Hi. When i am trying to compile my testbench, i get an error:
Error: file in read mode May i know how to solve it? thanks4 Replies
- Altera_Forum
Honored Contributor
file in read mode
- Altera_Forum
Honored Contributor
The path is correct. I recreate the project and success to compile the file d. Thanks
- Altera_Forum
Honored Contributor
Maybe your file (source code) didn't have any permission to read by the tool or the file doesn't exist? Maybe the path is wrong?
Srini www.cvcblr.com/blog - Altera_Forum
Honored Contributor
In the absence of more details of your problem, here is my guess: Your test bench is probably using a file to read and it cannot find file in the project directory. Either you should put the specified file in the project directory or specify its entire path in the testbench program.