Closed natewise closed 2 years ago
Hi natewise
Thanks for filing this!
Are there newlib calls in the FFT code?
Hi Dustin! Sorry for my late reply, but yes, memcpy is called in one of the FFT functions
That's odd. memcpy should be fine.
Can you reproduce this in a source file that you're willing to share? I tried copying your makefile into this branch here, and I don't have any issues?
I also found a printf in another file I had included. Replacing this with bsg_printf seemed to do the trick, since I'm now able to compile and run my program, at least for a 1x1 manycore. Thanks for the insight, I think this issue is resolved!
excellent! Great news!
If you're just looking to print out an integer, hex, or float value see these functions here:
They have much, much less overhead.
OK to close?
Here is a Makefile I've written trying to compile the bsg_manycore API with several other scripts:
I did my best to structure this after several of the spmd examples like spmd/hello/ or spmd/coremark/, but this code still generates this output:
The ... between the "riscv_register_priority: TARGET_RVC == 0" was added by me afterwards since the line repeats and I wanted to keep the output small. If I could get any suggestions for what's awry here I'd appreciate it!