Knowledge Base Article

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:

  1. Open the *.mif file in the Quartus II software
  2. From the File menu, choose Save as
  3. In the Save as Type list, choose Hexadecimal (Intel-Format) File (*.hex)
  4. Click Save.

In the legacy MAX PLUS® II software, perform the following steps:

  1. Create a new project in MAX PLUS II software (graphical or text design file .tdf).
  2. Add a library of parameterized modules (LPM ) memory module to include your .mif file.
  3. Compile the design for an SRAM-based device.
  4. Open the Simulator from the MAX PLUS II menu
  5. Select Initialize Memory from the Initialize menu.
  6. Click Import File and select the *.mif file.
  7. Click Export File and select .hex file extension.
Related Articles
Updated 1 month ago
Version 2.0
No CommentsBe the first to comment