Forum Discussion
Altera_Forum
Honored Contributor
9 years agoOkay, I found a solution:
If I generate a blank text file in Quartus and copy the content of the MATLAB-generated .mif to this new file, then save it as HRTF_L_real_memory_init.mif, everything compiles without errors. I'm running Quartus on a linux machine and MATLAB on a Mac under OS X. On the Linux host, both files (the MATLAB generated and the Quartus generated) look exactly the same in gedit, however I'm not able to open the MATLAB generated .mif in the Quartus editor. Seems like MATLAB on my Mac generates a somehow wrong encoded textfile. As MATLAB is able to generate 25 different encoding schemes when saving text files, there should be a solution. But what encoding scheme is right for Quartus? these (http://de.mathworks.com/help/matlab/ref/fopen.html) are the supported encoded schemes (scroll down to "encodingIn")