Re: [ng-spice] Dynamically loading of devices.


To ng-spice@ieee.ing.uniroma1.it
From Paolo Nenzi <pnenzi@ieee.ing.uniroma1.it>
Date Sun, 25 Jul 1999 21:29:22 +0200 (CEST)
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
In-Reply-To <379B0019.F391EDA3@wanadoo.fr >
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice@ieee.ing.uniroma1.it



On Sun, 25 Jul 1999, Manu Rouat wrote:

> Paolo Nenzi wrote:
> > 

> 
> What about shared libraries? They are easier to build. We could make
> a bipolar shared lib, a mosfet shared lib ....

I am planning to use the shared library interface dlopen and not the dld
library for a.out format. I am still investigating the possibility to
avoid any code connection between the simulator and the model code. If I
can completely isolate model code for simulator, it will be possible to
add new device without recompiling the simulator.

I am figuring how I can use the _init function of dlopen interface to
register the device in the SPICEdev struct.

Anyway, the models are shared libraries, they are esy to build and well
supported on another platform used for EDA: SUN.


Paolo 


Partial thread listing: