From 16fdc65e5307addbdc0979ee9b725a2c6de008d2 Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Thu, 21 Mar 2024 13:23:10 -0700 Subject: [PATCH] Add cluster-specific Verilog preproc flags to radiance.mk --- radiance.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/radiance.mk b/radiance.mk index 0f0e29a..48dd596 100644 --- a/radiance.mk +++ b/radiance.mk @@ -19,7 +19,13 @@ EXTRA_SIM_PREPROC_DEFINES += \ +define+DBG_TRACE_CORE_PIPELINE_VCS \ +define+PERF_ENABLE \ +define+ICACHE_DISABLE +define+DCACHE_DISABLE \ - +define+NUM_THREADS=8 +define+NUM_WARPS=8 + +define+GBAR_ENABLE \ + +define+GBAR_CLUSTER_ENABLE \ + +define+NUM_BARRIERS=8 \ + +define+NUM_CORES=2 +define+NUM_THREADS=8 +define+NUM_WARPS=8 + # Can't increase this to above 14, since the binary accesses 0xff0040.. + # which is unmapped to any memory + # +define+SMEM_LOG_SIZE=14 \ # cargo handles building of Rust files all on its own, so make this a PHONY # target to run cargo unconditionally