diff --git a/tools/profiler/get-profile-counts-info.sh b/tools/profiler/get-profile-counts-info.sh index b87eee296..16057e8bc 100644 --- a/tools/profiler/get-profile-counts-info.sh +++ b/tools/profiler/get-profile-counts-info.sh @@ -46,13 +46,15 @@ fi mkdir -p ${TMP_DIR} ${LOGS_DIR} rm -f ${TMP_DIR}/* ${LOGS_DIR}/* # remove data from last run +CALYX_ARGS=" -p static-inline -p compile-static -p compile-repeat -p par-to-seq -x par-to-seq:always-sequentialize -p no-opt" + # Run TDCC to get the FSM info echo "[${SCRIPT_NAME}] Obtaining FSM info from TDCC" ( cd ${CALYX_DIR} set -o xtrace - cargo run -- ${INPUT_FILE} -p compile-repeat -p par-to-seq -x par-to-seq:always-sequentialize -p no-opt -x tdcc:dump-fsm-json="${FSM_JSON}" # -p par-to-seq + cargo run -- ${INPUT_FILE} ${CALYX_ARGS} -x tdcc:dump-fsm-json="${FSM_JSON}" # -p par-to-seq set +o xtrace ) &> ${LOGS_DIR}/gol-tdcc @@ -78,7 +80,7 @@ fi echo "[${SCRIPT_NAME}] Obtaining VCD file via simulation" ( set -o xtrace - fud2 ${INPUT_FILE} -o ${VCD_FILE} --through verilator -s calyx.args='-p compile-repeat -p par-to-seq -x par-to-seq:always-sequentialize -p no-opt' -s sim.data=${SIM_DATA_JSON} # -p par-to-seq + fud2 ${INPUT_FILE} -o ${VCD_FILE} --through verilator -s calyx.args='${CALYX_ARGS}' -s sim.data=${SIM_DATA_JSON} # -p par-to-seq set +o xtrace ) &> ${LOGS_DIR}/gol-vcd