Skip to content

Instantly share code, notes, and snippets.

@britovski
Forked from mattvenn/build.sh
Created June 17, 2021 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save britovski/fcd9de88b38ad60e517b0a6521029f1f to your computer and use it in GitHub Desktop.
Save britovski/fcd9de88b38ad60e517b0a6521029f1f to your computer and use it in GitHub Desktop.
caravel_user_project installation
magic_version=$(magic --version)
if [ $magic_version != 8.3.160 ]; then
echo "magic version too old. either update it or make the pdk with make pdk-nonnative"
exit
fi
git clone git@github.com:efabless/caravel_user_project.git
export PDK_ROOT=$(pwd)/pdk
export OPENLANE_ROOT=$(pwd)/openlane
export OPENLANE_TAG=v0.15
cd caravel_user_project
git checkout mpw-two-c
export CARAVEL_ROOT=$(pwd)/caravel
make install # install caravel
make pdk # build pdk
make openlane # build openlane
make user_proj_example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment