Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1074

Simulation error: "Line too long. Limit is 132 characters."

$
0
0

I'm simulating a 3rd-party Spice model of a transistor using OrCAD PSpice. After I hit run, it starts to generate a .cir file which is when the following error shows up:

Line too long. Limit is 132 characters. 

By replacing the transistor model with a simpler one, the simulation goes well, so the error is somehow related to the transistor model. 

What I don't understand is that the .cir file is generated by the software. Why the software generates some code which doesn't follow its own rule? I mean, it could split a long expression into several lines to avoid the error. Indeed, what I care about is how to solve the problem. The complete output file of the simulation is in the following. Any suggestions or comments would be appreciated.


**** 02/06/15 15:12:39 ****** PSpice 16.5.0 (April 2011) ****** ID# 0 ********

** Profile: "SCHEMATIC1-sim" [ C:\Temp\02MyProject2\Pspice\inverter3_2\inverter1-pspicefiles\schematic1\sim.sim ]


**** CIRCUIT DESCRIPTION


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


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

*Libraries:
* Profile Libraries :
* Local Libraries :
* From [PSPICE NETLIST] section of C:\Cadence\SPB_16.5\tools\PSpice\PSpice.ini file:
.lib "C:\Cadence\SPB_16.5\tools\pspice\UserLib\00_UPDATED_Infineon_Simulation Model_PSpice_CoolMOSO_C7_650V_UPDATED.lib"
.lib "C:\Temp\02MyProject2\ARCP\Pspice\GaN device\GaN FET\EPC2010\EPC2010_V102_PSPICE.lib"
.lib "nom.lib"

*Analysis directives:
.TRAN 0 20us 0
.PROBE V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
.INC "..\SCHEMATIC1.net"

**** INCLUDING SCHEMATIC1.net ****
* source INVERTER1
V_V2 G1 OUT
+PULSE 0 15 0 0 0 9.5us 20us
V_V5 G2 0
+PULSE 0 15 10us 0 0 9.5us 20us
V_V4 N04438 0 DC 5
R_RG1 G1 N04464 10
I_I1 OUT 0 DC 0Adc
R_RG G2 N04426 10
X_U5 N04438 N04464 OUT IPW65R019C7_L1 PARAMS: DVTH=0 DRDSON=0
X_U6 OUT N04426 0 IPW65R019C7_L1 PARAMS: DVTH=0 DRDSON=0

**** RESUMING sim.cir ****
.END
.PARAM r2={(fpar1*SQRT(0.4)-fpar4)*Inn*r0}
.PARAM Rlim={(r1+2*r2*Rmax-SQRT(r1**2+4*r2))/(2*r2)}
.PARAM dRd={fpar18/a+if(dVth==0,limit(dR,0,1)*max(Rlim-fpar18/a-Rs-Rp,0),0)}
.PARAM bm={fpar4/((1/gmin-Rs)**2*Inn*a*(fpar21/fpar20)**fpar29)}
.PARAM bet={fpar14+(fpar14-bm)*if(dR==0,if(dVth==0,limit(dgfs,-1,0),0),0)}
.PARAM dC1={1+dCmax*limit(dC,0,1)}

.PARAM x0={(fpar35-fpar36)/fpar37} x1={fpar35/fpar37} dx={x1-x0} y1={(fpar40*a+fpar41)*dC1}
.PARAM a0={(fpar49-fpar50)/fpar51} a1={fpar49/fpar51} da={a1-a0}
*.PARAM aqc80={a*fpar49*dC1}
.PARAM aqc81={a*fpar50*dC1}
*.PARAM aqc82={a*fpar51*dC1}

.PARAM Cox1={fpar38*a*dC1}
.PARAM y0={fpar36*a*dC1}
.PARAM C0={fpar42*a*dC1}
.PARAM C1={fpar43*a*dC1}
.PARAM C2={fpar45*a*dC1}
.PARAM C3={fpar52*a*dC1}
.PARAM Cgs0={(fpar34+fpar33*a)*dC1}
.PARAM dRdi={fpar24/a}
.PARAM y2={fpar47*a*dC1}

