Skip to content

Commit

Permalink
feat: add netgen
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Feb 19, 2024
1 parent af34540 commit f0fb241
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The VM is based on Ubuntu 22.04 and includes the following tools:
- [Magic](http://opencircuitdesign.com/magic/)
- [KLayout](https://www.klayout.de/)
- [Xschem](https://xschem.sourceforge.io/stefan/index.html)
- [netgen](http://opencircuitdesign.com/netgen/)
- [Skywater 130nm PDK](https://github.com/google/skywater-pdk)

To download the VM, go to the [actions](https://github.com/TinyTapeout/analog-virtualbox-vm-sky130a/actions) tab and download the latest "tt_analog_virtualbox_ova" artifact. Import the OVA file into VirtualBox and start the VM.
Expand Down
2 changes: 2 additions & 0 deletions image.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,12 @@ build {
PDK_ROOT = "/home/ttuser/pdk"
PDK_VERSION = "bdc9412b3e468c102d01b7cf6337be06ec6e9c9a"
MAGIC_VERSION = "8.3.460"
NETGEN_VERSION = "1.5.270"
KLAYOUT_VERSION = "0.28.17"
XSCHEM_VERSION = "3.4.4"
}
scripts = [
"scripts/install_netgen.sh",
"scripts/install_magic.sh",
"scripts/install_xschem.sh",
"scripts/install_klayout.sh",
Expand Down
12 changes: 12 additions & 0 deletions scripts/install_netgen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /bin/sh

set -e

sudo apt-get install -y tcl-dev tk-dev

git clone -b $NETGEN_VERSION https://github.com/RTimothyEdwards/netgen /tmp/netgen
cd /tmp/netgen
./configure
make -j4
sudo make install
sudo rm -rf /tmp/netgen

0 comments on commit f0fb241

Please sign in to comment.