• 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. Subcircuit Is Undefined Error

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 164
  • Views 18948
  • 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

Subcircuit Is Undefined Error

KillaKem
KillaKem over 13 years ago

When I try and simulate my circuit, which is just a buffer made up of two inverters back to back, I get the error messages shown below:

 WARNING -- Library file C:\Cadence\SPB_16.3\tools\PSpice\Library\infineon.lib has changed since index file nom.ind was created.

WARNING -- The timestamp changed from Thu Jun 21 17:50:36 2007 to Mon Jan 04 11:42:56 2010.

Making new index file nom.ind for library file nom.lib

ERROR -- Unable to open index file C:\Cadence\SPB_16.3\tools\PSpice\Library\nom.ind. Refer to 'How PSpice uses model libraries' section of pspug.

ERROR -- Unable to make index for library file C:\Cadence\SPB_16.3\tools\PSpice\Library\nom.lib

ERROR -- Subcircuit INV10_H is undefined

ERROR -- Subcircuit INV10_H is undefined

I have added both the NOM.LIB and the other LIB file that contains the INV10_H design as global libraries in simulation settings options window but the errors are still coming up.I thought the problem had something to do with the C:\ drive being READ ONLY so I tried moving both files to another drive and added the LIB files from there but errors still show up IN THE EXACT SAME WAY even though I added the new path in the list of library paths, which I think may mean the ORCAD PSPICE program is refusing to change the path from C:\ to H:\ for some reason.

Please Help.This is my first design :(

 

  • Cancel
  • Alok Tripathi
    Alok Tripathi over 13 years ago

     Yes,you need to provide write permission on C drive, more specifically for "C:\Cadence\SPB_16.3\tools\PSpice\Library" folder. If you can not do this, move the complete library folder anoter location where you have write permission, say H: drive. 

    Open the PSpice.ini file from C:\Cadence\SPB_16.3\tools\PSpice\PSpice.ini location

    Edit the LIBPATH sestion and replace existing lipath with new path.

    Adding new path would not help, as PSpice would still try to create the index file for C:\Cadence\SPB_16.3\tools\PSpice\Library\nom.lib. Looks like this is case at your end.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KillaKem
    KillaKem over 13 years ago
    But the PSpice.ini file is also in the C:\ drive so I can not edit it, is there a way of moving it to the H:\ drive and using it from there?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Alok Tripathi
    Alok Tripathi over 13 years ago

    Copy the PSpice.INI file to H:\ or other location, along with Library files. Edit the PSpice.INI as described above. 

    Then you need to edit the registry entries, I am not sure if you have permission to modify those. in case you have, do the following

    Edit the value for "PSpiceConfigFile" under following REG key

    HKEY_LOCAL_MACHINE\SOFTWARE\Cadence Design Systems\Interchange\16.3.0\ProductConfiguration\Shared

    Point it to modified PSpice.ini

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KillaKem
    KillaKem over 13 years ago
    In the end I ended up arranging for the C:\ drive to be given write access, going into the registry scares me.Thanks a lot.
    • 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