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.