Getting started
Setup tools on linux or mac (or WSL on Windows)
For the analog toolchain we need some tools, and a process design kit (PDK).
- Skywater 130nm PDK. I use open_pdks to install the PDK
- Magic VLSI for layout
- ngspice for simulation
- netgen for LVS
- xschem
- python > 3.10
Clone the github repo
git clone git@github.com:wulffern/aicex.git
git submodule init
git submodule update
You need to add the following to your ~/.bashrc
export PDK_ROOT=/opt/pdk/share/pdk
export LD_LIBRARY_PATH=/opt/eda/lib
export PATH=/opt/eda/bin:$HOME/.local/bin:$PATH
Make sure you load the settings before you proceed
source ~/.bashrc
cd aicex/tests/
make requirements
make tt
make eda_compile
sudo make eda_install
sudo python3 -m pip install matplotlib numpy click svgwrite pyyaml pandas tabulate wheel setuptools tikzplotlib
source install_open_pdk.sh
cd ../..
Install cicconf
cd aicex/ip/cicconf
python3 -m pip install --user -e .
cd ../..
Install cicsim
cd aicex/ip/cicsim
python3 -m pip install --user -e .
cd ../..
Check that magic and xschem works
To check that magic and xschem works
cd ip/sun_sar9b_sky130nm/work
magic ../design/SUN_SAR9B_SKY130NM/SUNSAR_SAR9B_CV.mag &
xschem -b ../design/SUN_SAR9B_SKY130NM/SUNSAR_SAR9B_CV.sch &