Dynamic Memory Allocation Problem


I was trying to simulate my design and received this error:

KERNEL: Error: Unable to allocate 1056 B VHDL dynamic memory

How can I fix it?


The reason for this error may be the fact that memory is allocated for VHDL objects in your code but it is not deallocated with “deallocate” procedure. After a significant amount of subsequent simulation runs, the system can’t allocate the required amount of memory and you are getting this error.

Please do the following:

  1. Make sure you use the deallocate procedure in your VHDL code.

  2. If the previous step does not help, please compile your code with the –dbg switch and use -access_leak_report in your asim command.

  3. Once the simulation is completed (and you get an error message), please save the content of the console window to the .txt file and open a support ticket at www.aldec.com/support.

Printed version of site: www.aldec.com/en/support/resources/documentation/faq/1041