Agilex™ 7 Embedded Memory User Guide

ID 683241
Date 4/15/2025
Public
Document Table of Contents

3.9. Consider the Memory Depth Setting

Use an even number to specify the memory depth or words. If you specify an odd number, the Quartus® Prime software increases the number by one during RTL generation to make it an even number.

For example, if you input "255" for the memory depth, Quartus® Prime software generates an RTL with memory depth of 256.

If you specify an odd-sized memory depth in a .mif or .hex, the Quartus® Prime software issues this warning during compilation:

Critical Warning (127005): Memory depth (256) in the design file differs from memory depth (255) in the Memory Initialization File <hex file> – setting the initial value for remaining addresses to 0.