Creating Hexadecimal (Intel-Format) and Memory Initialization Files

 


The Memory Editor allows you to enter, view, and edit the memory contents for an Altera device memory block implemented in a Memory Initialization File (.mif) or a Hexadecimal (Intel-Format) File (.hex). Within the Memory Editor, you can fill selected cells with binary, hexadecimal, octal, or decimal values; edit individual cells; or custom fill an address range with a repeating sequence of values from a starting point with incrementing or decrementing values. Additionally, in both the Memory Editor and Text Editor, you can use "x" for "don't care" bits and "u" for "never match" bits. When you have a binary number, for example: 1x1u 1100, the "x" bit indicates a "don't care" value where either a "1" or "0" is allowed. A binary address with a "don't care" or "never match" bit specified cannot be fully converted. The portion of the address that cannot be converted is filled with "x" symbols. Data words in the Memory Editor that contain "don't care" or "never match" bits may lose some precision of their values.

 

ExpandTo create a Memory Initialization File or Hexadecimal (Intel-Format) File in the Quartus II Memory Editor:

ExpandTo create a Memory Initialization File in the Quartus II Text Editor:

 

 

Rate This Page