Sky130 Ngspice Magic Installation Final
Sky130 Ngspice Magic Installation Final
1. On Windows machine the installa on must be done via WSL. For Linux users, WSL can
skipped and you can proceed with Part2.
2. For windows 11 machine, from the search bar turn windows feature on and off. Enable
Virtual machine pla orm and Windows Subsystem for Linux. Restart your machine.
5.
You can type “exit” to come out of the linux environment back to your Powershell.
Restart your machine
7. Now, again open terminal (run as administrator) and type the below commands
wsl --update
wsl --shutdown
wsl
EE671: VLSI DESIGN 2024-2025
9. Now below you can see that I have browed to my User loca on.
3. Now we need to install the dependencies of magic. So, first we need to be the root user
EE671: VLSI DESIGN 2024-2025
4. A er this we will logout from the root and install magic as shown below. Browse inside the
magic directory and type the command
./configure
7. Close the magic window. Now browse to open_pdks folder and type the below commands
one by one.
9. Create a folder ngspice_simula ons and create a file test1.cir as shown below.
EE671: VLSI DESIGN 2024-2025