Forum Discussion

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

Error in Modelsim-AE

Hello,

When running simulation with Modelsim-AE I have this error:

** Fatal: (vsim-7) Failed to open VHDL file "memory.hex" in rb mode.
No such file or directory. (errno = ENOENT)

But the file is indeed present in the same directory as the calling .vhd file.

Is this a frequent (and solved) issue?

Thank you.

2 Replies

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

    Have you tried copying the memory.hex into the modelsim (mentor) directory?

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

    The file was in the vhdl source files directory but it has to be in the project root directory. It's ok now.