/qucs

Qucs Project official mirror

Primary LanguageC++

Build Status Coverage Status

QUCS - Quite Universal Circuit Simulator

Qucs is an integrated circuit simulator which means you are able to setup a circuit with a graphical user interface (GUI) and simulate the large-signal, small-signal and noise behaviour of the circuit. After that simulation has finished you can view the simulation results on a presentation page or window.

Resources

Currently Supported Platforms

  • GNU/Linux
  • Darwin/OS X
  • FreeBSD
  • Windows

Source Download and Compilation

The source code is available as a tarball for stable releases and Git repository clone for development.

The release tarball can be downloaded from: http://sourceforge.net/projects/qucs/files/qucs/. Compilation and install from tarball is expected to work as follows:

tar xvfz qucs[version].tar.gz
cd qucs[version]
./configure
make install

For the source code clone, use one of the Git repositories (official or mirror):

git clone git://git.code.sf.net/p/qucs/git
git clone git://github.com/Qucs/qucs.git

For development conveninence ADMS is provided as a Git submodule. To download the ADMS submodule either:

  • clone submodules recursively:
    • git clone --recursive [repository]
  • or after cloning, do:
    • git submodule init
    • git submodule update

Compilation and installation depends on the operation system. See below for an example.

Compile instructions Linux (Debian/Ubuntu)

First make sure you have all dependencies installed:

sudo apt-get install build-essential
sudo apt-get install libqt4-dev libqt4-qt3support
sudo apt-get install automake libtool gperf flex bison

For ADMS

sudo apt-get install libxml2 libxml2-dev
sudo apt-get install zlib1g zlib1g-dev
sudo apt-get install libgd2-xpm-dev

Install Perl modules for ADMS. Configure cpan, no waiting for user input.

(echo y;echo o conf prerequisites_policy follow;echo o conf commit)| sudo cpan
sudo cpan -i XML::LibXML
sudo cpan -f GD

Compile qucs:

cd qucs
./autogen.sh
./configure --enable-maintainer-mode
make
sudo make install

Compile qucs-core:

cd qucs-core
./bootstrap.sh
./configure --enable-maintainer-mode
make
sudo make install

Note:

  • Qucs it will be installed by default to /usr/local/. This can be modified by passing --prefix=[some location] to the ./configure script.

  • ADMS can be installed from a released tarball (>= 2.3.0). To use an already available admsXml pass the option --with-mkadms=[path/to/admsXml] to the ./configure script

Binary Installation

Some of the platform specific pre-compile binary packages containing installers can be found at https://sourceforge.net/projects/qucs/files/qucs-binary/.

License

Qucs is under GNU General Public License, version 2.0+. See COPYING file.