Making sure the xschem_sky130 library is installed correctly

  • create an example directory and browse to it

mkdir -p ~/example_xschem_sky130
cd example_xschem_sky130
  • copy in the example directory the xschem initialization file available in the PDK

cp ~/share/pdk/sky130A/libs.tech/xschem/xschemrc .
  • create an ngspice initialization file .spiceinit with the following lines:
    set ngbehavior=hs
    set ng_nomodcheck
    set color0=white
    set color1=black
    set xbrushwidth=2

  • start xschem

  • a few useful zoom commands and their shortcuts:

    • Zoom Full | F

    • Zoom In | Shift + Z

    • Zoom Out | Ctrl Z

    • Zoom Box | Z

  • select the cell test_nmos and hit the key E to descend into its schematic

  • double click the Netlist “button”

  • double click the Simulate “button”