Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNIOS 1 Memory Usage
I've got a NIOS system running but have questions about memory usage (RAM). I've got 2 files that contain the issues. The 1st is the memory map (.mn) generated by the compiler and the ...
Altera_Forum
Honored Contributor
22 years agoThanks to a ll replies.
1. malloc: Help, who's calling malloc and how do we track that down? In the objdump file we can't find the call to malloc using grep. Yes we're using the standard libraries. We are using sin, cos and atan functions. 2. stack usage: The code is not called more that 4 deep. The stack set in the hardware is 31 deep. From the memory dump it looks like the stack is being rolled out of the hardware and into the RAM. Disabling the CWP manager will probably just crash the system. but it's a test to run.