Akira Tsuchiya
03/26/2023, 6:14 AMMitch Bailey
03/26/2023, 3:34 PMOPENLANE_ROOT
and PDK_ROOT
were sub-directories of caravel_user_project
. Can you try this?
% mkdir openlane_test
% cd openlane_test
% mkdir dependencies
% export OPENLANE_ROOT=$PWD/dependencies/openlane_src
% export PDK_ROOT=$PWD/dependencies/pdks
% export PDK=sky130B
% git clone <https://github.com/fabless/caravel_user_project> -b mpw-9a
% cd caravel_user_project
% make setup
Arman Avetisyan
03/26/2023, 8:03 PMAkira Tsuchiya
03/27/2023, 2:46 AMMitch Bailey
03/27/2023, 4:56 AMcaravel_user_project
directory, the Makefile targets are setup to be run outside of docker and call docker, as needed.
If you want to run Openlane directly, you could try make mount
in the openlane directory and then cd
to the design directory (you might need to add mount points), and then run flow.tcl
(the openlane script).Manuel M
03/27/2023, 6:56 AMOpenLane
is installed local without using Docker
. Presumably the executed makefile tries to install a docker-based OL environment parallel to the available environment, and/or it wants to touch files in the /foss/tools path (no root permission by default, therefore it fails).
Anyways.. after cloning, can you try cd'ing to <cloning-path>/caravel_user_project/openlane
and execute flow.tcl -design user_project_example -tag foo -overwrite
? I just tried that and the flow finishesAkira Tsuchiya
03/27/2023, 10:58 PMmake user_proj_example
and running flow.tcl
has slipped my head… Many thanksAmirhossein zanjani
11/08/2023, 10:34 AMAmirhossein zanjani
11/08/2023, 11:14 AMMitch Bailey
11/08/2023, 1:16 PMIIC-OSIC-TOOLS
? If not and you’re using *nix, this should work.
git clone -b <tag> <https://github.com/efabless/caravel_user_project> --depth=1
cd caravel_user_project
make setup
where <tag>
is gfmpw-1c
for gf180 or mpw-9f
for sky130.
You might want to check your environment variables. These will override the Makefile
defaults and may cause problems. Try `unset`ing and see if it makes a difference.
env | grep ROOT
env | grep COMMIT
env | grep TAG
Amirhossein zanjani
11/08/2023, 4:36 PMAmirhossein zanjani
11/08/2023, 4:41 PMMitch Bailey
11/08/2023, 5:53 PMsudo
and installed as root
. Are you installing for multiple users or just yourself?Amirhossein zanjani
11/08/2023, 6:11 PMMitch Bailey
11/08/2023, 6:51 PMOPENLANE_ROOT
and PDK_ROOT
directories and reinstalling in a place where you don’t need root permission.