Altera_Forum
Honored Contributor
15 years agoROM and associated .mif
When I generate a ROM and specify the memory intialisation file location, the .hex location is written into the vhdl relative to where the project is being run from NOT relative to where the ROM vhdl presides.
init_file => "../../ROM/HEX/expr1024x32.hex",and -- Retrieval info: PRIVATE: MIFfilename STRING "../../ROM/HEX/expr1024x32.hex"If I move the project directory will it loose the .mif? I've tried changing the reference to be relative to the where the ROM vhdl and that seems to work. Any advice on how Quartus determines the location of the initailisation file much appreciated.