@ra3xdh ra3xdh released this Sep 5, 2016 · 289 commits to qucs-s-stable since this release

Assets 5

Introduction

Qucs-S is special Qucs build with unofficial spice4qucs patchset integrated by default.

This Release Candidate 7 (RC7) includes major improvement and minor bugfixes. RC7 contains massive update of package structure. Installation and run instruction were changed! Refer to Installation section for more details.

Main features

Package structure:

  • Updated installed package structure to allow installation of Qucs-S side-by-side with existing Qucs in one installation root. This also allows to simplify the package building form source. Installation and run procedure was changed!
  • Qucsator is downgraded to ordinary external simulation kernel and is not more distributed with this package. You need to set Qucsator location in Simulation->Select default simulator menu. You may take Qucsator from an existing Qucs installation. You can use any Qucsator version.

Simulator backends interaction:

  • Added new simulation type XYCE script. It allows to construct user-defined simulation for XYCE. It acts like Nutmeg scripting for Ngspice.
  • Added .NOISE simulation support for XYCE
  • Improved .NOISE support for Ngspice/SpiceOpus
  • Improved Parameter Sweep support for Ngspice. Enabled @device[param] sweep variable definition.
  • Various bugfixes for XYCE and SpiceOpus support.
  • Various minor fixes in GUI.

Installation

Linux

Binary package

You can use prebuilt binary DEB-package for Debian-8. Ubuntu-16.04 is also tested. Download and install it with dpkg:

dpkg -i qucs-s-0.0.19S-RC7_x86_64.deb

You may need to install the following dependencies: lib4qt4-qt3support, libqt4-svg, ngspice

Building from source

If your Linux distribution is not Debian-based, then you will need to build Qucs-S from source:

  • Install all necessary dependencies: Qt, C++ compilers, etc.
  • Install desired simulation backends: Ngspice, XYCE, SpiceOpus. You can use all these backends together or only one of them. Install basic Qucs (0.0.18 or newer) if Qucsator is needed.
  • Download and unpack tarball
  • Use CMake to compile. Autotools doesn't support this installation mode and will not work!
  • Invoke make and make install

The complete command sequence to build Qucs-S is following:

tar xvfz qucs-0.0.19S-RC7.tar.gz
cd qucs-0.0.19S-RC7
mkdir builddir
cd builddir
cmake ..
make
make install

The last command make install should be executed from root user. It will install Qucs-S into default prefix /usr/local/. No additional configure options are needed now.

Windows

You need to use binary installer for Windows. You need to download and install Ngspice and/or XYCE manually from official websites: http://ngspice.org/ https://xyce.sandia.gov/ respectively.

It's recommended special build of Ngspice-26 for Windows https://github.com/ra3xdh/qucs/releases/download/0.0.19S-rc6/Ngspice26_QucsS.zip . Default Ngspice package also will work but it may have some limitation. Custom Ngspice build solves the following issues:

  • Windows GUI of Ngspice is disabled. It allows Qucs-S to obtain logs from Ngspice.
  • Added CMPP preprocessor and C headers set mandatory for development of CodeModel libraries. Default Ngspice build is shipped without it.

Usage

Linux

Run qucs-s from the command line or launch Qucs-S icon in your desktop environment menu after installation. You will need to select default simulation backend at the first run. You can change it later in application settings.

Windows

Launch Qucs-S in the system Start menu. You will also need to select default simulator on the first application start. Correct simulator paths setting is necessary for Windows.