Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17240 Discussions

how to solve ModelSim exit Code 9 problem

Altera_Forum
Honored Contributor II
1,756 Views

hello,  

 

i am writing a 1024 point FFT code in system verilog using Modelsim Altera starter edition. the compilation of the code was a success but when i try to simulate the test code, all the modules gets properly loaded but then the software closes with exit code 9 warning. it says memory allocation failure even though i have a huge ram. furthermore when searching for the solution i came across one saying to add a clk but it wasn't of any help as i already had one:confused: 

 

this is a really important part of my project:oops:. any kind of help is xxtremly appreciated.. plss reply asap:(
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
891 Views

Hi, do you use "extra" functions (other than those which can be "synthesized") ? Like "write..." 

Do you constraint all signals and variables (I don't know system verilog) ? 

 

Can you watch available memory while this fatal exit happens ? Open Task Manager (or similar "process explorer") for that. 

 

Which Modelsim version, Which Windows ? 

No virtual machine or sandbox (by antivirus or firewall) ? 

...
0 Kudos
Altera_Forum
Honored Contributor II
891 Views

hey, thanks for the response.. i just checked the memory usage plot using task manager while i try running the test program, and yeah it does show the usage of almost the entire RAM. :| Is there any way i can make this program run? :| 

 

I am using ModelSim Altera 6.5b starter edition and windows 7...
0 Kudos
Altera_Forum
Honored Contributor II
891 Views

Moidelsim is limited to 2GB of ram because it is a 32 bit program. You will have to get the 64bit version to allow it access extra RAM (and you need a SE licence for that).  

 

It sounds like you have a lot of large arrays or similar.
0 Kudos
Altera_Forum
Honored Contributor II
891 Views

true about large arrays.. i do have lots of them.. any clue how to get the SE license? is there a trial version of the 64-bit version? 

 

thanks a lot for the response :)
0 Kudos
Reply