Previous journal: | Next journal: |
---|---|
0172-2023-11-04.md | 0174-2023-11-19.md |
Guide: https://xschem.sourceforge.io/stefan/xschem_man/install_xschem.html
- Starting with MPW8 VM. Xschem not already installed.
- Install prerequisites:
sudo apt install \ libx11-6 libx11-dev libxrender1 libxrender-dev libxcb1 libx11-xcb-dev \ libcairo2 libcairo2-dev tcl8.6 tcl8.6-dev tk8.6 tk8.6-dev flex bison \ libxpm4 libxpm-dev libjpeg-dev tcl-tclreadline vim-gtk3 xterm
-
Successfully ends with
cd ~/asic_tools git clone https://github.com/StefanSchippers/xschem.git xschem-src cd xschem-src; ./configure
Configuration complete, ready to compile.
- Build and install:
We should now have:
make sudo make install
$ which xschem /usr/local/bin/xschem
Ref: https://youtu.be/KgBLByOkJxA?t=312
-
NOTE: This
ln -s $PDK_ROOT ~/PDK cd ~/anton mkdir sky130_example cd sky130_example cp ~/PDK/sky130A/libs.tech/xschem/xschemrc .
xschemrc
uses$PDK_ROOT
and$PDK
but that's fine. - Run
xschem
, and...
-
When xschem is running, type
puts $XSCHEM_LIBRARY_PATH
in the xschem tcl prompt to know the library search path.Type
puts $XSCHEM_SHAREDIR
to see the installation path. -
If you need to override system settings, create a
~/.xschem/xschemrc
. The easiest way is to copy the system installed version from ${prefix}/share/xschem/xschemrc
and then make the necessary changesmkdir ~/.xschem cp <install root>/share/xschem/xschemrc ~/.xschem/xschemrc
-
Re sky130A PDK
xschemrc
:#### values may be overridden by user's ~/.xschem/xschemrc configuration file #### or by project-local ./xschemrc
- WATCHED:
Stefan's Jan 2023 video "Analog simulation with xschem and the skywater 130nm Process Development Kit (PDK)" - WATCHED:
Efabless Webinar - Analog schematic capture & simulation with Stefan Schippers -- this might include the design from the video above? - Efabless Analog layout using Magic and Klayout with Tim Edwards and Thomas Parry -- builds on the design above?
- Efabless Analog layout of an op-amp using the Magic VLSI tool -- might be the longer recording of the same 'Analog layout' video above?
- Maybe: Efabless Magic Tutorial 03 Creating a Cell Using Parametrized Devices -- NOTE: This might be an out-of-order continuation of:
- Efabless GF180MCU Tutorial - Single Video
- Go back over Z2A Part 1