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.

TL331B-Q1: Spice Model Simulation Issue

Part Number: TL331B-Q1
Other Parts Discussed in Thread: TL331, LM2903B, TINA-TI

During PSpice simulation of TL331B-Q1, Orcad Spice simulator shows Line too long. Limit is 132 characters error but by changing comparator part circuit works as per expectation.

For more details go through following error message.


**** 01/30/22 16:32:31 ****** PSpice 17.2.0 (March 2016) ****** ID# 0 ********

** Profile: "SCHEMATIC1-tl331_transient" [ D:\ArvindM\BLKS\library\slvm937e\tl331-pspicefiles\schematic1\tl331_transient.sim ]


**** CIRCUIT DESCRIPTION


******************************************************************************


** Creating circuit file "tl331_transient.cir"
** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS

*Libraries:
* Profile Libraries :
* Local Libraries :
.LIB "../../../tl331.lib"
* From [PSPICE NETLIST] section of C:\Users\arvind.munde\AppData\Roaming\SPB_Data\cdssetup\OrCAD_PSpice\17.2.0\PSpice.ini file:
.lib "D:\ArvindM\BLKS\library\slvm937e\tl331.lib"
.lib "D:\ArvindM\BLKS\Lib\PHPT60415NY.lib"
.lib "D:\ArvindM\BLKS\Lib\NCS2007X.lib"
.lib "nom.lib"

*Analysis directives:
.TRAN 0 30us 0
.OPTIONS ADVCONV
.PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
.INC "..\SCHEMATIC1.net"

**** INCLUDING SCHEMATIC1.net ****
* source TL331
.EXTERNAL INPUT OUT
.EXTERNAL INPUT Vcc
.EXTERNAL INPUT IN-
.EXTERNAL INPUT GND
.EXTERNAL INPUT IN+
V_V2 IN+ 0
+SIN 5 500m 100k 0 0 0
R_R3 VCC OUT 10k TC=0,0
V_VINN2 VCC 0 36
V_VINN IN- 0 5
R_R2 0 GND 1m TC=0,0
X_U1 IN+ IN- VCC GND OUT LM2903B

**** RESUMING tl331_transient.cir ****
.END

INFO(ORPSIM-15423): Unable to find index file tl331.ind for library file tl331.lib.

INFO(ORPSIM-15422): Making new index file tl331.ind for library file tl331.lib.
*E_EHYST HYST_OUT V-_BUF VALUE = { IF( V(VLE)<= 1.25,V(VLE),0 ) }
E_EHYST HYST_OUT V-_BUF TABLE {V(VLE)} = (0.4,0)
+(0.5,0.0636)
+(0.55,0.0636)
+(0.6,0.0636)
+(0.65,0.0636)
+(0.7,0.0635)
+(0.71,0.0636)
+(0.72,0.0635)
+(0.73,0.0636)
+(0.74,0.0634)
+(0.75,0.0635)
+(0.76,0.0638)
+(0.77,0.0637)
+(0.78,0.0637)
+(0.79,0.0637)
+(0.8,0.0636)
+(0.81,0.0636)
+(0.82,0.0636)
+(0.83,0.0636)
+(0.84,0.0425)
+(0.85,0.0411)
+(0.86,0.0398)
+(0.87,0.0386)
+(0.88,0.0371)
+(0.89,0.0359)
+(0.9,0.0347)
+(0.91,0.0334)
+(0.92,0.032)
+(0.93,0.0309)
+(0.94,0.0296)
+(1,0.0223)
+(1.05,0.0164)
+(1.1,0.0108)
+(1.15,0.0056)
+(1.2,0.0007)
+(1.25,0)
.ENDS
*$
*
.SUBCKT IS_SET VCC VEE DISABLE VIEN VIDIS PBAD
GIS VCC1 VEE VALUE = { IF ( (V(PBAD) > 2.5V) , 1u , IF ( V(DISABLE) > 2.5, V(VIEN), V(VIDIS) ) ) }
RIS VCC1 VCC 1
*RIS2 VCC VEE 100000000
.ENDS
*$

.SUBCKT 4ORGATE 1 2 3 4 5 VDD VSS
E1 6 0 VALUE = { IF( ((V(1)> (V(VDD)+V(VSS))/2 ) | (V(2)> (V(VDD)+V(VSS))/2 ) | (V(3)> (V(VDD)+V(VSS))/2 ) | (V(4)> (V(VDD)+V(VSS))/2
$
ERROR(ORPSIM-16366): Line too long. Limit is 132 characters.

Index has 36 entries from 1 file(s).

.SUBCKT 4ORGATE 1 2 3 4 5 VDD VSS
E1 6 0 VALUE = { IF( ((V(1)> (V(VDD)+V(VSS))/2 ) | (V(2)> (V(VDD)+V(VSS))/2 ) | (V(3)> (V(VDD)+V(VSS))/2 ) | (V(4)> (V(VDD)+V(VSS))/2
$
ERROR(ORPSIM-16366): Line too long. Limit is 132 characters.