Connect with us

HSPICE TO PSPICE

Discussion in 'CAD' started by yehonatan, Aug 6, 2003.

Scroll to continue with content
  1. yehonatan

    yehonatan Guest

    THIS CODE IS IN HSPICE HOW DO I TRANSFER IT TO pspice
    thanks

    ..SUBCKT RON1 1 2 ref
    Rs1 1 n1s1 1.e-003
    Rs2 2 n2s1 1.e-003
    e1_1 n1s1 n1s2 LAPLACE 1 ref
    + 6.2935401e-003
    + 1.7396465e-012
    + -6.0477478e-023
    + -8.8914379e-035
    + 1.9010556e-045 /
    + 4.8912081e-003
    + 2.8934295e-012
    + 3.1797453e-023
    + -5.5684441e-034
    + -2.4977519e-045
    + -5.0831621e-057
    e1_2 n1s2 n1s3 LAPLACE 1 n1s1
    + 559.23741
    + 2.316538e-007
    + -1.4340012e-018
    + -3.228794e-029
    + -2.9834816e-041
    + -2.5415811e-052 /
    + 4.8912081e-003
    + 2.8934295e-012
    + 3.1797453e-023
    + -5.5684441e-034
    + -2.4977519e-045
    + -5.0831621e-057
    e1_3 n1s3 n1s4 LAPLACE 2 ref
    + 9.2774003e-005
    + 2.9069007e-013
    + 2.3013108e-024
    + 1.9597627e-035
    + 3.9349433e-049 /
    + 4.8528523e-002
    + 7.6494418e-012
    + 5.7284366e-023
    + 2.8357866e-034
    + 4.5440538e-046
    + 1.073064e-057
    e1_4 n1s4 ref LAPLACE 2 n2s1
    + 4.6387002
    + 1.4534503e-008
    + 1.1506554e-019
    + 9.7988133e-031
    + 1.9674716e-044 /
    + 4.8528523e-002
    + 7.6494418e-012
    + 5.7284366e-023
    + 2.8357866e-034
    + 4.5440538e-046
    + 1.073064e-057
    e2_1 n2s1 n2s2 LAPLACE 1 ref
    + -7.6671332e-002
    + -6.140617e-012
    + 1.8232591e-023
    + 3.9547679e-035
    + 9.4713322e-047 /
    + 5.4865996e-003
    + 9.2142685e-013
    + 5.2634973e-023
    + 5.1242226e-034
    + 1.827461e-045
    + 2.4822301e-057
    e2_2 n2s2 n2s3 LAPLACE 1 n1s1
    + -3833.5666
    + -3.0703085e-007
    + 9.1162954e-019
    + 1.9773839e-030
    + 4.7356661e-042 /
    + 5.4865996e-003
    + 9.2142685e-013
    + 5.2634973e-023
    + 5.1242226e-034
    + 1.827461e-045
    + 2.4822301e-057
    e2_3 n2s3 n2s4 LAPLACE 2 ref
    + -1.1702608e-002
    + -2.1828799e-012
    + 2.3094928e-023
    + -2.7373609e-035
    + 5.132063e-046 /
    + 6.1497239e-002
    + 8.074537e-012
    + 3.7387837e-023
    + 3.071442e-034
    + 7.0831447e-046
    + 2.4282291e-057
    e2_4 n2s4 ref LAPLACE 2 n2s1
    + 2489.7315
    + 2.9458285e-007
    + 3.0241382e-018
    + 1.398853e-029
    + 6.1076038e-041
    + 1.2141145e-052 /
    + 6.1497239e-002
    + 8.074537e-012
    + 3.7387837e-023
    + 3.071442e-034
    + 7.0831447e-046
    + 2.4282291e-057
    ..nds
     
  2. Jim Thompson

    Jim Thompson Guest

    [snip]

    RTFM! Look up ELAPLACE.

    Your HSpice notation looks suspect, Laplace is of the form f(s).

    You probably really mean to use EFREQ, the notation there is tabular
    (TABLE)...

    (Frequency, dB, Phase)

    Don't forget ".ENDS" at the end of the subcircuit declaration.

    ...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 | |
    | [email protected]_innovations.com Fax:(480)460-2142 | Brass Rat |
    | http://www.analog-innovations.com | 1962 |

    For proper E-mail replies SWAP "-" and "_"

    Why is it that Democrats can't debate politely?
    And are only rude and interruptive.
    Lack of mental capacity?
     
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

-