链接已复制
4 回复数
.coe and .mif files are ascii, this means that you can open both using any text editor and find the data organization and headers in order to write a simple program or matlab script that makes the conversion.
However, these .exe files with their .c source codes could help you. https://www.alteraforum.com/forum/attachment.php?attachmentid=747Thanks, I already found the program you attached to your post, but I need one that converts in oposite direction, i.e from coe to mif or at least to HEX, so it seems that I will have to resort to programming!
I found one very simple solution for this problem,
1. Open New Memory Initialization File in Quartus II 2. Set the memory radix to be same as it is in coe file 3, Copy the actual contents of the memory from the coe file 4. Paste it from the begining of the newly opened mif file 5. Save the file`Hi
I have done the same way what you have mentioned but am not able to copy and paste am getting a error as "Memory value must be of radix hexadecimal" Could u please help me out how to resolve this issue
Thanks in Advance
