https://open-source-silicon.dev logo
#general
Title
# general
j

Junaid amjad

02/08/2022, 11:56 AM
Copy code
export PDK_ROOT=<pdk-installation-path>
In above command what is this path? like which path I can use here to make it work correctly
v

Vijayan Krishnan

02/08/2022, 12:03 PM
PDK_ROOT is a path which contains open_pdks, sky130A and skywater-pdk. If you're using OpenLane flow, path is OpenLane/pdks. Else create your own custom path and point to PDK_ROOT
a

Adam RIchardson

02/08/2022, 12:08 PM
If you're running
make pdk
then it can be wherever you want the pdk to be build (I set the path to be
/tmp/pdk
. If you've already built and are running another command then it should be the path to the built pdks
j

Junaid amjad

02/08/2022, 12:29 PM
I'm running caravel flow example and I getting this error at make verify-io_ports comand @User @User Kindly guide where I'm doing misktake
v

Vijayan Krishnan

02/08/2022, 1:01 PM
check Makefile line:38
have you set CARAVEL_ROOT?
j

Junaid amjad

02/08/2022, 1:13 PM
I'm following the instructions through caravel user project for sample project and I'm doing all steps but at this comand I'm getting error
CARAVEL_ROOT I did not set manually
Do I have to set it? Like it's not taken care through make install comand?
v

Vijayan Krishnan

02/08/2022, 1:14 PM
if not set, do with
Copy code
export CARAVEL_ROOT= <path to caravel dir>
j

Junaid amjad

02/08/2022, 1:18 PM
I have set but still not working
I have studies and I'm following same steps
a

Adam RIchardson

02/08/2022, 1:30 PM
You shouldn't need to run any of the commands as root but that's probably not the issue.
rm -rf $PDK_ROOT
and
make clean
to try to reset everything and then try
make pdk
again