Hello everyone, I am trying to install Open lane b...
# sky130
p
Hello everyone, I am trying to install Open lane but the make test command gives an error. I have already installed open_pdks and skywater-pdk separately. What should I do?
m
p
@User No.
m
@User Can you post your error?
p
@User yes..
openlane_error.PNG
m
@User Looks like there's a problem with your pdk installation. You said you installed
open_pdks
and
skywater-pdk
separately, but that is only part of what you need to to create
PDK_ROOT
. In the
Makefile
, you can see this line:
Copy code
pdk: skywater-pdk skywater-library open_pdks build-pdk gen-sources
If you've already done
make skywater-pdk
and
make open_pdks
, you might be able to get by with
Copy code
make skywater-library
make build-pdk
make gen-sources
but I'd recommend just rebuilding the pdk from scratch to be safe. If you don't want the pdk to be in
/home/pranav/OpenLane/pdks
, you can
Copy code
export PDK_ROOT=<some_directory>
before
make pdk
.
p
@User Thanks for the solution. I rebuilt the pdk but now there is an another error...
m
See the
FileNotFoundError
? If that file is not there, then there may have been a problem building the pdk. Did
make pdk
give you any error messages?
p
No make pdk ran correctly without any error
m
Can you see the
/home/pranav/OpenLane/pdks/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd.tlef
file?
p
No πŸ˜…. I will rebuild the pdk I guess it was not downloaded properly.
@User Hello!! I ran the docker container to check the spm design but got an error. It say "-slew_margin is not a known keyword or flag" and the slew margin can be seen in or_resizer.tcl file.
m
Hi @User, searching on
slew_margin
, I found this
Does that thread help?
p
I ran the command make test to first check the design and it gave no errors
This error popped up when I was in the docker container
Should I again install openlane and run the following make commands? @User
m
You might try the following, but I'm just repeating what other people have said.
Copy code
cd OpenLane/
git fetch
git checkout tags/2021.10.25_20.35.00
make openlane
make pdk
make test
πŸ‘ 1
p
Okay will try this.
@User Tried running above command it gave an error..
m
Since you've made changes to some files, it won't overwrite them automatically. You can try this
Copy code
git checkout -b local_changes
git commit -a -m "local changes"
git checkout tags/2021.10.25_20.35.00
make openlane
make pdk
make test
p
Got the issue solved. Just edited the.tcl file in scripts πŸ˜…
Okay πŸ‘
@User Thank you.. Got everything running properly πŸ˜€πŸ˜Š.
πŸ‘ 1