Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- We have some RAMs with .hex initialisation files. In the megawizard we just specify the name of the file with no path and then in quartus we simply add a search path in the .qsf to point to the directory containing the .hex files. Everything works fine and we can keep the .hex in a central, common location. The problem, or more like an inconvenience, arises in modelsim in that we have to copy the .hex files over to the working directory (or create a symbolic link) to make them visible to modelsim. Is anybody aware of a method of a more eloquent method rather than having to copy them over. Is there something similar in modelsim to the quartus search path? Thanks. --- Quote End --- Megawizard enters path from the ram module level. so make the relative path to mif same for quartus and modelsim. i.e. put mif files in a folder (let us call it rom_data) to be one level above ram module and run modelsim from a folder at same level as rom_data folder