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

João Vitor Testi Ferreira

09/03/2021, 11:06 AM
I've received some messages asking how to set to work the EDA tools, including schematics, layout and simulator. There are several tutorials for each of these tools, but I documented how I installed and configured them in this link: https://ordinary-cough-d7f.notion.site/Installing-Skywater-a2c1dac4ec21430eb25e4116724a94d4 Note 1: I installed the tools in a Ubuntu 21.04. Note 2: Some other people using other linux distros also contributed for this tutorial. Note 3: This tutorial is far from being perfect, but maybe it can help you in some of the steps of the installation. There are some links to other tutorials at the end of the page.
💯 3
t

Tim Edwards

09/03/2021, 4:17 PM
Very nice. What version of ngspice do you get when installing from the package manager?
j

João Vitor Testi Ferreira

09/03/2021, 4:20 PM
When using apt I get ngspice release 34
t

Tim Edwards

09/03/2021, 4:21 PM
Also, please be advised that the installation instructions for open_pdks changed, because Tim Ansell (Google) wanted to make it more compatible with package management systems. The
--with-sky130-local-path
option is no longer valid, and
--prefix
should be used instead, or don't use the option and take the default install location, which is now
/usr/local/share/pdk/sky130A
(to get the previous behavior, use
--prefix=/usr
and the installation will go into
/usr/share/pdk/sky130A
). You have
-with-efstyle
, which is an error (needs a double-dash), but I do not recommend using this option for local installations of open_pdks (it is designed for use on the efabless platform).
j

João Vitor Testi Ferreira

09/03/2021, 4:22 PM
Thank you, Mr. Edwards, I just updated this part in the link.
t

Tim Edwards

09/03/2021, 4:25 PM
I would not recommend installing all of the standard cell libraries as part of the skywater-pdk "make" process. Each one of them takes several gigabytes of disk space and adds to the make/install time. Usually I just recommend getting the
sky130_fd_sc_hd
library, which is the most commonly used, and
sky130_fd_sc_hvl
because it's the only 3.3V-5V compatible logic library, and let people decide on a per-case basis if they really need the high speed, low power, etc., libraries. It is probably worth warning the reader that the complete skywater-pdk installation with all libraries is around 12GB in size!
The patch file for
sky130_fd_pr
in xschem should already be taken care of by open_pdks. I always run xschem by (1) making a directory in my project called "xschem", (2) copying
libs.tech/xschem/xschemrc
from the open_pdks install to the xschem/ directory, and (3) copying
libs.tech/ngspice/spinit
to the xschem/ directory and renaming it to
.spiceinit
. Then xschem can be run from the xschem/ directory without issues.
The script run by the
-rcfile <path>
option to magic loads the technology file automatically, so the
-T <path>
option is not needed, and is in fact ignored.
j

João Vitor Testi Ferreira

09/03/2021, 4:36 PM
@Tim Edwards Thank you very much for the feedback. I'll update the file accordingly.