• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PSpice
  3. Import of OpAmp .cir Model in Pspice

Stats

  • State Verified Answer
  • Replies 8
  • Subscribers 28
  • Views 10095
  • Members are here 0
More Content

Import of OpAmp .cir Model in Pspice

MrTF
MrTF over 1 year ago

Hi All,

I tried to import in the PSpice the model of ADA4945 which was downloaded through the AD website.

The model contains several .Subckt which I cannot really understand how are these utilized by the PSpice Simulation Engine.

I was not able also to find a step by step guide to import that model "properly" in the Capture.

I did used though the PSpice model editor to open the file.cir, generate an .olb file and then modify the schematic symbol through the Capture.

Afterwards I created a new project where I was able to place the component but I encountered the following error.

ERROR(ORPSIM-15108): Subcircuit ADA4945 used by X_U1 is undefined.

Any clues about what this error is related to and how I can eliminate it?

After interrating the process of importing the model as described in the Annex C of the Pspice User guide I came up with the following errors:

ERROR(ORPSIM-16362): Name on .ENDS does not match .SUBCKT

ERROR(ORPSIM-15113): Model Res1 used by X_U1.Rv1 is undefined

ERROR(ORPSIM-15113): Model Res2 used by X_U1.Rv2 is undefined

ERROR(ORPSIM-15113): Model Res3 used by X_U1.Ros1 is undefined

ERROR(ORPSIM-15113): Model Res4 used by X_U1.Ros2 is undefined

ERROR(ORPSIM-15113): Model Res5 used by X_U1.RbP1 is undefined

ERROR(ORPSIM-15113): Model Res6 used by X_U1.RbN1 is undefined

ERROR(ORPSIM-15108): Subcircuit ADA4945-H-Amp used by X_U1.X1H is undefined

ERROR(ORPSIM-15108): Subcircuit ADA4945-H-Amp used by X_U1.X2H is undefined

ERROR(ORPSIM-15108): Subcircuit ADA4945-H-Vocm used by X_U1.X3H is undefined

ERROR(ORPSIM-15108): Subcircuit ADA4945-L-Amp used by X_U1.X1L is undefined

ERROR(ORPSIM-15108): Subcircuit ADA4945-L-Amp used by X_U1.X2L is undefined

