Skip to content

Gnucap is a analog and mixed signal circuit simulator. Go to gnucap.org for latest information. This is an unofficial clone of the repo. This holds the work done for GSoC 2012 with GNU Project. Go to official repo:

License

Notifications You must be signed in to change notification settings

sksavant/gnucap

Repository files navigation

README modified by 'Savant Krishna' "savant.2020@gmail.com"
This  branch 'lang_gschem' is off the 2009.12.07 dev snapshot.
Aims to add the functionality of parsing a schematic into a verilog netlist and building a schematic given a (augmented)netlist in verilog.

In order to load lang_geda as a plugin, compile as follows:
    g++ -DHAVE_GEDA -shared -fPIC -o lang_geda.so lang_geda.cc d_net.cc d_place.cc  $(pkg-config --cflags gtk+-2.0 --libs libgeda)

load as follows
-------------
gnucap>load ./lang_geda.so
-------------
###############################################
Original README file
###############################################
Readme for development snapshot 2007-02-21

This is a development snapshot.  As such, there may be problems due to
new work.

The most important change here is enhanced plugin support, and the 3
new model packages, distributed separately.

Also, commands use the dispatcher, so they can be added as plugins.



Readme for development snapshot 2006-12-04

This is a development snapshot.  As such, there may be problems due to
new work.

New features: "attach" and "detach" commands, for attaching and
detaching compiled modules.

To use ....

Start with a .model file.

Compile it .....

>> gnucap-modelgen my-model.model

.. produces my-model.h amd my-model.cc

Compile that, with "-fPIC -shared" options

>> g++  -fPIC -shared  my-model.cc

.. produces a.out  (you could name it with -o ..)

Now, run gnucap

>> gnucap

(signs on..)

then you can attach the model..

gnucap> attach ./a.out

gnucap>  

.. now you can use your model!!




This snapshot includes some new verilog code, which is incomplete and
not ready for anyone but a developer.  You can safely ignore it for
now.

It also changes the way models, devices, and functions are dispatched.
The new version uses a dispatcher object, that is built on start-up,
based on what modules are linked.  Models, devices, and functions can
be added simply by linking them in.  There is no need to change
anything else.  Likewise, if you don't need a model, device, or
function, and want a version with it missing, just remove it from
"Make1" and relink.

The latest "stable" version is 0.35.  If you want to help development,
use this snapshot and tell us what you find.  If you don't want to
live on the edge, use the stable version.

If you are making binary packages for distribution, please try this
version and let me know how it works, but continue to distribute 0.35.

About

Gnucap is a analog and mixed signal circuit simulator. Go to gnucap.org for latest information. This is an unofficial clone of the repo. This holds the work done for GSoC 2012 with GNU Project. Go to official repo:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages