Skip to content

Instantly share code, notes, and snippets.

@mattvenn
Last active June 25, 2021 21:00
Show Gist options
  • Save mattvenn/c34ec7bbd08c14e211440d88a4f6f4a6 to your computer and use it in GitHub Desktop.
Save mattvenn/c34ec7bbd08c14e211440d88a4f6f4a6 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