Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThe MIF and Intel HEX files are standards that you can find definitions for on-line, but they are not simple to just create using an editor.
There's several ways to do it. I typically use a program designed for converting formats that I wrote myself that converts verilog readmemh files to intel-hex format, or depending on the format there's a great tool set that was originally created for converting srecords that can be used that can be found at http://srecord.sourceforge.net/ If you target is specifically just for FPGA only (No ASIC in your future) you can also use the $readmemb/$readmemh formats which are much simpler, but are not recognized by all synthesis tools. I found a discussion on this at: http://stackoverflow.com/questions/4321067/is-readmem-synthesizable-in-verilog Pete