• 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. PCB Design
  3. pspice error(Subcircuit LOWONSWITCH used by X_U8.X1 is undefined...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 165
  • Views 3393
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

pspice error(Subcircuit LOWONSWITCH used by X_U8.X1 is undefined)

Jacky007
Jacky007 over 13 years ago

sir:

   I use the orcad10.5,and I construct a project in the capture cis. In the schematic, I use a device adg1211. I download the psice model of adg1211 from website of anolay.com, and I build the .lib and .olb file by myself. I surely add the .lib file path to the project and add it as the global library, but the pspiceA/D report errors as follow:

ERROR -- Subcircuit LOWONSWITCH used by X_U8.X1 is undefined
ERROR -- Subcircuit LOWONSWITCH used by X_U8.X2 is undefined
ERROR -- Subcircuit LOWONSWITCH used by X_U8.X3 is undefined
ERROR -- Subcircuit LOWONSWITCH used by X_U8.X4 is undefined

U8 is the device of adg1211 i use. Besides, I also confront the similiar error of other device model. what is the possible reason for these debugs??

thank you in advance.best wishes!

Jacky

2012-01-13

  • Cancel
  • oldmouldy
    oldmouldy over 13 years ago

    LOWONSWITCH is part of the ADG1211 model, check that you have correctly downloaded the model text from the web site, save the LIB file from the model editor before exporting the Capture parts. Ensure that your LIB file for the ADG1211 has this entry definition:

    .SUBCKT LOWONSWITCH  101 102 103 104 105 106

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Jacky007
    Jacky007 over 13 years ago

     oldmouldy:

     The .lib file has the definition:

    .SUBCKT ADG1211 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16

     ****************
    * Logic Low On Switch
    *
    * Connections
    *      101 = S
    *      102 = D
    *      103 = VIN
    *      104 = VDD
    *      105 = GND
    *      106 = VSS
    *****************

    but it do not contain the definition:

     .SUBCKT LOWONSWITCH  101 102 103 104 105 106

     

    Is it right?

    Thank you......

    jacky

    2012-01-14

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Jacky007
    Jacky007 over 13 years ago

     sir:

         I surely download the correct model of ADG1211 from the website, and save lib file from the model editor before exporting the capture parts. In the lib file, there is not the definition:

     .SUBCKT LOWONSWITCH  101 102 103 104 105 106

     but it contain the definition:

    .SUBCKT ADG1211 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16

    Is that is OK?

    jacky

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alok Tripathi
    Alok Tripathi over 13 years ago

    This LOWONSWITCH model is included in Model definition available at Analog devices site. I have pasted the same below for your reference. You need to include complete model of ADG1211, that model and all models referred by it.

    Once simple way could be save the complete ADG1211.CIR file  (http://www.analog.com/Analog_Root/static/techSupport/designTools/spiceModels/license/spice_general.html?cir=adg1211.cir)as .lib file and include that in simulation profile. 

    Hope this helps.

     

    ****************
    * Logic Low On Switch
    *
    * Connections
    *      101 = S
    *      102 = D
    *      103 = VIN
    *      104 = VDD
    *      105 = GND
    *      106 = VSS
    *****************

    .SUBCKT LOWONSWITCH  101 102 103 104 105 106

    x1 103 104 105 107 NOTGATE
    X2 107 108 104 106 105 VSENSE
    X3 108 105 109 ENABLEDELAY
    X4 101 102 109 104 105 106 SWITCH

    *MODELS USED
    .ENDS

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Square
    Square over 11 years ago
    I have encountered the same error, I found all these model shares a common character, which is containing multiple subcircuits. When I tried to import them with the model editor, the editor can only recognize the very first subcircuit. After tried to unname the .cir to .lib and added to global library, it works now.
    • Cancel
    • Vote Up 0 Vote Down
    • 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