I just started using caravel flow in openlane, by ...
# general
c
I just started using caravel flow in openlane, by running user_proj_example I am getting this error. Can anybody help
d
Not sure I can help you but I guess you have to show the entire error, maybe at the beginning of it is the key information
n
Can you show me the entire error? You are sure Have you completed $make setup, installed openlane and exported OPENLANE_ROOT, PDK_ROOT, PDK variables before running user_proj_example?
k
you shouldn't need to export OPENLANE_ROOT, PDK_ROOT & PDK variables i know the docs say to do that, but i think they're out of date and its all handled by the make file now
c
PDK_ROOT and OPENLANE_ROOT i exported, setup and all is done
k
can you clear PDK_ROOT and OPENLANE_ROOT?
c
It is error
k
oh strange, im not sure what the fix for that is, sorry
n
@Kristaps Jurkans I think it is necessary to set environment variables before running (OPENLANE_ROOT, PDK_ROOT, PDK). Tool does not support this update. So you have to update it manually. Otherwise it will fail and require manual updating
@Chinmay Hegde According to you provided, I realize you are having an error in STEP 25 (detail routing). Can you show me your 25-detail.log file?
k
if you look in here https://github.com/efabless/caravel_user_project/blob/main/Makefile lines 18-39, the variables are set by the makefile itself on my machine, i do not have the environment variables set yet i'm able to run
make user_proj_example
with no issue:
Copy code
kris@kris-desktop:~/repos/diy-ic/lincoln-gfmpw-1d$ echo $PDK

kris@kris-desktop:~/repos/diy-ic/lincoln-gfmpw-1d$ echo $PDK_ROOT

kris@kris-desktop:~/repos/diy-ic/lincoln-gfmpw-1d$ echo $OPENLANE_ROOT

kris@kris-desktop:~/repos/diy-ic/lincoln-gfmpw-1d$
n
Yes. If you place folders according to the above rules, it absolutely happens.
c
I have attached the file as well as error log
@Nam Nguyễn Hồ Giang How to declare 'PDK' variable and CARAVEL_ROOT