Skip to content

Compile and install of Ngspice. Ngspice is the open source spice simulator for electric and electronic circuits.

License

Notifications You must be signed in to change notification settings

embed-dsp/ed_ngspice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compile and Install of the Ngspice circuit simulator

This repository contains a make file for easy compile and install of Ngspice. Ngspice is the open source spice simulator for electric and electronic circuits.

This make file can build the Ngspice tool on the following systems:

  • Linux

Get Source Code

ed_ngspice

git clone https://github.com/embed-dsp/ed_ngspice.git

Ngspice

# Enter the ed_ngspice directory.
cd ed_ngspice

# Edit the Makefile for selecting the Ngspice source version.
vim Makefile
PACKAGE_VERSION = 42
# Download Ngspice source package into src/ directory.
make download

Build

# Unpack source code into build/ directory.
make prepare

NOTE: Select one of the following configuration options depending on if you want to build Ngspice as an application or as a library.

# Configure source code for an application.
make configure
# Configure source code for a shared library.
make configure LIB=1
# Compile source code.
make compile

Install

# Install build products.
sudo make install

About

Compile and install of Ngspice. Ngspice is the open source spice simulator for electric and electronic circuits.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published