ERROR(ORPSIM-15108): Subcircuit ADA4945-L-Vocm used by X_U1.X3L is undefined

  • Sign in to reply
  • Cancel
  • MrTF
    0 MrTF over 1 year ago

    I found the process listed in the Annex C of the PSpice user guide for importing the model.

    The errors now are as follows:

    ERROR(ORPSIM-16362): Name on .ENDS does not match .SUBCKT

    ERROR(ORPSIM-15113): Model Res1 used by X_U1.Rv1 is undefined

    ERROR(ORPSIM-15113): Model Res2 used by X_U1.Rv2 is undefined

    ERROR(ORPSIM-15113): Model Res3 used by X_U1.Ros1 is undefined

    ERROR(ORPSIM-15113): Model Res4 used by X_U1.Ros2 is undefined

    ERROR(ORPSIM-15113): Model Res5 used by X_U1.RbP1 is undefined

    ERROR(ORPSIM-15113): Model Res6 used by X_U1.RbN1 is undefined

    ERROR(ORPSIM-15108): Subcircuit ADA4945-H-Amp used by X_U1.X1H is undefined

    ERROR(ORPSIM-15108): Subcircuit ADA4945-H-Amp used by X_U1.X2H is undefined

    ERROR(ORPSIM-15108): Subcircuit ADA4945-H-Vocm used by X_U1.X3H is undefined

    ERROR(ORPSIM-15108): Subcircuit ADA4945-L-Amp used by X_U1.X1L is undefined

    ERROR(ORPSIM-15108): Subcircuit ADA4945-L-Amp used by X_U1.X2L is undefined

    ERROR(ORPSIM-15108): Subcircuit ADA4945-L-Vocm used by X_U1.X3L is undefined

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • AyushD
    0 AyushD over 1 year ago in reply to MrTF

    undefined model / subckt error comes when you have not added this external library in the configuration files.
    All the libraries other than the ones that are from the default tool installation, needs to be configured in simulation settings. See below image for reference, browse the library and add it to your design before running the simulation

    Regarding name on .ENDS does not match .SUBCKT, this problem is caused by the end-of-line character.
    Check that .ENDS statement is not missing and also open the model in a text editor for e.g. notepad and select Edit -> EOL Conversion -> Windows format. This should convert all line endings to a Windows format. Save and close the file.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • MrTF
    0 MrTF over 1 year ago in reply to AyushD

    I already have done this, i.e. I added to the design the library through the simulation profile.

    This was not the issue. I am afraid that the process I am following to add the model and the library in the CADENCE PSpice is not the correct one or it does not apply for a model that is described in the .cir file downloaded from the analog devices which contraines multiple .Subckt parts. Is there any other description or instruction on how this can be properly done because I think that the process described in the Appendix C of the user manual I don't this is the right one.

    As I mentioned opening the file through the Model Editor (after changing the extension of the .cir to .mod) file it does not detect any of the rest of the subcircuits other than the very first one. 

    If possible provide some detailed insight on how the library and the model of this particular file (ad4945.cir) can be properly inserted.

    This is the outcome after I did a thrid attempt.

    ERROR(ORPSIM-16362): Name on .ENDS does not match .SUBCKT


    ERROR(ORPSIM-15113): Model Res1 used by X_U1.Rv1 is undefined

    ERROR(ORPSIM-15113): Model Res2 used by X_U1.Rv2 is undefined

    ERROR(ORPSIM-15113): Model Res3 used by X_U1.Ros1 is undefined

    ERROR(ORPSIM-15113): Model Res4 used by X_U1.Ros2 is undefined

    ERROR(ORPSIM-15113): Model Res5 used by X_U1.RbP1 is undefined

    ERROR(ORPSIM-15113): Model Res6 used by X_U1.RbN1 is undefined

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • MrTF
    0 MrTF over 1 year ago in reply to AyushD

    These are the results after EOL Conversion to Windows Format.

    STATUS: PSpice Schematics to Capture translator (22.1.0.d001)
    STATUS:
    STATUS: Translator started at Thursday, December 14, 2023 08:04:14
    STATUS: C:\Cadence\SPB_22.1\tools\bin\sch2cap -f "C:\Cadence\SPB_22.1\tools\pspice\library\userlib\ada4945v1.cir" -o "C:\Cadence\SPB_22.1\tools\capture\library\pspice\ADA4945.olb" -i C:\Users\spacecom33\AppData\Roaming\SPB_Data\.\cdssetup\OrCAD_PSpice/22.1.0/PSpice.ini
    INFO(ORSCH-1029): Using existing library 'C:\Cadence\SPB_22.1\tools\Capture\Library\PSpice\modeled.etc'.
    INFO(ORSCH-1029): Using existing library 'C:\Cadence\SPB_22.1\tools\capture\library\pspice\ADA4945.olb'.
    ERROR: .Subckt ADA4945 FBN VinP VinN FBP VCC VEE VoN VoP PD Vocm Clamp-H Clamp-L Mode DGND

    STATUS: Translator stopped at Thursday, December 14, 2023 08:04:14
    STATUS: 1 Error messages, 0 Warning messages


    **** INCLUDING SCHEMATIC1.net ****
    * source FDAV3
    V_V1 VCC 0 7.5Vdc
    V_V2 VEE 0 -2.5Vdc
    V_V3 VOSET 0 2.5Vdc
    R_R1 N00439 N00467 1k TC=0,0
    R_R3 N00487 N00491 1k TC=0,0
    R_R4 VOSET N00487 1k TC=0,0
    R_R5 N00552 N00559 1k TC=0,0
    V_V4 N00934 0 DC 0Vdc AC 1Vac
    R_R6 N00439 N00934 1k TC=0,0
    X_U1 N00467 N00439 N00487 N00491 VCC VEE N00552 N00559 VEE VOSET VCC
    + VEE VCC 0 ADA4945

    **** RESUMING TEST.cir ****
    .END

    ERROR(ORPSIM-15108): Subcircuit ADA4945 used by X_U1 is undefined

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • MrTF
    0 MrTF over 1 year ago in reply to AyushD

    I tried another component (ADA 4899) with exactly the same method of importing it, downloaded from analog devices, also without the EOL Conversion, and the simulation worked fine.

    That is probably an indication that the ADA4945 file is not configured properly or it is not read properly from the Pspice.

    Can you provide any further insight on the importing of this particular file that has multiple .Subckt sections?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information