From 4b57a831e00fb47549d4c5a6c1bf3682e32e4f21 Mon Sep 17 00:00:00 2001
From: Stefan Frederik
Date: Wed, 19 Oct 2022 15:20:17 +0200
Subject: [PATCH] update docs (3) (ngspice install in
tutorial_xschem_sky130.html)
---
doc/xschem_man/graphs.html | 2 +-
doc/xschem_man/tutorial_xschem_sky130.html | 12 +++++++++---
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/doc/xschem_man/graphs.html b/doc/xschem_man/graphs.html
index 730c6b62..bb84785e 100644
--- a/doc/xschem_man/graphs.html
+++ b/doc/xschem_man/graphs.html
@@ -37,7 +37,7 @@ p{padding: 15px 30px 10px;}

For gaw
and
- bespice
+ bespice
xschem can automatically send nets to the viewer by clicking a net on the schematic
and pressing the Alt-G key bind or by menu Hilight->Send selected nets/pins to Viewer
diff --git a/doc/xschem_man/tutorial_xschem_sky130.html b/doc/xschem_man/tutorial_xschem_sky130.html
index 62f9b05c..508ec1f7 100644
--- a/doc/xschem_man/tutorial_xschem_sky130.html
+++ b/doc/xschem_man/tutorial_xschem_sky130.html
@@ -22,13 +22,15 @@ p{padding: 15px 30px 10px;}
To use Xschem with the Google-Skywater 130nm process (here: Sky130) The following items must be followed:
- - Install XSchem. Follow the Manual Install instructions
+ - Install Xschem. Follow the Manual Install instructions
- Install the Magic VLSI layout editor. Instructions here.
-
- Install ngspice, by cloning the git source repository
- and building the program. If you want adms integration you must instal adms (sudo apt install adms).
+ and building the program. If you want adms integration you must instal adms (sudo apt install adms).
+ Otherwise run autogen.sh (see below) without the --adms option.
+ Without the --adms also the following ../configure ... line should have --enable-adms removed.
+
## clone the source repository into a local ngspice_git directory
@@ -36,6 +38,7 @@ git clone https://git.code.sf.net/p/ngspice/ngspice ngspice_git
cd ngspice_git
mkdir release
## in order to run the following you must have adms installed (sudo apt install adms)
+## Otherwise run without --adms and remove --enable-adms in the following ../configure... line.
./autogen-sh --adms
cd release
## by default if no --prefix is provided ngspice will install under /usr/local/{bin,share,man,lib}
@@ -46,6 +49,7 @@ make
## install the program and needed files.
make install
+
Install Open_Pdks
that will provide among other things all the sky130 PDK data, including standard
cells, SPICE models, layout data, timing information, design rules and also the Xschem symbols of available
@@ -79,6 +83,7 @@ make install
the sky130B directory contains the ReRAM Sky130 process option in addition
to all Sky130A devices.
+
After completing the above steps you can do a test run of xschem and use the Sky130 devices.
You need to create a new empty drectory, copy the provided xschemrc
(<prefix>/share/pdk/sky130B/libs.tech/xschem/xschemrc) into it and run xschem:
@@ -98,6 +103,7 @@ xschem
set XSCHEM_START_WINDOW {sky130_tests/top.sch}
+
PDK_ROOT and PDK environment variables
Xschem (via the xschemrc file) looks for a PDK_ROOT environment variable that points to the installed pdk to use.