I want to add library for some others software to link it with ngspice. Like we have link of xspice with ngspice.
Could you please let me know the if there was any document created when xspice was linked with ngspice,so that I can follow the same steps.
all literature I am aware of is cited in
If you want to analyse where XSPICE additions to the ngspice source code are located, just check for
in the source files (roughly 200 entries).
So it is not only linking in the files to found in ngspice/src/xspice.
How about adding new library in ngspice.
> I want to add library for some others software to link it with ngspice.
> Like we have link of xspice with ngspice.
What do you mean exactly?
Circuit models can be provided through the classical SPICE mechanisms (.lib files)
One step higher is using XSPICE to write code models. In that case you can add arbitrary existing computational software in the form of (behavioral) models.
The ultimate would be to add something like Matlab/Simulink/Scilab/xCOS dynamically (co-simulation). Again, you can do this through XSPICE. I will contribute code models that can communicate to Simulink/xCOS using (operating system) sockets, as soon as I have some time to document them. The models let you execute Matlab code at every simulator time step.