Forum Discussion

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

Modelsim exits with code 9

Hi

I have been try top simulate my design using modelsim. I get no warnings when the simulation starts but after a while I see the following in my terminal:

Fatal: (vsim-4) ****** Memory allocation failure. *****

Attempting to allocate 131072 bytes

Please check your system for available memory and swap space.

** Fatal: vsimk is exiting with code 9.

I understand that it might be because the design is pretty big. But is there a way to circumvent this and simulate my design? How do I proceed? :(:( I really need the simulation to complete my project.

Kindly respond

Thanks

sudheera

4 Replies

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

    What platform are you running the simulation on (hardware and software)?

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

    I am running it on modelsim ase. I do the analysis and synthesis of the RTL design (verilog HDL) on Quartus Prime software. Hope this answers the question.

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

    Not even close. Let's try this again:

    What operating system are you using? Windows XP, 7, 8, or 10? 32bit or 64bit? Or version of Linux (use 'uname -a')?

    What hardware platform are you using? I'm guessing an Intel PC, but how much physical memory does it have?

    What version of Quartus are you using? What version of ModelSim?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It means your machine does not have enough ram (and virtual ram) to complete the simulation.

    Do you have some large arrays in the design? Are you modelling DDR or something?