This is a solution to the improving softmax challenge on the RISC-V Online Hackathon.
Generate the test data and golden image with the Jupyter notebook script.
This solution uses pure C and loops. Can be built and executed on the host machine.
make runCross-compiles to the RISC-V core machine and uses Spike simulator to run the program. Provide path to RISC-V gcc and Spike with proxy kernel.
export RISCV_TOOLCHAIN={install_dir}/riscv-gcc
export SPIKE_PATH={install_dir}/riscv-isa-sim/bin
export PK_PATH={install_dir}/riscv-pk/buildmake run-rvvScalar solution can also be compiled and run on RISC-V with Spike.
make run-riscvexp.ace contains the instruction for the custom ACE extension.