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.

Importing a new library into OrCAD Allegro

Other Parts Discussed in Thread: OPA301

Hi

I am trying to incorporate opa301 in a simulation. Downloaded the spice files from TI and converted them as the manual says says. However the simulation return the error massage: "INTERNAL ERROR -- Divide by Zero, Divide" which means that some fundamental parameter is zero. taking a closer look at the downloaded model files I found out that all the .model diods and MOSFETS in the spice model are not addressed anywhere in the net-list. the model files created are bad as shown below:

X_U2.POUT            
PMOS                      
LEVEL    1               
L  100.000000E-06   
W  100.000000E-06  
VTO    -.7             
KP  200.000000E-06 
GAMMA    0                      
PHI     .6                     
LAMBDA    0               
IS   10.000000E-15  
JS    0                         
PB     .8                  
PBSW     .8                   
CJ    0                      
CJSW    0                      
CGSO    0               
CGDO    0                 
CGBO    0                         
TOX    0                       
XJ    0                    
UCRIT   10.000000E+03   
DIOMOD    1                         
VFB    0                    
LETA    0                        
WETA    0                      
U0    0                 
TEMP    0                   
VDD    5                      
XPART    0

I am guessing this is why I have the errors
see in the .lib spice model I got from TI website there are .model files such as

.MODEL PSW PMOS KP=200U VTO=-7.5 IS=1E-18
.MODEL NSW NMOS KP=200U VTO=7.5 IS=1E-18

and they are not addressed at all anywhere.

how do I solve this issue ?

Best Regards

  • Hello Sina,

    I don't use Orcad, but I opened the TINA model and the following models were in it.  Perhaps you could copy those into your Orcad model.

    Regards,

    Loren

    .MODEL DVN D KF=8E-12 IS=1E-16
    .MODEL DIN D
    .MODEL DD D
    .MODEL JI NJF IS=1E-18
    .MODEL QPL PNP
    .MODEL QNL NPN
    .MODEL POUT PMOS KP=200U VTO=-0.7
    .MODEL NOUT NMOS KP=200U VTO=0.7
    .MODEL PIN PMOS KP=200U VTO=-0.7
    .MODEL NIN NMOS KP=200U VTO=0.7
    .MODEL NEN NMOS KP=200U VTO=0.5 IS=1E-18
    .MODEL PEN PMOS KP=200U VTO=-0.7 IS=1E-18
    .MODEL PSW PMOS KP=200U VTO=-7.5 IS=1E-18
    .MODEL NSW NMOS KP=200U VTO=7.5 IS=1E-18