https://open-source-silicon.dev logo
#sky130
Title
# sky130
p

Pranav Lulu

11/07/2021, 5:15 PM
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

Mitch Bailey

11/07/2021, 5:57 PM
p

Pranav Lulu

11/07/2021, 6:05 PM
@User No.
m

Mitch Bailey

11/07/2021, 6:12 PM
@User Can you post your error?
p

Pranav Lulu

11/08/2021, 4:59 AM
@User yes..
openlane_error.PNG
m

Mitch Bailey

11/08/2021, 6:22 AM
@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

Pranav Lulu

11/08/2021, 9:02 AM
@User Thanks for the solution. I rebuilt the pdk but now there is an another error...
m

Mitch Bailey

11/08/2021, 9:06 AM
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

Pranav Lulu

11/08/2021, 9:06 AM
No make pdk ran correctly without any error
m

Mitch Bailey

11/08/2021, 9:40 AM
Can you see the
/home/pranav/OpenLane/pdks/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd.tlef
file?
p

Pranav Lulu

11/08/2021, 11:23 AM
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

Mitch Bailey

12/06/2021, 9:42 AM
Hi @User, searching on
slew_margin
, I found this
Does that thread help?
p

Pranav Lulu

12/06/2021, 9:55 AM
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

Mitch Bailey

12/06/2021, 12:09 PM
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

Pranav Lulu

12/06/2021, 12:27 PM
Okay will try this.
@User Tried running above command it gave an error..
m

Mitch Bailey

12/06/2021, 2:24 PM
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

Pranav Lulu

12/06/2021, 2:24 PM
Got the issue solved. Just edited the.tcl file in scripts 😅
Okay 👍
@User Thank you.. Got everything running properly 😀😊.
👍 1
2 Views