Part Number: OPA350
Tool/software: TINA-TI or Spice Models
I am completely new to modeling and certain reasons I have to use ngspice as modeling software. I have downloaded PSPICE model of OPA350 and I have made the expected modification on the LIB file but there is still a TEMP variable in the line 237 which makes error message: "undefined number". Could anyone help me how to modify the model to work?
TEMP is a global parameter in Pspice and can be used in throughout a model and simulation.It sounds like this isn't the case in ngspice.
I am unfamiliar with ngspice, but as a workaround, you might try entering TEMP as a local parameter.Open the file OPA350.lib with a text viewer, or with the ngspice model editor if it has one.In the subcircuit where the TEMP variable is used, enter the statement .PARAM TEMP = 27.My editor shows this subcircuit starts on line 227.
It will look like this:
.SUBCKT VOS_DRIFT VOS+ VOS-
.PARAM DC = -9.57E-05
.PARAM POL = 1
.PARAM DRIFT = 4.00E-06.PARAM TEMP = 27...
Please give this a try and let me know if it works.
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.
In reply to John Miller - WEBENCH Design Center:
it works fine, Thank you!
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.