Hspice and dynamic linked libraries

G

Greg

Guest
Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?
 
Greg wrote:
Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?
How do you want to "use" them?
 
On Tue, 27 Apr 2004 19:34:05 -0400, Jeff Schwab <jeffplus@comcast.net>
wrote:

Greg wrote:
Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?

How do you want to "use" them?
Probably as in PSpice, where you can create your own device equations
and then supply them to users while maintaining proprietary features.

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 
Jim Thompson wrote:
On Tue, 27 Apr 2004 19:34:05 -0400, Jeff Schwab <jeffplus@comcast.net
wrote:


Greg wrote:

Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?

How do you want to "use" them?


Probably as in PSpice, where you can create your own device equations
and then supply them to users while maintaining proprietary features.
Thanks, Jim. I'm pretty sure the answer is no, HSpice doesn't have any
support for device models not defined in a spice file. Synopsys does
have products that support that sort of thing, though; I'm pretty sure
you can do it with NanoSim, for example.
 
Jeff Schwab <jeffplus@comcast.net> wrote in message news:<GqqdnVp1quHwZxPdRVn_iw@comcast.com>...
Jim Thompson wrote:
On Tue, 27 Apr 2004 19:34:05 -0400, Jeff Schwab <jeffplus@comcast.net
wrote:


Greg wrote:

Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?

How do you want to "use" them?


Probably as in PSpice, where you can create your own device equations
and then supply them to users while maintaining proprietary features.

Thanks, Jim. I'm pretty sure the answer is no, HSpice doesn't have any
support for device models not defined in a spice file. Synopsys does
have products that support that sort of thing, though; I'm pretty sure
you can do it with NanoSim, for example.
I have an external function which describes behaviour of the circuit
(can be viewed as a black box). Due to the complexity of the
description it is impossible to put it directly in HSpice (there are
some obsolete limitations e.g. for the maximal length of the
mathematical equation). The black box mathematical description is
constructed basing on (long) numerical simulations in HSpice and gives
(very fast) macromodel responses.

As it was tested in Matlab: I call the .dll with several electric
parameters, and it gives me back the (black box) circuit response
(voltage value). I would like to implement it in Hspice, but I have no
idea how to do it.

Greg
 
Greg wrote:
Jeff Schwab <jeffplus@comcast.net> wrote in message
news:<GqqdnVp1quHwZxPdRVn_iw@comcast.com>...
Jim Thompson wrote:
On Tue, 27 Apr 2004 19:34:05 -0400, Jeff Schwab
jeffplus@comcast.net> wrote:


Greg wrote:

Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?

How do you want to "use" them?


Probably as in PSpice, where you can create your own device
equations and then supply them to users while maintaining
proprietary features.

Thanks, Jim. I'm pretty sure the answer is no, HSpice doesn't have
any support for device models not defined in a spice file. Synopsys
does have products that support that sort of thing, though; I'm
pretty sure you can do it with NanoSim, for example.
Must you use HSpice?

I have an external function which describes behaviour of the circuit
(can be viewed as a black box). Due to the complexity of the
description it is impossible to put it directly in HSpice (there are
some obsolete limitations e.g. for the maximal length of the
mathematical equation).
But this one shouldn't be a problem. You can just have lots of, e.g.
VCVS, with bits of the equation.

The black box mathematical description is
constructed basing on (long) numerical simulations in HSpice and gives
(very fast) macromodel responses.

As it was tested in Matlab: I call the .dll with several electric
parameters, and it gives me back the (black box) circuit response
(voltage value). I would like to implement it in Hspice, but I have no
idea how to do it.
Your guess is probably correct. There are a few XSpice based vendors
that have this capability as well. Not that I have been bothered to add
it myself. I would say its a 100:1 ratio of people who are prepared to
write code themselves to solve analogue design problems.

Kevin Aylward
salesEXTRACT@anasoft.co.uk
http://www.anasoft.co.uk
SuperSpice, a very affordable Mixed-Mode
Windows Simulator with Schematic Capture,
Waveform Display, FFT's and Filter Design.
 
"Kevin Aylward" <kevindotaylwardEXTRACT@anasoft.co.uk> wrote in message news:<2MPjc.152$__2.66@newsfe1-win>...
Greg wrote:
Jeff Schwab <jeffplus@comcast.net> wrote in message
news:<GqqdnVp1quHwZxPdRVn_iw@comcast.com>...
Jim Thompson wrote:
On Tue, 27 Apr 2004 19:34:05 -0400, Jeff Schwab
jeffplus@comcast.net> wrote:


Greg wrote:

Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?

How do you want to "use" them?


Probably as in PSpice, where you can create your own device
equations and then supply them to users while maintaining
proprietary features.

Thanks, Jim. I'm pretty sure the answer is no, HSpice doesn't have
any support for device models not defined in a spice file. Synopsys
does have products that support that sort of thing, though; I'm
pretty sure you can do it with NanoSim, for example.

Must you use HSpice?
Unfortunately I have to. I know that it is possible to add external
..dll to ADS. I have found that new versions of Microwave Office
contain HSpice engine.
Is there anyone who knows if it is possible to add .dll to Microwave
Office?
Maybe then I could indirectly smuggle the problem to HSpice ...


I have an external function which describes behaviour of the circuit
(can be viewed as a black box). Due to the complexity of the
description it is impossible to put it directly in HSpice (there are
some obsolete limitations e.g. for the maximal length of the
mathematical equation).

But this one shouldn't be a problem. You can just have lots of, e.g.
VCVS, with bits of the equation.
I tried, but the mathematical function which gives pretty good results
as an entity, causes strong convergence problems when e.g. divided
into parts and summed. In the best case (convergence problems
overcame) the results are not exact (too large deviations from the
reference).



The black box mathematical description is
constructed basing on (long) numerical simulations in HSpice and gives
(very fast) macromodel responses.

As it was tested in Matlab: I call the .dll with several electric
parameters, and it gives me back the (black box) circuit response
(voltage value). I would like to implement it in Hspice, but I have no
idea how to do it.


Your guess is probably correct. There are a few XSpice based vendors
that have this capability as well. Not that I have been bothered to add
it myself. I would say its a 100:1 ratio of people who are prepared to
write code themselves to solve analogue design problems.

Kevin Aylward
salesEXTRACT@anasoft.co.uk
http://www.anasoft.co.uk
SuperSpice, a very affordable Mixed-Mode
Windows Simulator with Schematic Capture,
Waveform Display, FFT's and Filter Design.
Greg
 

Welcome to EDABoard.com

Sponsor

Back
Top