• 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 SKILL
  3. Layout XL SKILL functions extremely slow in L environme...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 15712
  • 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

Layout XL SKILL functions extremely slow in L environment

Yaosan
Yaosan over 15 years ago

Is there any way to make XL functions (those with prefix "lx") run faster in the Layout L environment, for example by loading the necessary context manually? Here's the speed difference (in CPU time) as measured by the profiler for the lxComputeViaParams function used in a script (this function is called multiple times):

Layout L: took 0.71 seconds to run

Layout XL: took 0.06 second to run

Any suggestion? Thanks!

  • Cancel
Parents
  • Yaosan
    Yaosan over 15 years ago

    Hi Andrew,

    Thanks for the feedback. Unfortunately I am not able to reproduce the cache structure like you did. It doesn't matter how many times I call the function, the speed is always about the same i.e. slow. FYI, I'm using IC 6.1.3.

    This is what I observed (and before I get to this conclusion, I was scratching my head for half a day, wondering why is my script suddenly 10x slower). First I ran my script in L environment, it takes about 8 seconds to run. Next I switch to XL environment for the same layout, the script takes less than 0.5 second to run. Then, I switch back to L environment, and now the script takes 8 seconds to run again. Undo the script, run it again in L, still 8 seconds, it doesn't speed up at all as what I would expect from the cache structure you mention.

    btw, as long as one of the layout windows is in XL mode, the script takes less than 0.5 second to run. Once all of them are in L, the script slows down again.

    I'm not sure if this has anything to do with some of the context optimization done in XL to speed some of the stuff up, but definitely there's something different that is causing the huge difference in function execution speed.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Yaosan
    Yaosan over 15 years ago

    Hi Andrew,

    Thanks for the feedback. Unfortunately I am not able to reproduce the cache structure like you did. It doesn't matter how many times I call the function, the speed is always about the same i.e. slow. FYI, I'm using IC 6.1.3.

    This is what I observed (and before I get to this conclusion, I was scratching my head for half a day, wondering why is my script suddenly 10x slower). First I ran my script in L environment, it takes about 8 seconds to run. Next I switch to XL environment for the same layout, the script takes less than 0.5 second to run. Then, I switch back to L environment, and now the script takes 8 seconds to run again. Undo the script, run it again in L, still 8 seconds, it doesn't speed up at all as what I would expect from the cache structure you mention.

    btw, as long as one of the layout windows is in XL mode, the script takes less than 0.5 second to run. Once all of them are in L, the script slows down again.

    I'm not sure if this has anything to do with some of the context optimization done in XL to speed some of the stuff up, but definitely there's something different that is causing the huge difference in function execution speed.

    • 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