An <up to date step by step guide> to build, insta...
# xschem
s
An up to date step by step guide to build, install xschem, open_pdks and draw & simulate xschem circuits with Skywater-pdk
s
@Stefan Schippers I don't see the xschem directory under sky130A after the PDK installation. Am I missing something or Is there any way I can get the sky130A devices for xschem? Can you please help me with this here?
s
After installing open_pdks the directory containing the xschem symbols is
<install_root>/share/pdk/sky130A/libs.tech/xschem
. the program (xschem) itself must be installed before installing open_pdks as explained in above tutorial. If you can't see
<install_root>/share/pdk/sky130A/libs.tech/xschem
after installing open_pdks something went wrong with the open_pdks installation. <instal_root> refers to the install root directory. If you didn't specify any --prefix when running
./configure --enable-sky130-pdk
the instalation should be in
/usr/local/share/pdk
s
@Stefan Schippers: I am actually trying a different approach in installing open_pdks... the conda-eda package from https://anaconda.org/litex-hub/open_pdks.sky130a. After the installation, the pdks is stored in
<miniconda_env>/share/pdk/sky130a/
In this location, I find xcircuit, ngspice, magic etc but not xschem. Not sure if you tried this approach.
I just checked this packaging of open_pdks and found that the xschem is disabled. https://github.com/hdl/conda-eda/blob/c56acbb4465bcfc5f0bbb96a1a8e625301c869bb/misc/open_pdks/build.sh#L60 @proppy Is there any reason behind this? Can we enable it?
p
@saicharan0112 it should be as easy as remove the flag 🙂 do you want to send a pull request?
I think we'd also like to get xschem packaged too, so that you can also install it with conda.
s
You need to file the request to the conda-eda maintainers. It is better if you do that directly. If I do hat may be they see a conflict of interest.
s
@Stefan Schippers no prob.. I can do that.
@proppy packaging xschem sounds good. It is very much similar to magic and instructions are straight forward - thanks to Stefan's guide.. I know that it is a single line but was wondering if it will trigger something. Never mind, I will send a pr for both..
s
If analog design is also part of the flow then packaging xschem might be a good idea. May be they are planning to do that in the tuture and concentrate for now on other things, to avoid a flood of pull/bug/info requests.
p
I think it'd be a good idea to get xschema in conda-forge too, thru https://github.com/conda-forge/staged-recipes
they have infrastructure w/ automation for doing windows, macosx and linux build for various architecture.
and they automatically create pull request for new upstream release.
we have a similar package already for magic: https://github.com/conda-forge/magic-feedstock
I'd be happy to help with the xschem equivalent.