Matthew Guthaus
11/10/2021, 5:51 PMmrg@diode ~/default (master)$ git clone <https://github.com/efabless/caravel_user_project.git>
Cloning into 'caravel_user_project'...
remote: Enumerating objects: 1214, done.
remote: Total 1214 (delta 0), reused 0 (delta 0), pack-reused 1214
Receiving objects: 100% (1214/1214), 46.93 MiB | 30.86 MiB/s, done.
Resolving deltas: 100% (592/592), done.
mrg@diode ~/default (master)$ export CARAVEL_ROOT=`pwd`
mrg@diode ~/default (master)$ export PDK_ROOT=`pwd`
mrg@diode ~/default (master)$ cd caravel_user_project/
mrg@diode ~/default/caravel_user_project (main)$ git checkout mpw-3
Note: switching to 'mpw-3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at fc583ec Auto updated submodule references
mrg@diode ~/default/caravel_user_project ((HEAD detached at mpw-3))$ make install
Installing caravel-lite as a submodule..
Submodule 'caravel-lite' (<https://github.com/efabless/caravel-lite>) registered for path 'caravel'
Cloning into '/home/mrg/default/caravel_user_project/caravel'...
Submodule path 'caravel': checked out '0f16ba8eaae841a6f122fc0d5837005d3312fd2b'
error: pathspec 'main' did not match any file(s) known to git
make: *** [Makefile:80: install] Error 1
Tim Edwards
11/10/2021, 6:17 PMMatthew Guthaus
11/10/2021, 6:17 PMMatthew Guthaus
11/10/2021, 6:19 PMTim Edwards
11/10/2021, 6:21 PMMatt Venn
11/10/2021, 6:23 PMMatthew Guthaus
11/10/2021, 6:23 PMmrg@diode ~/default (master)$ rm -rf caravel_user_project/
mrg@diode ~/default (master)$ git clone <https://github.com/efabless/caravel_user_project.git>
Cloning into 'caravel_user_project'...
remote: Enumerating objects: 1214, done.
remote: Total 1214 (delta 0), reused 0 (delta 0), pack-reused 1214
Receiving objects: 100% (1214/1214), 46.93 MiB | 29.52 MiB/s, done.
Resolving deltas: 100% (593/593), done.
mrg@diode ~/default (master)$ cd caravel_user_project/
mrg@diode ~/default/caravel_user_project (main)$ git checkout mpw-3
Note: switching to 'mpw-3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at fc583ec Auto updated submodule references
mrg@diode ~/default/caravel_user_project ((HEAD detached at mpw-3))$ make install
Installing caravel-lite as a submodule..
Submodule 'caravel-lite' (<https://github.com/efabless/caravel-lite>) registered for path 'caravel'
Cloning into '/home/mrg/default/caravel_user_project/caravel'...
Submodule path 'caravel': checked out '0f16ba8eaae841a6f122fc0d5837005d3312fd2b'
Previous HEAD position was 0f16ba8 Update openlane URL
Switched to branch 'main'
Your branch is up to date with 'origin/main'.
make simlink
make[1]: Entering directory '/home/mrg/default/caravel_user_project'
mkdir -p openlane
mkdir -p openlane/user_project_wrapper
cd openlane &&\
ln -sf ../caravel/openlane/Makefile Makefile
cd openlane/user_project_wrapper &&\
ln -sf ../../caravel/openlane/user_project_wrapper_empty/pin_order.cfg pin_order.cfg
make[1]: Leaving directory '/home/mrg/default/caravel_user_project'
^^ Starting completely freshMatthew Guthaus
11/10/2021, 6:23 PMMatthew Guthaus
11/10/2021, 6:23 PMMatthew Guthaus
11/10/2021, 6:24 PMMatt Venn
11/10/2021, 6:26 PMMatthew Guthaus
11/10/2021, 6:26 PMTim Edwards
11/10/2021, 6:27 PMMatthew Guthaus
11/10/2021, 6:28 PMTim Edwards
11/10/2021, 6:28 PMMatthew Guthaus
11/10/2021, 6:30 PMMatt Venn
11/10/2021, 6:31 PMTim Edwards
11/10/2021, 6:32 PMMatthew Guthaus
11/10/2021, 6:32 PMjeffdi
<absolute-path>/caravel_user_project/caravel
. You can also just run unset CARAVEL_ROOT
before you run make install
. Then CARAVEL_ROOT will default to the correct value.Matthew Guthaus
11/10/2021, 6:38 PMMatthew Guthaus
11/10/2021, 6:38 PMMatthew Guthaus
11/10/2021, 6:56 PMTim Edwards
11/10/2021, 7:08 PM