Coder Social home page Coder Social logo

ericqg / gnucsator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qucs/gnucsator

0.0 0.0 0.0 2.53 MB

This package provides a gnucap based qucsator implementation.

License: GNU General Public License v3.0

Shell 0.20% C++ 95.95% Python 0.19% C 0.21% Verilog 2.32% Makefile 1.12%

gnucsator's Introduction

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.

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

  • 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
  • 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

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.