with mpw-5 tag of caravel_user_project, make openl...
# shuttle
m
with mpw-5 tag of caravel_user_project, make openlane fails with fetching https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm it should be packages.endpointdev.com ? Anyone else hitting this?
j
I have some experiences like this in unrelated projects where a cached layer is being used. You might want to force rebuilding from scratch
Copy code
docker build --no-cache
m
Thanks John. as the docker build is buried in makefiles, is there a way I can tell docker to not build from cache as a system config?
or do I have to find where docker is being called and edit a makefile?
j
I am not sure, but I think you can deduce it from the error (IMAGE_NAME=blabla)
I’ll be setting up myself in a bit if you have not solved it then I will check it for you
m
thanks, I just tried but running the docker command from the makefile fails with errors I don't understand
let me know if you manage it
j
you might post it here and I might be able to help
(the error I mean)
m
just closed the window and I've got to get on with other stuff now -sorry
j
no problem, I’ll let you know the full command later - or anything else I find
h
I just now started to try the latest OpenLane with mpw-5, stay tuned…
m
That's what I just did
h
works?
m
No
h
I have started
make user_proj_example
, so far so good 🙂
j
can confirm the issue
make openlane errors out. brb with a fix
m
what tag @User?
h
@User currently testing this, so far so good:
Copy code
export CARAVEL_USER_PROJECT_COMMIT=mpw-5
export CARAVEL_COMMIT=mpw-5
export OPEN_PDKS_COMMIT=476f7428f7f686de51a5164c702629a9b9f2da46
export OPENLANE_TAG=2022.02.01_02.19.58
Passes build of
user_proj_example
, fails on
user_project_wrapper
with
couldn't read file "/home/harald/caravel_env_new/caravel_user_project/caravel/openlane/user_project_wrapper_empty/fixed_wrapper_cfgs.tcl": no such file or directory
j
I think that bug is known and has a solution
but it’s in one of the other channels
or above
@User I think that this commit is a no-go. The Dockerfile indeed refers the wrong URL and is hardcoded. It also cannot be modified in the file as it won’t accept a non-empty folder as it’s OPENLANE_ROOT
👍 1
but it might be possible to use the latest Openlane (though that is not signed off on) for now with Harald’s config
m
we'll wait for efabless to give us some working tags
@User @User
a
Keep in mind, there is long list of known bugs in upstream openlane, that may or may not affect you.
Most of these bugs arent in v0.23
d
v0.23 is horribly out of date, please don't mix and match caravel components. we'll patch the endpoint issue
h
So I hacked my way through, so that
make user_proj_example
and
make user_project_wrapper
run. First, I use this to build everything:
Copy code
export CARAVEL_LITE=0
export CARAVEL_USER_PROJECT_COMMIT=mpw-5
export CARAVEL_COMMIT=mpw-5
export OPEN_PDKS_COMMIT=476f7428f7f686de51a5164c702629a9b9f2da46
export OPENLANE_TAG=2022.02.01_02.19.58
Then, I change this
Copy code
diff --git a/openlane/user_project_wrapper/config.json b/openlane/user_project_wrapper/config.json
index d83d5bb..4c93cf8 100644
--- a/openlane/user_project_wrapper/config.json
+++ b/openlane/user_project_wrapper/config.json
@@ -36,7 +36,7 @@
     "FP_PDN_VPITCH"                   : "180",
     "FP_PDN_VSPACING"                 : "15.5",
     "FP_PDN_VWIDTH"                   : "3.1",
-    "FP_PIN_ORDER_CFG"                : "../../caravel/openlane/user_project_wrapper_empty/pin_order.cfg",
+    "FP_PIN_ORDER_CFG"                : "../../caravel/openlane/user_project_wrapper/pin_order.cfg",
     "FP_SIZING"                       : "absolute",
     "GLB_RT_MAXLAYER"                 : "5",
     "GND_NETS"                        : "vssd1 vssd2 vssa1 vssa2",
and this
Copy code
diff --git a/openlane/user_project_wrapper/config.tcl b/openlane/user_project_wrapper/config.tcl
index 5006ced..c5c85a7 100755
--- a/openlane/user_project_wrapper/config.tcl
+++ b/openlane/user_project_wrapper/config.tcl
@@ -20,10 +20,10 @@ set ::env(PDK) "sky130A"
 set ::env(STD_CELL_LIBRARY) "sky130_fd_sc_hd"
 
 # YOU ARE NOT ALLOWED TO CHANGE ANY VARIABLES DEFINED IN THE FIXED WRAPPER CFGS 
-source $::env(CARAVEL_ROOT)/openlane/user_project_wrapper_empty/fixed_wrapper_cfgs.tcl
+source $::env(CARAVEL_ROOT)/openlane/user_project_wrapper/fixed_wrapper_cfgs.tcl
 
 # YOU CAN CHANGE ANY VARIABLES DEFINED IN THE DEFAULT WRAPPER CFGS BY OVERRIDING THEM IN THIS CONFIG.TCL
-source $::env(CARAVEL_ROOT)/openlane/user_project_wrapper_empty/default_wrapper_cfgs.tcl
+source $::env(CARAVEL_ROOT)/openlane/user_project_wrapper/default_wrapper_cfgs.tcl
 
 set script_dir [file dirname [file normalize [info script]]]
d
Harald, please do not change the OpenLane version. Traceability is already something of a nightmare. I've submitted a very quick one-line fix in the other thread.
h
and this
Copy code
diff --git a/openlane/user_project_wrapper/pin_order.cfg b/openlane/user_project_wrapper/pin_order.cfg
index 8797dcd..d546231 120000
--- a/openlane/user_project_wrapper/pin_order.cfg
+++ b/openlane/user_project_wrapper/pin_order.cfg
@@ -1 +1 @@
-../../../caravel/openlane/user_project_wrapper_empty/pin_order.cfg
\ No newline at end of file
+../../caravel/openlane/user_project_wrapper/pin_order.cfg
\ No newline at end of file
@User OK, I’ll switch back and use
make pull-openlane
So what is the correct OpenLane tag now to use?
d
Do not change the OPENLANE_TAG specified by caravel.