• 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. Modelfile not loaded in ADE

Stats

  • Locked Locked
  • Replies 18
  • Subscribers 125
  • Views 19291
  • 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

Modelfile not loaded in ADE

HoWei
HoWei over 6 years ago

I transferred an existing project with PDK into our environment.

In .cdsinit it is set:

  envSetVal("spectre.envOpts" "modelFiles" 'string "/model_libraries/models/lvt_mos.scs;TT")

When verifying in the CIW via

 envGetVal("spectre.envOpts" "modelFiles")

I see it is set properly.

But when opening ADE and creating a netlist, it does not include this modelfile. It also does not show the modelfile in the ADE modelfile-popup-windows - its just empty.

This not only for existing cells, it is also for newly created cells.

WhenI select the modelfile in the ADE modelfile-popup-window, it is included in the netlist.

How can I make it to include the modelfile ?

What does prevent the modelfiles to be loaded ?

  • Cancel
Parents
  • HoWei
    HoWei over 6 years ago

    I further-more found, that the netlist includes a file "models.scs", and this file contains:

    "include "setupCornersIncludeFile.scs"

    and this included file contains:

     "include "importNetlist.scs"

    and this included file contains only commented lines, saying that in case of an non included modelfile do "Check&Save" or  "recreate netlist".

    These files are somehow coming from the PDK.

    Any idea ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • HoWei
    HoWei over 6 years ago in reply to HoWei

    I found out that this problem exists only with already existing ADE-states and also when the default simulator was set to Eldo !

    Setting the default simulator from eldo to spectre will include the modelfiles for a new ADE state. 

    For existing states with spectre - the simulator has to be changed to another simulator (e.g. Eldo) and then changed back to spectre - then the modelfiles are shown in GUI.

    Is there a way to tell existing states, that they shall use the model-files defined by "envSetVal("spectre.envOpts" "modelFiles") automatically - without unset/set spectre in the ADE ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to HoWei
    HoWei said:
    Is there a way to tell existing states, that they shall use the model-files defined by "envSetVal("spectre.envOpts" "modelFiles") automatically - without unset/set spectre in the ADE ?

    T...here is an option when you load a state to not update the models from the state: envSetVal("asimenv.loadstate" "modelSetup" 'boolean nil)

    This only works with ADE L though (I think).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • HoWei
    HoWei over 6 years ago in reply to Andrew Beckett

    I am not sure, but I this sounds like I want to set this option to "true" to get it updated, right ?

    If its only for ADE-L this does not help, but I will give it a try ....

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to HoWei

    No. If you set it to t, it means that when you load a state it will use the model setup information stored in the state. If you set it to nil, it will use the "default" setting and not override it with the value saved in the state. 

    You can see the same thing that if you open a new ADE L session, and then use Load State, the "model setup" checkbox will be turned off when you have the env var set to nil. The default value of the env var is t.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • HoWei
    HoWei over 6 years ago in reply to HoWei

    You are right - it only works for ADE-L but not for ADE-XL.

    This means I would need to unload/load the spectre-simulator in all the ADE-XL tests  ?

    No GUI-button to click to load the "default" state ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to HoWei

    No. It's a bit of an odd thing to do...

    I've got some info from ST that I can send you - however, I don't think I should post it in a public forum so I'll email it to you directly.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to HoWei

    No. It's a bit of an odd thing to do...

    I've got some info from ST that I can send you - however, I don't think I should post it in a public forum so I'll email it to you directly.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • HoWei
    HoWei over 6 years ago in reply to Andrew Beckett

    Okay, thanks  - it would be interesting to see their recommendations.

    But I think the above problem is independent from PDK - its a general virtuoso issue if you have existing ADE-XL states and want to change the paths of the model-files.

    Thanks for your quick help !

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to HoWei

    ADE Assembler has the ability for you to set the model setup in one test, and then apply it to all tests (there's an apply to all button). That's not in the older ADE XL because new developments are not going into the older tools in "sunset" mode.

    You also would typically use the corners setup in ADE XL/Explorer/Assembler anyway rather than the models in each test, so that is another way of unifying them.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • HoWei
    HoWei over 6 years ago in reply to Andrew Beckett

    Yep, that is true - at least I know now what the problem is and we will get around it either the one way or the other. The ST comments are very helpful and I have to check what is implemented in our setup.

    Best regards

    Holger

    • 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