SpinalHDL / NaxRiscv

MIT License
269 stars 40 forks source link

How to run a bare metal program with mulitple cpus #122

Closed phillippZZ closed 3 months ago

phillippZZ commented 3 months ago

Hi, @Dolu1990.

I'm running a memeory/cache read/write speed testing program(bare-metal) on xilinx_vcu118 with 1/2/4/8 cores. The results are very similar(not expected) and I guess my program only utilizes one program even with multiple cores supported.

Could you teach me how to utilize all the cpus? Say, I want 4 cpus to call the same read_test() function in my test.c code, how can I do it?