Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi,
MIF files are just text files which specify memory contents and can be used to intializa the FPGA's internal memory. You can see their format here: http://quartushelp.altera.com/9.1/mergedprojects/reference/glossary/def_mif.htm So, you'd need to find or write a small program to convert WAV/PCM into .MIF (or .HEX(. That said, the FPGA on the DE2 only has a 52 * 4K RAM, which won't hold much sound. Thus, if you want to turn the DE2 into a media player, you need to find another strategy. I suggest either you stream sound data into the DE2 using the USB interface or you load sound data from the SD card reader.