Hi!
I built a design in Vivado which consists of microblaze [Arty-A7 35T] .
Due to the fact that I have very large workspace [.cpp, .h files], i also use ddr [ MIG] to the design [With configurations as default].
However, after exporting .xsa to Vitis and build my workspace, I got weird errors:
- getchar() isn't working
- variables that suddenly change their value without meaning
- after main() ends, it start from the beginning
i suspect all of this is related to memory.
i configure in lscript.ld file on Vitis heap and stack to be 0x2000
Is there some microblaze or ddr configuration that need to be done in Vivado in order to make Vitis code to work smoothly?
Thanks in advance.
My design is based on this webpage: https://medium.com/@caglayandokme/extending-the-memory-limits-of-microblaze-with-an-external-ddr-6c896e75c218