mehdi
11/21/2021, 6:57 PMStefan Schippers
11/22/2021, 8:56 AMStefan Schippers
11/22/2021, 9:04 AMgit clone <https://github.com/StefanSchippers/xschem.git> xschem-src
then
cd xschem-src
and follow instructions in the link above.Stefan Schippers
11/22/2021, 9:09 AMgit clone <https://github.com/StefanSchippers/xschem-gaw.git> gaw-src
then
cd gaw-src
./configure
make
sudo make install
in typical situations this is the sequence of commands.
Ngspice has a very similar procedure as well. The explains the details for installing xschem, ngspice and gaw, but do NOT follow this old video for skywater-pdk, since now skywater-pdk libraries are instaled via open-pdks as explained in the mehdi
11/22/2021, 2:47 PMmehdi
11/22/2021, 3:20 PMStefan Schippers
11/22/2021, 8:51 PMmehdi
11/23/2021, 12:43 AMJorge Marin
11/23/2021, 6:56 PMStefan Schippers
11/23/2021, 10:28 PM./configure
fails as in your case regenerate the automake files by giving this command:
aclocal && automake --add-missing && autoconf
You need to have installed on your system the automake, autoconf and libtool packagesStefan Schippers
11/23/2021, 10:35 PMmehdi
11/23/2021, 10:42 PMJorge Marin
11/24/2021, 11:19 AMJorge Marin
11/24/2021, 12:11 PMStefan Schippers
11/25/2021, 10:36 AMStefan Schippers
11/25/2021, 10:37 AMJorge Marin
11/25/2021, 6:09 PMJorge Marin
11/25/2021, 6:13 PMJorge Marin
11/25/2021, 7:34 PMStefan Schippers
11/25/2021, 8:44 PMJorge Marin
11/25/2021, 9:36 PMJorge Marin
11/25/2021, 9:36 PMStefan Schippers
11/25/2021, 9:53 PMputs $netlist_dir
. Verify you have write permission in that directory. $netlist_dir
contains the directory where xschem writes the netlist. It can be changed in the 'Simulation' menu.Stefan Schippers
11/25/2021, 9:55 PMStefan Schippers
11/25/2021, 10:00 PMJorge Marin
11/26/2021, 2:14 AMJorge Marin
11/26/2021, 2:14 AMStefan Schippers
11/26/2021, 11:06 AMopen_pdks
installed files, since open_pdks does a lot of patches and fixes to the original skywater-pdk
files. the definition should look like:
set SKYWATER_MODELS /your/path/to/share/pdk/sky130A/libs.tech/ngspice
Adjust the path according to your installation.
Then in your netlist add the correct `.lib`:
.lib $::SKYWATER_MODELS/sky130.lib.spice tt
Or even better to avoid using variables:
.lib /your/path/to/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt
If you set the .lib as above it doesn't matter how SKYWATER_MODELS is defined in xschemrc (you are not using it), anyway it is always good to have this variable pointing to the right place.Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.
Powered by