File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # deltaDebug.py integration smoke-test, run from ORFS/flow folder.
4+ #
5+ # Exit with error if anything is amiss, including evaluation of
6+ # variable names such as $(false), unused variables, etc.
7+ set -ue -o pipefail
8+
9+ testname=uart
10+
11+ make DESIGN_CONFIG=designs/asap7/$testname /config.mk place
12+ make DESIGN_CONFIG=designs/asap7/$testname /config.mk global_place_issue
13+ latest_file=$( ls -t global_place_${testname} _asap7_base* .tar.gz | head -n1)
14+ echo " Testing $latest_file "
15+ . ../env.sh
16+ rm -rf results/delta-debug/
17+ mkdir -p results/delta-debug/
18+ cd results/delta-debug/
19+ tar --strip-components=1 -xzf ../../$latest_file
20+ sed -i ' s/openroad -no_init/openroad -exit -no_init/g' run-me-$testname -asap7-base.sh
21+ openroad -exit -python ../../../tools/OpenROAD/etc/deltaDebug.py --persistence 3 --use_stdout --error_string " Iter: 100 " --base_db_path results/asap7/$testname /base/3_2_place_iop.odb --step ./run-me-$testname -asap7-base.sh --multiplier 2
You can’t perform that action at this time.
0 commit comments