• 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. *Error* Library "my_lib" does not exist

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 4212
  • 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

*Error* Library "my_lib" does not exist

Michele Ancis
Michele Ancis over 9 years ago

Hi,

this is the message I get when launching an ADE XL generated OCEAN script from a certain location.

It is the result of a certain procedure outlined below, on which I would like to hear your comments and suggestions.

Thank you!

Background

In some instances I find it easier/faster to perform sweeps on a netlist instead of using the Schematic Editor and the GUI. To accomplish this, if follow these steps:

  1. Create an ADE XL state with a certain test bench, corners and sweeps, variables and all.
  2. Run a sample sweep
  3. Save the OCEAN file of the sweep.
  4. Copy the netlist folder relative to 2. somewhere in my dir structure where I want to have this ran, together with the OCEAN in 3
  5. Modify the OCEAN script as to point to "netlist/netlist" as the design: design("./netlist/netlist")
  6. Launch ocean in the proper directory, then load the modified script

I've seen it working :-)

Meaning, it has worked for me already in the past.

The beginning of the OCEAN script reads as follows:

oceansetXLmode()

ocnxlProjectDir(".")

ocnxlTargetCellView("my_lib" "my_cell" "my_adexl_view")

This should tell the script to use whichever directory it finds itself in as a starting point, and when it works it creates a folder structure from that point with "my_lib" as the top folder, "my_cell" as a sub-folder and "my_adexl_view" as sub-sub-folder with the results structure inside.

Sometimes however I get the error in the title, namely that this library I am asking to use does not exist. One workaround I've found is to specify a different ADE XL view for each time I launch the script: "my_adexl_view1", "my_adexl_view2"...and so on.

It appears as if I cannot overwrite an existing view with new results, or append them.

Is that the intended behaviour? Am I doing something unorthodox?

Cheers,

Michele

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

    Hi Michele,

    When you run in OCEAN XL, the normal expectation is that the target cellView is an existing adexl view. If you do this, it will write a new history into that cellView. Note that for this to work, you can't have ADE XL open in edit mode at the same time on the same cellView because you can't have two sessions at once on the same cellView. So this may be why it's not working for you?

    You can't just change the lib/cell/view arbitrarily - the library name has to exist. If you change the lib/cell/view to a cellView that doesn't exist (in the target cellview call), for a library that does exist, then it won't be completely successful - the situation will run, but you won't be able to open the history. In that case you have to add something like:

    ocnxlSaveSetupAs("opamp090" "NEW_full_diff_opamp" "adexl" )

    (where the lib/cell/view match your target cellView) to save the setup into the new view too.

    Hopefully that will steer you on the right way?

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Michele,

    When you run in OCEAN XL, the normal expectation is that the target cellView is an existing adexl view. If you do this, it will write a new history into that cellView. Note that for this to work, you can't have ADE XL open in edit mode at the same time on the same cellView because you can't have two sessions at once on the same cellView. So this may be why it's not working for you?

    You can't just change the lib/cell/view arbitrarily - the library name has to exist. If you change the lib/cell/view to a cellView that doesn't exist (in the target cellview call), for a library that does exist, then it won't be completely successful - the situation will run, but you won't be able to open the history. In that case you have to add something like:

    ocnxlSaveSetupAs("opamp090" "NEW_full_diff_opamp" "adexl" )

    (where the lib/cell/view match your target cellView) to save the setup into the new view too.

    Hopefully that will steer you on the right way?

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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