From 9769e78346b87f892719e82e2631eec7081b9fdc Mon Sep 17 00:00:00 2001 From: Navaneeth-Kunhi Purayil Date: Sat, 9 Nov 2024 14:22:35 +0100 Subject: [PATCH] [sw] added simple test for chaining and dotproduct --- hw/system/spatz_cluster/cfg/spatz_cluster.default.hjson | 2 +- hw/system/spatz_cluster/sw/CMakeLists.txt | 1 + sw/spatzBenchmarks/CMakeLists.txt | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/system/spatz_cluster/cfg/spatz_cluster.default.hjson b/hw/system/spatz_cluster/cfg/spatz_cluster.default.hjson index bc58c61e..33e79b20 100644 --- a/hw/system/spatz_cluster/cfg/spatz_cluster.default.hjson +++ b/hw/system/spatz_cluster/cfg/spatz_cluster.default.hjson @@ -18,7 +18,7 @@ "cluster_default_axi_user": 1, "axi_cdc_enable": false, "tcdm": { - "size": 128, + "size": 1024, "banks": 32 }, "cluster_periph_size": 64, // kB diff --git a/hw/system/spatz_cluster/sw/CMakeLists.txt b/hw/system/spatz_cluster/sw/CMakeLists.txt index b3f53c0c..4a7f9579 100644 --- a/hw/system/spatz_cluster/sw/CMakeLists.txt +++ b/hw/system/spatz_cluster/sw/CMakeLists.txt @@ -17,3 +17,4 @@ enable_testing() add_subdirectory(${SNITCH_SOFTWARE_DIR}/snRuntime snRuntime) add_subdirectory(${SNITCH_SOFTWARE_DIR}/riscvTests riscvTests) add_subdirectory(${SNITCH_SOFTWARE_DIR}/spatzBenchmarks spatzBenchmarks) +add_subdirectory(${SNITCH_SOFTWARE_DIR}/chainingTest chainingTest) diff --git a/sw/spatzBenchmarks/CMakeLists.txt b/sw/spatzBenchmarks/CMakeLists.txt index dd96cb0d..99d358b8 100644 --- a/sw/spatzBenchmarks/CMakeLists.txt +++ b/sw/spatzBenchmarks/CMakeLists.txt @@ -105,7 +105,10 @@ add_spatz_test_oneParam(dp-faxpy dp-faxpy/main.c 256) add_spatz_test_oneParam(dp-faxpy dp-faxpy/main.c 1024) add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 128) +add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 384) add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 4096) +add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 8192) +add_spatz_test_oneParam(dp-fdotp dp-fdotp/main.c 16384) add_spatz_test_threeParam(dp-fconv2d dp-fconv2d/main.c 32 32 7) add_spatz_test_threeParam(dp-fconv2d dp-fconv2d/main.c 64 64 7)