Skip to content

Add Support for IREE Tests - #3

Open
efectn wants to merge 12 commits into
vproc:mainfrom
efectn:add-iree-impl
Open

Add Support for IREE Tests#3
efectn wants to merge 12 commits into
vproc:mainfrom
efectn:add-iree-impl

Conversation

@efectn

@efectn efectn commented Jul 20, 2026

Copy link
Copy Markdown

Todo list:

  • Add support for compiling IREE compiler and tools
  • Maybe just remove TOSA converter stuff and add documentation regarding that
  • Use upstream IREE branch instead of fork and apply RV32 and baremetal patches to it
  • Fix Verilator tests
    • CVA6
      • Toycar: After the last PR regarding IREE runtime vectorization, it works with no problem.
      • AWW: It gives some errors about vproc_result unit. Have to check trace. [0] %Error: fifo_v3.sv:149: Assertion failed in TOP.vproc_top.v_core.result_if.commit_id_fifo.empty_read: [ASSERT FAILED] [TOP.vproc_top.v_core.result_if.commit_id_fifo.empty_read] empty_read: Trying to pop data although the FIFO is empty. (/home/efectn/Desktop/vicuna_benchmark/vicuna2_benchmarking/rtl/vicuna2_core/pulp_common_cells/src/fifo_v3.sv:149) %Error: /home/efectn/Desktop/vicuna_benchmark/vicuna2_benchmarking/rtl/vicuna2_core/pulp_common_cells/src/fifo_v3.sv:149: Verilog $stop
    • CV32e40X: Both Toycar and AWW works after applying Scoreboard logic to vproc_result.sv instead of FIFO logic. Have to find out whats broken with CV40X<->Result FIFOs sync.

Since some vmfbss like toycar (around 6MB) is so big the RAM size should also be increased from linker script.

commands:

cmake -B build_programs/build -S build_programs   -DBENCHMARK_SUITE=MLPerfTiny   -DFRAMEWORK=IREE   -DRISCV_ARCH=rv32im_zve32x -DCOMPILER=GCC   -DCMAKE_TOOLCHAIN_FILE=../benchmark_sources/framework/CMake/riscv32_spike.cmake

cmake --build build_programs/build --target toycar_int8_IREE_Spike -j15

ctest -R toycar_int8_IREE_Spike -V

Comment thread benchmark_sources/generic_iree/baremetal/baremetal_stubs.c Outdated
Comment thread benchmark_sources/generic_iree/baremetal/main_template.c Outdated
Comment thread benchmark_sources/generic_iree/CMake/add_test.cmake
Comment thread benchmark_sources/MLPerfTiny/CMake/add_test.cmake Outdated
Comment thread benchmark_sources/MLPerfTiny/Int8/toycar/benchmark.hpp Outdated
Comment thread benchmark_sources/generic_iree/tests/add_vector/test_config.h
@efectn
efectn marked this pull request as ready for review July 20, 2026 15:26
@efectn
efectn force-pushed the add-iree-impl branch 6 times, most recently from 83177c7 to 7b81a5d Compare August 6, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant