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.
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.
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.
An ESource definition needs to be changed as shown below:
Exx Nodel Node2 VALUE 123 is replaced by Exx Node1 Node2 VOL = '123'
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
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.