hello, I am following postivefb's installation gui...
# sky130
a
hello, I am following postivefb's installation guide and am not able to see the skywater pdk show up when i run xschem. I see the following: and when i run klayout, there is a step where I should be able to go to File, New Layout, and in the bottom left select the drop down to change to Sky130 and you should see the different devices you can drop in. I don't see a drop down menu to change to sky130. Here is the image:
d
Regarding the klayout issue, what options are you calling klayout with? I run it like so
Copy code
klayout -nn <path to pdk>/sky130A/libs.tech/klayout/tech/sky130A.lyt -l <path to pdk>/sky130A/libs.tech/klayout/tech/sky130A.lyp
a
I followed this guide: https://positivefb.com/skywater-130nm-installation/ it sounds like you're asking what was the path klayout is using to access the PDK? I did it as the guide says which I think might be correct (?) : -Tools, Manage Technologies, General, set base path to /openpdk/share/pdk/sky130A/libs.tech/klayout -Close and restart Klayout -File, New Layout, and in the bottom left select the drop down to change to Sky130 and you should see the different devices you can drop in. If all good, close klayout
l
Hi @asdf asdf, please follow the instructions in the repository: https://github.com/efabless/sky130_klayout_pdk To use the PCells, you need to install gdsfactory. If you use the KLayout derivation from our nix-flake (https://github.com/efabless/nix-eda), you can start KLayout as follows:
nix run github:efabless/nix-eda#klayout-gdsfactory
a
I did this following: 1. Option: Use KLayout's Salt package manager 2. In Klayout select
Tools
Manage Packages
. Inside the Salt package manager under "Install New Packages" search for "Efabless_sky130", click the checkmark and apply. and the drop down menu now includes the skywater 130nm. Regarding the xschem file, I believe I need to change something in the xschemrc or bashrc file so that xschem can access the pdk. It keeps on saying somethign is missing.
here is a section of the xschemrc file. do you think this needs to be modified? the $PDK_ROOT variable was set according to positive feedback's guide:
l
@asdf asdf great! Do the PCells work for you? As for xschem, you can take a look how our template works: https://github.com/efabless/sky130_ef_ip__template Inside the
xschem/
folder, there is an
xschemrc
that sets up a few things and loads the PDK's
xschemrc
. (Don't modify the PDK's xschemrc.) If you start xschem from inside the
xschem/
folder it will automatically source the local
xschemrc
and you should be able to see the devices.
a
I don't know what the PCells are but i think i might be able to. Here is what I am seeing: I'm not sure how to use this template. In the positive feedback installation guide, there is a step where you need to create a "workingdir" toward the end and you copy an xschemrc file into the schematic file within "workingdir". I tried changing the xschemrc file by deleting it and creating a new one where I copy and pasted the contents from xschem/xschemrc file in your github. However, after trying to run the xschem command, it says
message has been deleted
At the moment, I have the directory set up so that the template github file is in: /mnt/f/sky130repo/workingdir/sky130_xyz__xschem the path for xschemrc is this: /mnt/f/sky130repo/workingdir/sky130_xyz__xschem/xschem I try to run xschem in this directory and the above error shows up.
l
PCells are used to draw the devices of the PDK. If you click on "Instance" a window should open in the bottom left, there you can select a library and a cell and place it.
You should not copy the PDK's xschemrc into your project as described in the guide by positivefb. If the xschemrc in the PDK is updated to a newer version, your project would still use the old one. That's why the template I sent you only references the PDK's xschemrc from a local xschemrc file. How to use the template: -
git clone git@github.com:efabless/sky130_ef_ip__template.git
-
cd sky130_ef_ip__template/xschem
-
export PDK=sky130A && export PDK_ROOT=~/.volare/
(set
PDK_ROOT
to the directory of your PDK installation, I installed the PDK via volare) -
xschem
to open the PDK's default schematic or
xschem sky130_ef_ip__template.sch
to open the template schematic (an inverter)
a
the pcells aren't showing up then:
l
Can you select the skywater130 library? If not, then probably because you didn't install gdsfactory correctly. If you start KLayout from a terminal, you should see an error message. Please re-read my message from the beginning to install gdsfactory correctly, or to install KLayout via Nix to include gdsfactory.