This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

[FAQ] TINA/Spice: Converting TI's PSpice/TINA-TI models to HSpice?

Tool/software: TINA-TI or Spice Models

How do I convert TI's PSpice/TINA-TI models to HSpice?

Nikhil Gupta | Product Folder Modeling                                                                                                                                                    

All TI Spice Models can be found here | New to TINA-TI? Its a free spice simulator! Try out this short Video Training Series

 

  • Please note that some of the models provided by TI are encrypted and can not be imported into HSPICE directly. Please refer to in order to find out if a model is encrypted or not. 

     

    If the model is encrypted, you can request the unencrypted models by referring to the instructions in the this FAQ post

    Below is a summary of changes  that need to be made to convert an unencrypted PSPICE netlist to HSPICE.  Please note that this is just a guide to get you started with the conversion. More changes may be needed to the netlist to get the model to work in HSPICE. TI can not guarantee that it's models will work with HSPICE.

    1.      Keyword PARAMS

    The word PARAMS needs to be removed wherever it is found.

    2.      {}

    Opening and closing braces need to be removed wherever they are found.

    3.      IF  Statements

    An IF statement in the following format IF (A,B,C) needs to be replaced by (A*B + ~A*C), where A is the condition in the IF statement that is evaluated to TRUE or FALSE.

    4.      ESource

    An ESource definition needs to be changed as shown below:

    Exx Nodel Node2 VALUE 123 is replaced by Exx Node1 Node2 VOL = '123'

    5.      GSource

    A GSource definition needs to be changed as shown below

    Gxx Nodel Node2 VALUE 123 is replaced by Gxx Node1 Node2 CUR = '123'

     6.      LIMIT Statements

    A LIMIT statement of the form LIMIT(A,B,C) needs to be replaced by ‘A’ MAX = max(B,C) MIN=min(B,C)

     7.      Unit conversions

    MEG is replaced by 1e6

    G is replaced by 1e9

     8.      Switch Model (VSWITCH)

    A switch model would need to be replaced by a VCR

    Nikhil Gupta | Product Folder Modeling                                                                                                                                                    

    All TI Spice Models can be found here | New to TINA-TI? Its a free spice simulator! Try out this short Video Training Series

     

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.