Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Modelsim 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?

thanks

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The path is correct. I recreate the project and success to compile the file d. Thanks