Martin Schoeberl
02/15/2022, 12:00 PMFetching submodule libraries/sky130_fd_io/latest
Could not access submodule 'third_party/make-env'
Sorry if this a well known issue, but I could not find any help (yet).Matt Venn
02/15/2022, 12:13 PMMartin Schoeberl
02/15/2022, 12:32 PMthird_party/make-env
which I do not understand as it is there.Matt Venn
02/15/2022, 12:33 PMMatt Venn
02/15/2022, 12:33 PMMartin Schoeberl
02/15/2022, 12:39 PMMatt Venn
02/15/2022, 12:45 PMMatt Venn
02/15/2022, 12:45 PMMartin Schoeberl
02/15/2022, 12:46 PMmake[3]: Leaving directory '/home/martin/os-chip-design/caravel_test_project/pdks/open_pdks/sky130'
make[2]: * [Makefile586 all-a] Error 2
make[2]: Leaving directory ‘/home/martin/os-chip-design/caravel_test_project/pdks/open_pdks/sky130’
make[1]: * [/home/martin/os-chip-design/caravel_test_project/caravel/Makefile1256 build-pdk] Error 2
make[1]: Leaving directory ‘/home/martin/os-chip-design/caravel_test_project’
make: * [Makefile38 pdk] Error 2Matt Venn
02/15/2022, 1:16 PMMatt Venn
02/15/2022, 1:17 PMMartin Schoeberl
02/15/2022, 1:17 PMMatt Venn
02/15/2022, 1:48 PMMatt Venn
02/15/2022, 1:48 PMMatt Venn
02/15/2022, 1:49 PMMitch Bailey
02/15/2022, 1:58 PMMartin Schoeberl
02/15/2022, 2:48 PMMartin Schoeberl
02/15/2022, 3:18 PMMitch Bailey
02/15/2022, 3:53 PMMartin Schoeberl
02/15/2022, 3:56 PMMatt Venn
02/15/2022, 3:57 PMMatt Venn
02/15/2022, 3:57 PMMatt Venn
02/15/2022, 3:58 PMMatt Venn
02/15/2022, 3:59 PMMatt Venn
02/15/2022, 3:59 PMMartin Schoeberl
02/15/2022, 4:00 PMMartin Schoeberl
02/15/2022, 4:53 PMMatt Venn
02/15/2022, 4:54 PMMatt Venn
02/15/2022, 4:54 PMMartin Schoeberl
02/15/2022, 4:54 PMMartin Schoeberl
02/15/2022, 5:07 PMMartin Schoeberl
02/15/2022, 5:22 PMmake user_proj_example
make enters openlane and does the make user…. However, then it is missing sh: flow.tcl: command not found
Am I missing here a configuration step to generate flow.tcl?Mitch Bailey
02/15/2022, 5:43 PMflow.tcl
is part of openlane. Did you do make openlane
?
# Install openlane for hardening your project
# make sure to change <directory_name> with the directory you created in step 1
# in this case it is caravel_tutorial
export OPENLANE_ROOT=~/<directory_name>/openlane # you need to export this whenever you start a new shell
make openlane
Mitch Bailey
02/15/2022, 5:49 PMOPENLANE_ROOT
is set.Martin Schoeberl
02/16/2022, 11:10 AMmake openlane
it complains that openlane already exists: fatal: destination path '/home/martin/os-chip-design/caravel_test_project/openlane' already exists and is not an empty directory
I am getting a bit desperate 😒Mitch Bailey
02/16/2022, 12:40 PMexport OPENLANE_ROOT=/home/martin/os-chip-design/openlane
(or some other directory outside caravel_test_project
.
and then make openlane
I'd export PDK_ROOT=/home/martin/os-chip-design/pdk
before make pdk
also.
The openlane
directory in caravel_test_project
is something totally different.Martin Schoeberl
02/16/2022, 2:21 PMMitch Bailey
02/16/2022, 2:33 PMexport BASE_DIR=$PWD
Step 2 was
# Create a directory and call it anything you want
mkdir -p caravel_tutorial
# navigate into the directory
cd caravel_tutorial
Step 3
# Make sure that ``caravel_example`` matches the empty github repo name in step 1
git clone -b mpw-5a <https://github.com/efabless/caravel_user_project> caravel_example
cd caravel_example
So now you're in $BASE_DIR/caravel_tutorial/caravel_example
Step 4
# Install openlane for hardening your project
# make sure to change <directory_name> with the directory you created in step 1
# in this case it is caravel_tutorial
export OPENLANE_ROOT=~/<directory_name>/openlane # you need to export this whenever you start a new shell
make openlane
# Build the pdk
# make sure to change <directory_name> with the directory you created in step 1
# in this case it is caravel_tutorial
export PDK_ROOT=~/<directory_name>/pdks # you need to export this whenever you start a new shell
make pdk
Actually, it's the directory you created in Step 2 (i.e. in this case caravel_tutorial
)
So you would export OPENLANE_ROOT=$BASE_DIR/caravel_tutorial/openlane
You could set export PDK_ROOT=$BASE_DIR/cavarel_tutorial/pdks
And then in caravel_tutorial
you'd have these 3 directories
caravel_example
this is your local repo
openlane
this is the openlane program directory
pdks/sky130A
this is the pdk directory.Martin Schoeberl
02/16/2022, 2:47 PMMartin Schoeberl
02/16/2022, 5:27 PM