Forum Discussion

ALane's avatar
ALane
Icon for New Contributor rankNew Contributor
7 years ago
Solved

How to Infer a ROM's Contents from a file?

I'm trying to convert a Xilinx design onto a Cyclone V and am struggling with the Intel documentation on how to infer a ROM where its contents are provided by an external mif file​. Looking at the do...
  • Abe's avatar
    7 years ago

    You could initialize the memory using MIF file or Intel HEX file. I would suggest you replace your ROM code with one of Intel's 1-port ROM Megafunctions. When you use the megafunctions, there's an option to initialize the memory using MIF or HEX files.

    Migrating the small ROM/RAMs to using Intel megafunctions may help resolving such issues.

    -Abraham