• 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. Custom IC Design
  3. Libraries not imported in the Library manager

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 125
  • Views 17570
  • Members are here 0
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

Libraries not imported in the Library manager

UUinfini
UUinfini over 5 years ago

Dear guys,

I would like to ask a question about the libraries. When we installed Cadence before, the libraries are all well imported. But recently, it seems the following instruction in the "cds.lib" does not work:

SOFTINCLUDE $UCDPRJDIR/.ukcds5/${UK_CDS_PREFIX}cds.lib

Our current version is Cadence 6.1.7. Is it possible that this is not compatible with this version? Thanks in advance for your help.

Best regards,

UU

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    I see no reason why that should not work. Are you sure that you have the UNIX environment variables UCDPRJDIR and UK_CDS_PREFIX set?

    In the unlikely event that it was broken in a specific subversion of IC617, which exact subversion are you using (Help->About will tell you this, or the result of the getVersion(t) function in the CIW).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • UUinfini
    UUinfini over 5 years ago in reply to Andrew Beckett

    Thanks for your quick reply. It's verified that the Cadence is IC6.1.7-64b.500.21.  By the way, how can I be sure I have the UNIX environment variables UCDPRJDIR and UK_CDS_PREFIX set? Thanks in advance.

    Regards,

    UU

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to UUinfini

    I checked that version and it works fine for me with that precise SOFTINCLUDE (provided I have the environment variables set, and a suitable file available for it to include, of course).

    You can check the env vars are set in your setup by typing:

    getShellEnvVar("UCDPRJDIR")
    getShellEnvVar("UK_CDS_PREFIX")

    in the CIW. If these return nil, the env vars aren't set; if they return a string, they are set.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • UUinfini
    UUinfini over 5 years ago in reply to Andrew Beckett

    Thanks very much. It's verified that they are set, so we just insert the libraries by hand in the cds.lib file, not by SOFTINCLUDE. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to UUinfini

    I don't see why that should be necessary, assuming that the "cds.lib" file (with resolved env vars) exists. Whilst you have a workaround, if you want to resolve this, the best thing would be to contact customer support so that we can take a look in more detail to work out why this is not working for you.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • UUinfini
    UUinfini over 5 years ago in reply to Andrew Beckett

    Thanks very much. We will check again and contact the support.

    I have another question about this library. When we used this library(cmos045) in Cadence 615 and 616, it worked well. But recently we tried to implement the library in the same way in Cadence IC6.1.7-64b.500.21. There are several problems. The installation goes well, but the simulation has encountered proble. The details are as follows:

    In the « .simrc » file, the switchviewlist and stopviewlist are defined as follows :

    ;;;;;; UNICAD update of .simrc begin ;;;;;;

    UkerSimrc = t

    loadi(strcat(getShellEnvVar("UNICAD_KERNEL_ROOT") "/Uker.ile"))

    UkerSimrc = nil

    ;;;;;; UNICAD update of .simrc end ;;;;;;

    loadi( strcat(getShellEnvVar("PDKITROOT") "/" "PDK_STM_cmos040lp_AMS_7m4x0y2z_2V51V8.simrc"))

    asiSetEnvOptionVal(asiGetTool('spectre) "switchViewList"

    list("SimMosfetStandard" "SimDiodeStandard" "SimCpolyStandard" "SimCmetalStandard" "SimCfringeStandard" "SimCfringeAccurate" "SimResistorStandard" "SimResistorAccurate" "SimResistorHF" "SimResistorHFV" "SimBipolarStandard" "SimCmimStandard" "SimCapaStd" "SimCapaAcc" "SimMosfetAccurate" "SimMosfetrfStandard" "SimMosfetrfPSP" "SimInductorStandard" "SimInductorAccurate" "SimVaractorStandard" "SimCmomStandard" "SimCmomAccurate" "hspiceS" "hspiceD" "auCmos_sch" "cmos_sch" "cmos.sch" "ads_schematic" "schematic" "auGate_sch" "auGate.sch" "gate_sch" "gate.sch" "extracted"

    ))

    asiSetEnvOptionVal(asiGetTool('spectre) "stopViewList"

    list("SimMosfetStandard" "SimDiodeStandard" "SimCpolyStandard" "SimCmetalStandard" "SimCfringeStandard" "SimCfringeAccurate" "SimResistorStandard" "SimResistorAccurate" "SimResistorHF" "SimResistorHFV" "SimBipolarStandard" "SimCmimStandard" "SimCapaStd" "SimCapaAcc" "SimMosfetAccurate" "SimMosfetrfStandard" "SimMosfetrfPSP" "SimInductorStandard" "SimInductorAccurate" "SimVaractorStandard" "SimCmomStandard" "SimCmomAccurate" "hspiceS" "hspiceD"

    ))

     asiSetEnvOptionVal(asiGetTool('spectre) "modelFiles"

    list( strcat(getShellEnvVar("PDKITROOT") "/" "/SIMU/SPECTRE/ST/corners.scs" )

     

    But when we perform a simulation, the two lists in the environment settings appear like :

    spectre cmos_sch cmos.sch schematic veriloga

    spectre

     

    When we run the simulation, the error in the CIW is :

    ERROR (OSSHNL-116): Unable to descend into any of the views defined in the view list, 'spectre cmos_sch cmos.sch schematic veriloga', for the

    instance 'M0' in cell 'inverter'. Add one of these views to the cell 'nlvtlp' in the

    library 'cmos045', or modify the view list so that it contains an existing view.

     

     

    When 'SimMosfetStandard' is added into the switchviewlist, there is no output, and the warnings in “spetre.out”  file are:

     Warning from spectre during AHDL read-in.

        WARNING (VACOMP-2435): The environment variable CDS_AHDLCMI_ENABLE is no longer supported. Therefore, the simulator will use the default compiled C code flow.

     Warning from spectre during hierarchy flattening.

    WARNING (SPECTRE-17101): The value 'psf' specified using the 'checklimitdest' option will no longer be supported in future releases.

    The warnings in CIW are:

    WARNING (OSSHNL-117): Ignoring switch view 'SimMosfetStandard' of cell 'nlvtlp' in library 'cmos045', as it does not contain

    any instance. To netlist this cell, add this switch view to the stop list or to

    ignore any specific instance set the property 'nlAction' to value "ignore" on

    this cell view.

     

    WARNING (OSSHNL-117): Ignoring switch view 'SimMosfetStandard' of cell 'plvtlp' in library 'cmos045', as it does not contain

    any instance. To netlist this cell, add this switch view to the stop list or to

    ignore any specific instance set the property 'nlAction' to value "ignore" on

    this cell view.

     

    When the switch lists and stop lists in the  « .simrc » file are injected by hands, the errors appear like :

    Netlist Error: Could not find netlist procedure:UartDirectSubcktCall instance "M0" in cell-view "Test" "inverter" "schematic"

    Netlist Error: Could not find netlist procedure:UartDirectSubcktCall instance "M1" in cell-view "Test" "inverter" "schematic"

    So, in your opinion, is it possible that the Cadence 617 does not support this library? Thanks very much in advance. 

    Best regards,

    UU

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • UUinfini
    UUinfini over 5 years ago in reply to Andrew Beckett

    Thanks very much. We will check again and contact the support.

    I have another question about this library. When we used this library(cmos045) in Cadence 615 and 616, it worked well. But recently we tried to implement the library in the same way in Cadence IC6.1.7-64b.500.21. There are several problems. The installation goes well, but the simulation has encountered proble. The details are as follows:

    In the « .simrc » file, the switchviewlist and stopviewlist are defined as follows :

    ;;;;;; UNICAD update of .simrc begin ;;;;;;

    UkerSimrc = t

    loadi(strcat(getShellEnvVar("UNICAD_KERNEL_ROOT") "/Uker.ile"))

    UkerSimrc = nil

    ;;;;;; UNICAD update of .simrc end ;;;;;;

    loadi( strcat(getShellEnvVar("PDKITROOT") "/" "PDK_STM_cmos040lp_AMS_7m4x0y2z_2V51V8.simrc"))

    asiSetEnvOptionVal(asiGetTool('spectre) "switchViewList"

    list("SimMosfetStandard" "SimDiodeStandard" "SimCpolyStandard" "SimCmetalStandard" "SimCfringeStandard" "SimCfringeAccurate" "SimResistorStandard" "SimResistorAccurate" "SimResistorHF" "SimResistorHFV" "SimBipolarStandard" "SimCmimStandard" "SimCapaStd" "SimCapaAcc" "SimMosfetAccurate" "SimMosfetrfStandard" "SimMosfetrfPSP" "SimInductorStandard" "SimInductorAccurate" "SimVaractorStandard" "SimCmomStandard" "SimCmomAccurate" "hspiceS" "hspiceD" "auCmos_sch" "cmos_sch" "cmos.sch" "ads_schematic" "schematic" "auGate_sch" "auGate.sch" "gate_sch" "gate.sch" "extracted"

    ))

    asiSetEnvOptionVal(asiGetTool('spectre) "stopViewList"

    list("SimMosfetStandard" "SimDiodeStandard" "SimCpolyStandard" "SimCmetalStandard" "SimCfringeStandard" "SimCfringeAccurate" "SimResistorStandard" "SimResistorAccurate" "SimResistorHF" "SimResistorHFV" "SimBipolarStandard" "SimCmimStandard" "SimCapaStd" "SimCapaAcc" "SimMosfetAccurate" "SimMosfetrfStandard" "SimMosfetrfPSP" "SimInductorStandard" "SimInductorAccurate" "SimVaractorStandard" "SimCmomStandard" "SimCmomAccurate" "hspiceS" "hspiceD"

    ))

     asiSetEnvOptionVal(asiGetTool('spectre) "modelFiles"

    list( strcat(getShellEnvVar("PDKITROOT") "/" "/SIMU/SPECTRE/ST/corners.scs" )

     

    But when we perform a simulation, the two lists in the environment settings appear like :

    spectre cmos_sch cmos.sch schematic veriloga

    spectre

     

    When we run the simulation, the error in the CIW is :

    ERROR (OSSHNL-116): Unable to descend into any of the views defined in the view list, 'spectre cmos_sch cmos.sch schematic veriloga', for the

    instance 'M0' in cell 'inverter'. Add one of these views to the cell 'nlvtlp' in the

    library 'cmos045', or modify the view list so that it contains an existing view.

     

     

    When 'SimMosfetStandard' is added into the switchviewlist, there is no output, and the warnings in “spetre.out”  file are:

     Warning from spectre during AHDL read-in.

        WARNING (VACOMP-2435): The environment variable CDS_AHDLCMI_ENABLE is no longer supported. Therefore, the simulator will use the default compiled C code flow.

     Warning from spectre during hierarchy flattening.

    WARNING (SPECTRE-17101): The value 'psf' specified using the 'checklimitdest' option will no longer be supported in future releases.

    The warnings in CIW are:

    WARNING (OSSHNL-117): Ignoring switch view 'SimMosfetStandard' of cell 'nlvtlp' in library 'cmos045', as it does not contain

    any instance. To netlist this cell, add this switch view to the stop list or to

    ignore any specific instance set the property 'nlAction' to value "ignore" on

    this cell view.

     

    WARNING (OSSHNL-117): Ignoring switch view 'SimMosfetStandard' of cell 'plvtlp' in library 'cmos045', as it does not contain

    any instance. To netlist this cell, add this switch view to the stop list or to

    ignore any specific instance set the property 'nlAction' to value "ignore" on

    this cell view.

     

    When the switch lists and stop lists in the  « .simrc » file are injected by hands, the errors appear like :

    Netlist Error: Could not find netlist procedure:UartDirectSubcktCall instance "M0" in cell-view "Test" "inverter" "schematic"

    Netlist Error: Could not find netlist procedure:UartDirectSubcktCall instance "M1" in cell-view "Test" "inverter" "schematic"

    So, in your opinion, is it possible that the Cadence 617 does not support this library? Thanks very much in advance. 

    Best regards,

    UU

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to UUinfini

    This is very specific to the UNICAD (ST) environment. You would be better off contacting ST Microelectronics for support, since it's their design kit and design environment that is involved here (I can't comment on whether there's anything in that environment that is overriding the switch view lists etc, or why the netlist procedure is not loaded).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • UUinfini
    UUinfini over 5 years ago in reply to Andrew Beckett

    Thanks very much.

    Best,

    UU

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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