From e7fe97d83cec405364182368cbd88feafd23a307 Mon Sep 17 00:00:00 2001 From: manarabdelaty Date: Apr 22 2021 00:19:32 +0000 Subject: Merge branch 'main' of https://github.com/efabless/caravel_project_example into main --- diff --git a/.github/scripts/precheck/run-precheck.sh b/.github/scripts/precheck/run-precheck.sh index ee31f7c..b248a79 100644 --- a/.github/scripts/precheck/run-precheck.sh +++ b/.github/scripts/precheck/run-precheck.sh @@ -19,7 +19,7 @@ cd .. export PDK_ROOT=$(pwd)/precheck_pdks cd $TARGET_PATH/open_mpw_precheck/ -docker run -v $(pwd):/usr/local/bin -v $TARGET_PATH:$TARGET_PATH -v $PDK_ROOT:$PDK_ROOT -v $CARAVEL_ROOT:$CARAVEL_ROOT -u $(id -u $USER):$(id -g $USER) efabless/open_mpw_precheck:latest bash -c "python3 open_mpw_prechecker.py --skip_drc -p $PDK_ROOT -t $TARGET_PATH -c $CARAVEL_ROOT -ms develop" +docker run -v $(pwd):/usr/local/bin -v $TARGET_PATH:$TARGET_PATH -v $PDK_ROOT:$PDK_ROOT -v $CARAVEL_ROOT:$CARAVEL_ROOT -u $(id -u $USER):$(id -g $USER) efabless/open_mpw_precheck:latest bash -c "python3 open_mpw_prechecker.py --skip_drc -p $PDK_ROOT -t $TARGET_PATH -c $CARAVEL_ROOT" output=$TARGET_PATH/checks/full_log.log gzipped_file=$TARGET_PATH/checks/full_log.log.gz @@ -33,4 +33,4 @@ grep "Violation Message" $output cnt=$(grep -c "All Checks PASSED!" $output) if ! [[ $cnt ]]; then cnt=0; fi if [[ $cnt -eq 1 ]]; then exit 0; fi -exit 2 \ No newline at end of file +exit 2 diff --git a/docs/source/README.md b/docs/source/README.md index 9bbac4a..c08b72d 100644 --- a/docs/source/README.md +++ b/docs/source/README.md @@ -147,7 +147,7 @@ Then, you will need to install openlane by ```bash export OPENLANE_ROOT= -export OPENLANE_TAG=v0.12 +export OPENLANE_TAG=mpw-two-a make openlane ``` @@ -170,6 +170,7 @@ For this sample project, we went for the first option where the user macro is ha To reproduce hardening this project, run the following: ```bash +# export tag to v0.12 because currently mpw-two-a tag doesn't have a docker image. export OPENLANE_TAG=v0.12 # Run openlane to harden user_proj_example make user_proj_example