Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Mif file Simulation in modelsim using nios IDE

Hi,

My core contains ROM (mif) file. I want to simulate it in modelsim software using Nios IDE. But Modelsim does not support mif file.

Please give some idea to solve this problem.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by slsnios@Nov 23 2006, 10:04 AM

    hi,

    my core contains rom (mif) file. i want to simulate it in modelsim software using nios ide. but modelsim does not support mif file.

    please give some idea to solve this problem.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19587)

    --- quote end ---

    --- Quote End ---

    if you use the Nios IDE, coud didn&#39;t need mif files. The Nios IDE generate an elf-file after compilation. Now you can start ModelSim simulation and the NIOS IDE generate an dat-file with your program and your data.

    An other way, you can convert your files in Quartus II.

    On the Altera HP is a video over "How I simulate the Nios core with ModelSim!".