Hi Thormodo,
So the string converted to binary value would occupy memory space as long as it can? I mean it would just occupy addresses until the data has all been stored. So if I store my string at 0x0 then it would occupy the byte address one by one until it reaches a byte address to store the last byte of binary value?
--- Quote Start ---
The crash is probably caused by this:
Do you write to the same memory as your pogram runs in? Because that would cause the program to crash like that. You can check it in the system library properties in the NIOS II IDE.
You should have 2 different kinds of memory in your SOPC builder. One for the program to run in and one to perform the tests in.
--- Quote End ---
I am using a separate on-chip memory, different from the one that the program runs in. Or so I think. I implemented two onchip memories. The mem_0 containes the reset vector, etc. and that is the memory used in the system library. I use the mem_1 for testing.
Regards,