Qucs-S: Qucs with SPICE

submited by
Style Pass
2023-01-25 05:00:06

(to top...) Main features Backward compatible with Qucs by the component types and simulations Direct support of SPICE models from components datasheets. SPICE model could be added to schematic without any adaptation. Basic SPICE components: RCL, BJT, MOSFET, JFET, MESFET, switches; Advanced SPICE components: Equation-defined sources and RCLs, transmission lines; Direct support of SPICE Modelcards, SPICE sections (.IC, .NODESET); Parametric circuits (.PARAM) and SPICE postrprocessor (Nutmeg) Basic SPICE simulations: DC, AC, TRAN; Advanced SPICE simulation: DISTO, NOISE, SENS (added in 0.0.20), Spectrum analysis; Single-tone and Multitone Harmonic balance analysis with XYCE backend; Nutmeg script simulation: direct access to the SPICE code and construct your own simulation; XYCE script simulation type; XYCE digital devices library; XSPICE CodeModel synthesizer; User mathematical functions definitions with .FUNC (added in 0.0.20); Installation Linux AppImage for all Linux distributions You can run Qucs-S on all Linux platforms using AppImage without building it from source. AppImage already includes Qt4 libraries and you don't need to install them explicitly. Simple make AppImage executable and run it from console or your file manager. Please note that AppImage doesn't include Ngspice and you need to install them using system package manager. Binary packages The usage of binary packages is the preffered way to get Qucs-S. The DEB and RPM packages for Qucs-S are prepared with openSUSE build service. Check the package for your distribution here Then click on distribution icon and find the installation instructions. You may need to install ngspice manually. Arch and Manjaro users may install Qucs-S from AUR The packages for AltLinux are available from Sysyphus repository here Building from source If binary packages are not available for your distrubution, 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. Invoke make and make install The complete command sequence to build Qucs-S is following:

The last command make install should be executed from root user. It will install Qucs-S into default prefix /usr/local/. Use -DCMAKE_INSTALL_PREFIX=... to override the default locationNo additional configure options are needed now. Slackware SlackBuild Slack Build script is available for Slackware distribution. It will download and compile Qucs-S automatically. You will obtain the binary Qucs-S package. Perform the following steps to install Qucs-S: Clone this repository: git clone https://github.com/ra3xdh/QucsS.SlackBuild Run SlackBuild as root: cd QucsS.S.SlackBuild ./qucs-S.SlackBuild Install txz package with installpkg command FreeBSD

Leave a Comment