From 10f1708226d6dd6f27f05eb79315773030cc4aac Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Fri, 12 Mar 2021 23:35:32 +0000 Subject: [PATCH] Finish adding support for NORETIMING strategy --- .../cl_firesim/build/scripts/create_dcp_from_cl.tcl | 4 ++++ .../shell_v04261818/build/scripts/aws_build_dcp_from_cl.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hdk/cl/developer_designs/cl_firesim/build/scripts/create_dcp_from_cl.tcl b/hdk/cl/developer_designs/cl_firesim/build/scripts/create_dcp_from_cl.tcl index 89045059..1cea9628 100644 --- a/hdk/cl/developer_designs/cl_firesim/build/scripts/create_dcp_from_cl.tcl +++ b/hdk/cl/developer_designs/cl_firesim/build/scripts/create_dcp_from_cl.tcl @@ -175,6 +175,10 @@ switch $strategy { puts "EXPLORE strategy." source $HDK_SHELL_DIR/build/scripts/strategy_EXPLORE.tcl } + "NORETIMING" { + puts "NORETIMING strategy." + source $HDK_SHELL_DIR/build/scripts/strategy_NORETIMING.tcl + } "TIMING" { puts "TIMING strategy." source $HDK_SHELL_DIR/build/scripts/strategy_TIMING.tcl diff --git a/hdk/common/shell_v04261818/build/scripts/aws_build_dcp_from_cl.sh b/hdk/common/shell_v04261818/build/scripts/aws_build_dcp_from_cl.sh index 4a1613d8..75104d5c 100755 --- a/hdk/common/shell_v04261818/build/scripts/aws_build_dcp_from_cl.sh +++ b/hdk/common/shell_v04261818/build/scripts/aws_build_dcp_from_cl.sh @@ -18,7 +18,7 @@ # Usage help function usage { - echo "usage: aws_build_dcp_from_cl.sh [ [-script ] | [-strategy BASIC | DEFAULT | EXPLORE | TIMING | CONGESTION] [-clock_recipe_a A0 | A1 | A2] [-clock_recipe_b B0 | B1 | B2 | B3 | B4 | B5] [-clock_recipe_c C0 | C1 | C2 | C3] [-uram_option 2 | 3 | 4] [-vdefine macro1,macro2,macro3,.....,macrox] -foreground] [-notify] | [-h] | [-H] | [-help] ]" + echo "usage: aws_build_dcp_from_cl.sh [ [-script ] | [-strategy BASIC | DEFAULT | EXPLORE | TIMING | NORETIMING | CONGESTION] [-clock_recipe_a A0 | A1 | A2] [-clock_recipe_b B0 | B1 | B2 | B3 | B4 | B5] [-clock_recipe_c C0 | C1 | C2 | C3] [-uram_option 2 | 3 | 4] [-vdefine macro1,macro2,macro3,.....,macrox] -foreground] [-notify] | [-h] | [-H] | [-help] ]" echo " " echo "By default the build is run in the background using nohup so that the" echo "process will not be terminated if the terminal window is closed." @@ -117,7 +117,7 @@ fi # Check that strategy is valid shopt -s extglob -if [[ $strategy != @(BASIC|DEFAULT|EXPLORE|TIMING|CONGESTION) ]]; then +if [[ $strategy != @(BASIC|DEFAULT|EXPLORE|TIMING|CONGESTION|NORETIMING) ]]; then err_msg "$strategy isn't a valid strategy. Valid strategies are BASIC, DEFAULT, EXPLORE, TIMING and CONGESTION." exit 1 fi