• Memory Initialization Files in Modelsim

    From gemmagilmore@hotmail.com@21:1/5 to ALuPin on Thu Mar 19 04:06:05 2020
    On Monday, 19 January 2004 07:39:17 UTC, ALuPin wrote:
    Dear Sir or Madam,

    I want to simulate a VHDL design. It includes RAM structures
    with .mif files (memory initialization files in QuartusII).
    Modelsim seems not to support that kind of files.
    So I use .hex files.
    In QuartusII they can be included in the MegaWizard-
    PlugInManager.
    But how do I involve these .hex files when simulating in Modelsim?
    Do they have to be compiled additionally to the
    design VHDL files or do they have to be linked to in the testbench?
    When trying to simulate after compiling the VHDL modules I get
    an error message "Fatal error ... altera_mf.vhd ... not found".

    Kind regards
    Andres Vazquez
    G & D
    System Development

    Fast Forward 15 years.....

    Following loading of a design in to Modelsim (vsim command), data can be imported into any piece of memory to intialise it (mem load command). Check out the command reference from the the Modelsim/Questa Help menue, it has all the info you need.

    rgds,
    GG - VHDL D&V Engineer.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)