gitignore added

This commit is contained in:
SadhviNarayanan 2025-05-04 15:57:02 -07:00
parent 92dccfc20a
commit 534a467ff3
2 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View file

@ -82,6 +82,7 @@ synthDC/Summary.csv
# Benchmarks # Benchmarks
benchmarks/embench/wally*.json benchmarks/embench/wally*.json
benchmarks/embench/actual_embench_results/wally*.json
benchmarks/embench/run* benchmarks/embench/run*
benchmarks/coremark/coremark_results.csv benchmarks/coremark/coremark_results.csv

View file

@ -60,16 +60,20 @@ sim_build_memfile: objdump
spike: buildspeed spike_run speed spike: buildspeed spike_run speed
# command to run spike on all of the benchmarks # command to run spike on all of the benchmarks
spike_run: spike_run:
find $(embench_dir)/bd_*opt_speed/ -type f -name "*.elf" | while read f; do spike --isa=rv32imac +signature=$$f.spike.output +signature-granularity=4 $$f; done find $(embench_dir)/bd_*opt_speed/ -type f -name "*.elf" | while read f; do spike --isa=rv32imac +signature=$$f.spike.output +signature-granularity=4 $$f; done
# creates the directory to store the results of the embench tests
actual_embench_results:
mkdir -p actual_embench_results
# python wrapper to present results of embench size benchmark # python wrapper to present results of embench size benchmark
size: buildsize size: actual_embench_results buildsize
$(embench_dir)/benchmark_size.py --builddir=bd_speedopt_size --json-output > actual_embench_results/wallySpeedOpt_size.json $(embench_dir)/benchmark_size.py --builddir=bd_speedopt_size --json-output > actual_embench_results/wallySpeedOpt_size.json
$(embench_dir)/benchmark_size.py --builddir=bd_sizeopt_size --json-output > actual_embench_results/wallySizeOpt_size.json $(embench_dir)/benchmark_size.py --builddir=bd_sizeopt_size --json-output > actual_embench_results/wallySizeOpt_size.json
# python wrapper to present results of embench speed benchmark # python wrapper to present results of embench speed benchmark
speed: speed: actual_embench_results
$(embench_dir)/benchmark_speed.py --builddir=bd_sizeopt_speed --target-module run_wally --cpu-mhz=1 --json-output > actual_embench_results/wallySizeOpt_speed.json $(embench_dir)/benchmark_speed.py --builddir=bd_sizeopt_speed --target-module run_wally --cpu-mhz=1 --json-output > actual_embench_results/wallySizeOpt_speed.json
$(embench_dir)/benchmark_speed.py --builddir=bd_speedopt_speed --target-module run_wally --cpu-mhz=1 --json-output > actual_embench_results/wallySpeedOpt_speed.json $(embench_dir)/benchmark_speed.py --builddir=bd_speedopt_speed --target-module run_wally --cpu-mhz=1 --json-output > actual_embench_results/wallySpeedOpt_speed.json