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.

LM2903-Q1: PSpice file not compiling

Part Number: LM2903-Q1


Tool/software:

Hello Team,

we were trying to use below PSpice model for our simulation but enable to use due to error while importing in Ansys version 2024 R2 (Build : 2024-05-23 02:23:50)

"[error] Unable to find model '_4ORGATE'. Please check your libraries." 

www.ti.com/.../LM2903-Q1

  • Hi Neha,

    I'm not too familiar with the process of importing a PSpice model into Ansys, but the 4ORGATE is a subcircuit defined in the .lib file of the LM2903-Q1 model:

    *$
    .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 )), V(VDD), V(VSS) ) }
    R1 5 6 1
    .ENDS
    *$

    It's possible that something changed the reference to that subcircuit to '_4ORGATE' instead of '4ORGATE' during the import.

  • Dear Sir, 

     '_4ORGATE' instead of '4ORGATE' Still not working .

    Please find the generated error in below line while simulating PSpice .

    Kindly help to resolve this issue. 

    X_U8 POR IN_RANGE EN EN CONTROL_HIZ 1V 0 4ORGATE

  • Hi Neha,

    Is that all that was provided in the error? That line is just part of the netlist in the output stage subcircuit.

    I was able to simulate the PSpice file from the LM2903-Q1 product page with ORCAD Capture CIS 23.1.0:

    Could you make sure the .lib file is part of the configured library for your simulator?