• 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. ADE XL corner test error

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 125
  • Views 17760
  • 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

ADE XL corner test error

SteffenK
SteffenK over 7 years ago

Hello!

When i try to run a corner test it fails with these errors:

Error found by spectre in `modn', during circuit read-in.
ERROR (SFE-23): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 3423: soac_m1 is an instance of an undefined model modn_ahdl.
Error found by spectre in `modp', during circuit read-in.
ERROR (SFE-23): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 3999: soac_m1 is an instance of an undefined model modp_ahdl.

ERROR (SFE-2001): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 3424: `MN0': Problem in evaluating conditional expression for instantiation: Unknown parameter name `modn' found in expression.

Error found by spectre in `modp':`MP0', during hierarchy flattening.
ERROR (SFE-2001): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 4000: `MP0': Problem in evaluating conditional expression for instantiation: Unknown parameter name `modp' found in expression.

Error found by spectre in `modn':`MN0', during hierarchy flattening.
ERROR (SFE-1997): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 3428: MN0.notvalid: parameter `errorif': Unknown parameter name `modn' found in expression.

Error found by spectre in `modp':`MP0', during hierarchy flattening.
ERROR (SFE-1997): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 4004: MP0.notvalid: parameter `errorif': Unknown parameter name `modp' found in expression.

The schematic is a simple common-source stage, which should not be the culprint (Picture link). I can manually change the corner or temperature in ADE L and it simulates without problems.

If i open another ADE XL corner testbench which was used for another cell, and add a test for my cell to it, it works fine. So it looks like it is a problem with the way i setup the new testbench, but i can't seem to figure out why, or what parameter it might be that mismatches from the working testbench.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    First all, apologies for this being delayed in being posted. The spam filters detected the repeated text and caused it to go into moderation as potential spam. I fixed that as soon as I was notified.

    What this is saying is that you don't have all the model files included when you're simulating. I'm not sure if you've set up corners in ADE XL - if you have, is it including all the right files? Bear in mind you need to include all the files in the corners set up which are in the Setup->Model Libraries in the test itself; anything that is under Setup->Simulation Files in the test don't get included in the corner setup - they will be included in the netlist anyway.

    Taking a look at what the include statements in the netlist are between the situation that works and that which doesn't ought to give some pointers as to what is going wrong.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SteffenK
    SteffenK over 7 years ago in reply to Andrew Beckett

    Hi Andrew. No worries and thanks for your answer.

    When i set up the corners in ADE XL i add the model files by clicking the "Import from Tests" button and ok (picture). Thats basically all i do to reference any models. This should be adequate right? I am trying to follow a small guide which demonstrates this, i have not much prior experience with it. 

    I will take a look at the netlists next week to see if there should be some includes that is missing

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to SteffenK
    SteffenK said:
    This should be adequate right?

    That's what I'd expect, but clearly something has gone wrong and a file is missing somehow. Hopefully your investigations next week will reveal what's wrong.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SteffenK
    SteffenK over 7 years ago in reply to Andrew Beckett

    I would like to add that it successfully run the 'Nominal' case without errors, and even though i specify the corner test to run the same corner it still fails at that. see picture here: corner results page

    I find that rather strange.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to SteffenK

    It’s not necessarily strange if there’s a difference between the model setup in the test (which is what the “Nominal” corner uses) and the model setup in the corners. As I said, I’m sure it will be obvious once you look at what is being included in the netlist in good and bad cases. 

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SteffenK
    SteffenK over 7 years ago in reply to Andrew Beckett

    You were right. There is no includes at all when i look at the netlist created by ADE XL. When i look into the netlist that ADE L creates, they are all included as they should be. Do you have any idea why/how this happens? As i showed earlier, i did add the files in the corner setup page

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to SteffenK

    That seems rather odd, because the messages in your original post implies that at least some of the model files are being included.

    The best way forward would probably be to contact customer support - I suspect having a quick web screen-sharing session would solve this quickly. If you really can't do that (and that would be much more efficient than trying to do this via back-and-forth in the forums), can  you at least provide:

    1. The subversion of Virtuoso you're using (Help->About in any window will tell you)
    2. A screen shot of the Corners UI (you can upload pictures to this forum by dragging them in, or using Insert->Insert image/video/file - that's better than adding links to external locations as the images appear inline).
    3. The top part of the netlist you're getting for the nominal corner and for the C0 corner (using Right Mouse->View Netlist over those points on the results) - you don't need to send an image - just paste the contents.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SteffenK
    SteffenK over 7 years ago in reply to Andrew Beckett

    I was not aware of this method of viewing the netlists, so i must of had opened the wrong ones. So the includes WAS referenced in the netlist, but it turns out a certain "ProcessOption.scs" has to be enabled in the corner setup too for it to work. I guess this is something PDK specific. Anyway, i was not aware of this until i looked at the netlists differences between the two cases. But this solved the problem. 

    Thanks a lot for your time and help!

    //Steffen

    • 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