.FUNC QCdg1(x) {y0*min(x,x1)+y1*max(x-x1,0)+y2/2*max(0, x-fpar48)**2+(y0-y1)*((limit(x,x0,x1)-x0)**3/(dx*dx)*((limit(x,x0,x1)-x0)/(2*
$
ERROR(ORPSIM-16366): Line too long. Limit is 132 characters.
.FUNC QCds1(x) {aqc81*min(x,a1)+aqc81*((limit(x,a0,a1)-a0)**3/(da*da)*((limit(x,a0,a1)-a0)/(2*da)-1))}
.FUNC I0(Uee,p,pp,z1,cc) {if(Uee>pp,(Uee-cc*z1)*z1,p*(pp-p)/cc*exp((Uee-pp)/p))}
.FUNC Ig(Uds,T,p,Uee,cc) {bet*(fpar21/T)**fpar29*I0(Uee,p,min(2*p,p+cc*Uds),min(Uds,Uee/(2*cc)),cc)}
.FUNC J(d,g,T,da,s)
+ {a*(s*((Ig(da,T,(fpar15+(fpar16+fpar17*T)*T)*fpar3*T,g-Vth+fpar6*(T-fpar20),fpar4)+1*exp(min(fpar12+(d-fpar13-fpar10*(T-fpar20))/fp
$
ERROR(ORPSIM-16366): Line too long. Limit is 132 characters.
.PARAM dRd {fpar18/a+if(dVth==0,limit(dR,0,1)*max(Rlim-fpar18/a-Rs-Rp,0),
+ 0)}
.PARAM bm {fpar4/((1/gmin-Rs)**2*Inn*a*(fpar21/fpar20)**fpar29)}
.PARAM bet {fpar14+(fpar14-bm)*if(dR==0,if(dVth==0,limit(dgfs,-1,0),0),
+ 0)}
.PARAM dC1 {1+dCmax*limit(dC,0,1)}
.PARAM x0 {(fpar35-fpar36)/fpar37} x1 {fpar35/fpar37} dx {x1-x0} y1 {(fpar40*a+fpar41)*dC1}
.PARAM a0 {(fpar49-fpar50)/fpar51} a1 {fpar49/fpar51} da {a1-a0}
.PARAM aqc81 {a*fpar50*dC1}
.PARAM Cox1 {fpar38*a*dC1}
.PARAM y0 {fpar36*a*dC1}
.PARAM C0 {fpar42*a*dC1}
.PARAM C1 {fpar43*a*dC1}
.PARAM C2 {fpar45*a*dC1}
.PARAM C3 {fpar52*a*dC1}
.PARAM Cgs0 {(fpar34+fpar33*a)*dC1}
.PARAM dRdi {fpar24/a}
.PARAM y2 {fpar47*a*dC1}
.FUNC QCds1(x) {aqc81*min(x,a1)+aqc81*((limit(x,a0,a1)-a0)**3/(da*da)*(
+ (limit(x,a0,a1)-a0)/(2*da)-1))}
.FUNC I0(Uee,p,pp,z1,cc) {if(Uee>pp,(Uee-cc*z1)*z1,p*(pp-p)/cc*exp((Uee-pp)/p))}
.FUNC Ig(Uds,T,p,Uee,cc) {bet*(fpar21/T)**fpar29*I0(Uee,p,min(2*p,p+cc*Uds),
+ min(Uds,Uee/(2*cc)),cc)}
.FUNC J(d,g,T,da,s)
-------------------$
ERROR(ORPSIM-16270): No .FUNC definition
.PARAM dRd {fpar18/a+if(dVth==0,limit(dR,0,1)*max(Rlim-fpar18/a-Rs-Rp,0),
+ 0)}
.PARAM bm {fpar4/((1/gmin-Rs)**2*Inn*a*(fpar21/fpar20)**fpar29)}
.PARAM bet {fpar14+(fpar14-bm)*if(dR==0,if(dVth==0,limit(dgfs,-1,0),0),
+ 0)}
.PARAM dC1 {1+dCmax*limit(dC,0,1)}
.PARAM x0 {(fpar35-fpar36)/fpar37} x1 {fpar35/fpar37} dx {x1-x0} y1 {(fpar40*a+fpar41)*dC1}
.PARAM a0 {(fpar49-fpar50)/fpar51} a1 {fpar49/fpar51} da {a1-a0}
.PARAM aqc81 {a*fpar50*dC1}
.PARAM Cox1 {fpar38*a*dC1}
.PARAM y0 {fpar36*a*dC1}
.PARAM C0 {fpar42*a*dC1}
.PARAM C1 {fpar43*a*dC1}
.PARAM C2 {fpar45*a*dC1}
.PARAM C3 {fpar52*a*dC1}
.PARAM Cgs0 {(fpar34+fpar33*a)*dC1}
.PARAM dRdi {fpar24/a}
.PARAM y2 {fpar47*a*dC1}
.FUNC QCds1(x) {aqc81*min(x,a1)+aqc81*((limit(x,a0,a1)-a0)**3/(da*da)*(
+ (limit(x,a0,a1)-a0)/(2*da)-1))}
.FUNC I0(Uee,p,pp,z1,cc) {if(Uee>pp,(Uee-cc*z1)*z1,p*(pp-p)/cc*exp((Uee-pp)/p))}
.FUNC Ig(Uds,T,p,Uee,cc) {bet*(fpar21/T)**fpar29*I0(Uee,p,min(2*p,p+cc*Uds),
+ min(Uds,Uee/(2*cc)),cc)}
.FUNC J(d,g,T,da,s)
-------------------$
ERROR(ORPSIM-16270): No .FUNC definition


Viewing all articles
Browse latest Browse all 1074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>