Connect with us

Hspice and dynamic linked libraries

Discussion in 'CAD' started by Greg, Apr 27, 2004.

Scroll to continue with content
  1. Greg

    Greg Guest

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

    Jeff Schwab Guest

    How do you want to "use" them?
     
  3. Jim Thompson

    Jim Thompson Guest

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

    ...Jim Thompson
     
  4. Jeff Schwab

    Jeff Schwab Guest

    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.
     
  5. Greg

    Greg Guest

    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
     
  6. Must you use HSpice?
    But this one shouldn't be a problem. You can just have lots of, e.g.
    VCVS, with bits of the equation.
    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

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

    Greg Guest

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


    Greg
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-