riscv-coremark
riscv-coremark copied to clipboard
coremark Iterations for 40000 times
Hi, I'm using this riscv-baremetal and find its default iterations alway equal to 40000. I have tried to change it to num 1 by cmd "./spike ./coremark.bare.riscv 0x0 0x0 0x66 1", but it does work! However, when I use pk, changing iterations by using cmd "./spike ./coremark.riscv 0x0 0x0 0x66 1" works well. Can someone tell me how to change the default iterations in baremetal mode? Thanks.
There is no way to pass cmd line arguments into bare metal binaries. To change number of iterations, you must edit the coremark source code.