Quartus Prime Version 23.1 RTL Simulation Cannot Find MIF file
I am trying to run a Quartus RTL Simulation of a module that instantiates RAM memory with a MIF initialization file. However, Questa fails to run the simulation, because it seems that it cannot find/locate the MIF file associated with the RAM module. Questa transcript window reports the following error:
I generated the RAM module using the Megawizard Plug-in Manager, and all of my source code, including the MIF file for the RAM, resides in the subfolder ./MyHDL.
I have been able to resolve the issue by moving the MIF file from the ./MyHDL subfolder to the top Quartus project root folder and regenerating the RAM module. Then the RTL Simulation does not report any issues with locating the MIF file. Although I could proceed with this work-around, it would be much preferred that all my source code, including the MIF file would be located in the same sub-folder. Is there a better solution to this problem?
Thank you.