Solution ID: 1430
Last Modified: Jun 14, 2007
Product Category: Design Software
Product Area: Other (Design Software)
Product Sub-area: Other (Design SW)
Software: MAX+PLUS II PC,Quartus II PC
Title
How can I convert my memory initialization file (.mif) to a .hex file format?
Description
You can convert your Memory Initialization File (*.mif) to Hexadecimal (Intel-Format) File (*.hex) format using the procedures below. Refer to the Related Solution below to perform the procedure with a Tcl script.
In the Quartus® II software, perform the following steps:
- Open the *.mif file in the Quartus II software
- From the File menu, choose Save as
- In the Save as Type list, choose Hexadecimal (Intel-Format) File (*.hex)
- Click Save.
In the legacy MAX+PLUS® II software, perform the following steps:
- Create a new project in MAX+PLUS II software (graphical or text design file .tdf).
- Add a library of parameterized modules (LPM ) memory module to include your .mif file.
- Compile the design for an SRAM-based device.
- Open the Simulator from the MAX+PLUS II menu
- Select Initialize Memory from the Initialize menu.
- Click Import File and select the *.mif file.
- Click Export File and select .hex file extension.
Related Solutions
Feedback
Altera does not warrant that this solution will work for the customer's intended purpose and disclaims all liability for use of or reliance on the solution.
