From cf364bb5e0d32a5338cd92eb0e5d3f70a0dc408d Mon Sep 17 00:00:00 2001 From: Hanchen Ye Date: Mon, 7 Dec 2020 00:12:27 -0600 Subject: [PATCH] [Readme] update ablation study part --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3bc7c46..5184ca7 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,10 @@ $ $ scalehls-opt -qor-estimation test/Analysis/QoREstimation/test_for.mlir ``` -### 4. Ablation test -If Vivado HLS (2019.1 tested) is installed on your machine, running the following script will report the HLS results for some benchmarks (around 2 hours on AMD Ryzen7 3800X for all 16 tests). "-n" determines the number of tests to be processed, the maximum supported value of which is 16. "-c" determines whether to run Vivado HLS C synthesis. "-r" determines whether to run report generation. The generated C++ source code will be written to $SCALEHLS_DIR/sample/cpp_src; the Vivado HLS project will be established in $SCALEHLS_DIR/sample/hls_proj; the generated report will be written to $SCALEHLS_DIR/sample/test_results. +### 4. Ablation study +If Vivado HLS (2019.1 tested) is installed on your machine, running the following script will report the HLS results for some benchmarks (around 2 hours on AMD Ryzen7 3800X for all 16 tests). + +For the `ablation_test_run.sh` script, `-n` determines the number of tests to be processed, the maximum supported value of which is 16; `-c` determines whether to run Vivado HLS C synthesis; `-r` determines whether to run report generation. The generated C++ source code will be written to `sample/cpp_src`; the Vivado HLS project will be established in `sample/hls_proj`; the generated report will be written to `sample/test_results`. ```sh $ cd $SCALEHLS_DIR/sample $ ./ablation_test_run.sh -n 16 -c true -r true