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 thanks