cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
meta1360
Explorer
Explorer
1,681 Views
Registered: ‎01-29-2014

Define a variable in Microblaze

Dear All,

 

 

I want to define a 4KB array (unsigned char A[4096]) in SDK for a Microblaze which is connected to a memory controller generated by MIG and UART; the heap is 0x400 and the stack is 0x400 but it is not possible and when I did that the program hangged and could nit go forward. As long as I define it up to 2048 byte, every thing is ok and the program can run.

My question is why when my heap is just 1KB, I can define a 2Kb variable and how I can increase it

 

 

thanks,

Meysam 

0 Kudos
0 Replies