Maker Pro
Maker Pro

Hspice and dynamic linked libraries

G

Greg

Jan 1, 1970
0
Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?
 
J

Jeff Schwab

Jan 1, 1970
0
Greg said:
Who knows if it is possible to use .dll libraries in Hspice (dll
represents an external function)?

How do you want to "use" them?
 
J

Jim Thompson

Jan 1, 1970
0
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
 
J

Jeff Schwab

Jan 1, 1970
0
Jim said:
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.
 
G

Greg

Jan 1, 1970
0
Jeff Schwab said:
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
 
K

Kevin Aylward

Jan 1, 1970
0
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
[email protected]
http://www.anasoft.co.uk
SuperSpice, a very affordable Mixed-Mode
Windows Simulator with Schematic Capture,
Waveform Display, FFT's and Filter Design.
 
G

Greg

Jan 1, 1970
0
Kevin Aylward said:
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 ...

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).


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
[email protected]
http://www.anasoft.co.uk
SuperSpice, a very affordable Mixed-Mode
Windows Simulator with Schematic Capture,
Waveform Display, FFT's and Filter Design.

Greg
 
Top