Skip to content
/ gnucsator Public

This package provides a gnucap based qucsator implementation.

License

Notifications You must be signed in to change notification settings

Qucs/gnucsator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f5fa9c3 · Mar 30, 2025
Dec 4, 2024
Feb 5, 2025
Mar 26, 2025
Jun 12, 2021
Mar 26, 2025
Mar 26, 2025
Nov 19, 2020
Feb 14, 2018
Feb 14, 2018
Apr 9, 2024
Dec 4, 2024
Jan 18, 2025
Dec 4, 2024
Oct 31, 2024
Apr 13, 2024
Oct 25, 2024
Jan 18, 2025
Sep 30, 2021
Apr 13, 2024
Sep 19, 2024
Mar 26, 2025
Mar 26, 2025
Mar 26, 2025
Dec 23, 2022
Mar 18, 2024
Mar 18, 2024
Mar 26, 2025
Mar 26, 2025
Mar 26, 2025
Mar 18, 2024
Mar 18, 2024
Mar 26, 2025
Jan 21, 2024
Dec 4, 2024
Sep 3, 2024
Mar 26, 2025
Dec 21, 2024
Apr 18, 2024
Jan 18, 2025
Oct 16, 2024
Jan 18, 2025
Mar 26, 2025
Jan 18, 2025
Oct 16, 2024
Mar 26, 2025
Mar 26, 2025
Jan 18, 2025
Mar 26, 2025
Mar 18, 2024
Oct 25, 2024
Mar 26, 2025
Mar 30, 2025
Mar 26, 2025
Mar 18, 2024
Mar 18, 2024
Mar 28, 2024
Jan 18, 2025
Mar 26, 2025
Oct 16, 2024
Oct 16, 2024
Oct 16, 2024
Mar 26, 2025
Mar 18, 2024
Mar 11, 2025
Oct 16, 2024
Mar 26, 2025
Mar 18, 2024
Mar 26, 2025
Oct 16, 2024
Dec 25, 2022
Dec 25, 2022
Mar 26, 2025
Oct 16, 2024
Dec 21, 2024
Mar 26, 2025
Oct 16, 2024
Dec 21, 2024
Jun 12, 2021
Mar 26, 2025
Mar 26, 2025
Mar 26, 2025
Mar 26, 2025

Repository files navigation

gnucap-qucs

This package provides a Gnucap based simulation kernel for Qucs, as well as a component library and related tools. See STATUS for the currently available functionality and {tests,examples}/*.{net,sch} for example circuits.

Your support is gratefully received.

donate

For chat, feedback and questions, visit #gnucap:matrix.org, and/or use the gnucap-devel mailing list.

gnucsator.sh

Emulates qucsator and enhances Qucs (the default simulator in qucs) in some situations. e.g. by introducing stable/fast dc/tran analysis and extensibility.

net2verilog.sh

Convert qucsator "net" files into verilog. Embedded commands will be ignored.

gnucsator

Binary executable. equivalent to gnucap, but loads a different run time configuration file (gnucsator.rc).

setup, see also INSTALL.

  • install qucs (the gui).
  • install gnucap (>=20210107)
    • official gnucap from savannah [1], or
    • apt install gnucap libgnucap-dev # (not yet)
    • note: gnucsator/develop may require gnucap/develop
  • gnucap-modelgen-verilog (same version as gnucap)
  • install some other dependencies
    • apt install libboost-all-dev # (this is a superset)
    • apt install libgsl-dev
    • apt install libblas-dev
    • apt install numdiff # used in "make check"
  • install this package, "./configure; make install"
  • type $ QUCSATOR=gnucsator.sh qucs
  • or try qucs-s (somehow preconfigured to run Qucsator) $ QUCSATOR=gnucsator.sh qucs-s Remark: The Qucsator executable override can also be specified using the Application settings, Simulation->Select default simulator.

customisation

gnucap-qucs ships the main executable from gnucap-custom as gnucsator, it is much like the usual gnucap, but loads gnucsator.rc at startup. you may override this, by setting GNUCAP_SYSTEMSTARTFILE. For example

$ QUCSATOR=gnucsator.sh GNUCAP_SYSTEMSTARTFILE=my_own.rc qucs

will run a qucs session with your own gnucsator rc. make sure this file exists next to gnucsator.rc (or also set GNUCAP_SYSTEMSTARTPATH..).

technical notes

hidemodule. The 'list' command is used to convert netlists, it prints out items in the netlist. This is where module/subckt declarations live. dynamically loaded modules don't show up in the netlist, but are reachable through the dispatcher. the hidemodule command moves modules from the netlist to the dispatcher, so 'list' does not show them.

bm_wrapper. dispatch element+bm combinations through dispatcher. avoids listing similar to hidemodule & allows probes... (obsolete).

postproc. Qucs requires the data in an upside-down 'dat' format. mangling is currently implemented for transient output. This is unnecessary and will be fixed in future qucs. In the meantime, there will be a bypass option (currently suspended), so other viewers can still be used for displaying.

[1] git://git.sv.gnu.org/gnucap.git