GithubHelp home page GithubHelp logo

arulrajsm28 / qucs_s Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ra3xdh/qucs_s

0.0 0.0 0.0 33.57 MB

Qucs-S is a circuit simulation program with Qt-based GUI

Home Page: https://ra3xdh.github.io/

License: GNU General Public License v2.0

Shell 0.20% C++ 92.61% Python 0.19% Perl 3.55% C 1.02% MATLAB 0.41% Makefile 0.08% QMake 0.02% CMake 1.33% AMPL 0.19% Batchfile 0.12% Roff 0.28%

qucs_s's Introduction

Qucs-S: Quite universal circuit simulator with SPICE

Boosty Telegram Website Packaging status

About Qucs-S

Qucs-S provides a fancy graphical user interface for a number of popular circuit simulation engines. Qucs-S contains instruments for schematic capture, visualization and provides differents passive and active components including device library. The following simulation kernels are supported:

  • Ngspice (recommended)
  • Xyce
  • SpiceOpus
  • Qucsator (non-spice)

See the https://ra3xdh.github.io/ for more details. Qucs-S is based on original Qucs code: https://github.com/Qucs/qucs

Donation

Qucs-S accepts donation using Boosty platform: https://boosty.to/qucs_s

Build instructions

Use CMake to build Qucs-S. Install all necessary dependencies: GCC, Qt, Flex, Bison and SPICE (optional). Install ngspice that is not needed for build, but serves as the simulation kernel.

Dependencies

Ubuntu

sudo apt-get install ngspice build-essential git cmake qtbase5-dev qttools5-dev libqt5svg5-dev flex bison gperf dos2unix

OpenSUSE Tumbleweed

sudo zypper install ngspice git cmake libqt5-qtbase-devel libqt5-qttools-devel libqt5-qtsvg-devel flex bison gperf dos2unix

Compiling

Qt5

Then clone this git repository and execute in the top directory:

git submodule init
git submodule update
mkdir builddir
cd builddir
cmake ..  -DCMAKE_INSTALL_PREFIX=/your_install_prefix/
make
make install

Where /your_install_prefix/ is desired installation directory. Substitute any desire path (for example $HOME/qucs-s) here. You may omit this option and installation steps. Default installation directory will be /usr/local if CMAKE_INSTALL_PREFIX is not defined.

Qt6

Since v1.0.1 Qucs-S supports build with Qt6. Set the WITH_QT6 flag to tell CMake use the Qt6. For example use the following command sequence for Ubuntu-22.04

cmake .. -DWITH_QT6=ON -DCMAKE_INSTALL_PREFIX=/your_install_prefix/

Running

Then run qucs-s executable to launch the application:

cd /your_installation prefix/bin
./qucs-s

clangd LSP support

Clangd looks for compile_commands.json file in parent folders of the file it processes. compile_commands.json should be generated along with other build configuration files when you run cmake as part of building routine:

mkdir builddir
cd builddir
cmake ..  -DCMAKE_INSTALL_PREFIX=/your_install_prefix/

If compile_commands.json is already there, create a symbolic link to it from project root dir:

cd project_root
ln -s ./builddir/compile_commands.json compile_commands.json

It may take some time to index files at first run. Clangd configuration is in .clangd file.

qucs_s's People

Contributors

ra3xdh avatar guitorri avatar in3otd avatar yodalee avatar fransschreuder avatar wawuwo avatar mikebrinson avatar zergud avatar felix-salfelder avatar clemensfmn avatar superman32432432 avatar radvall avatar iwbnwif avatar nanoant avatar dsm avatar andresmmera avatar antohami avatar kagva avatar constrictor avatar gypsysattva avatar spueblas avatar tvrusso avatar yrrapt avatar nvdl avatar luzpaz avatar galiumnitride avatar partmedia avatar hvwyl avatar powerjungle avatar ldpgh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.