• 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. ocnxlRun() without the need to restart simulator

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 3210
  • 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

ocnxlRun() without the need to restart simulator

AB_1716362704952
AB_1716362704952 over 1 year ago

Hello again!

There is a chance that what I'm trying to do isn't possible, but I'll try my luck anyways:

Essentially, I am creating some algorithms that should help me optimize circuit parametrization (The scripts are outside of Cadence). For this, I have been editing and running OCEAN scripts to automatically run simulations. My issue is though, is that when I want to run a simulation using OCEAN, I am forced to set the target cellview (a maestro session) using ocnxlTargetCellview() before running the simulation using ocnxlRun(). Why exactly is this an issue, is that I cannot have the maestro cellview opened prior to the simulation, which means that for every single iteration (If I'm doing singlepoint simulations) the OCEAN script must open the simulator from scratch, causing the simulations to take a very long time per iteration.The ocnxlTargetCellview function will simply not run if the targeted cellview is already open.

I've measured time on some of my simulations and come to the conclusion that the time it takes for a single iteration using OCEAN versus manually doing it in maestro to be around 45 seconds versus 5 seconds. The manual method of course has the simulator already open, skipping the setup time for the OCEAN script. So my question is simple, is it possible for me to somehow keep the maestro session in memory, so that even after the previous singlepoint simulation ends, the next iteration can start with new design variables without having to load the entire session again? So far it seems to me that no matter what I do, the OCEAN script must slowly open everything up again at the beginning of every run.

I also acknowledge that I can run simulations in OCEAN in batch mode using lists of input variables. This cuts down the time per simulation by a considerable amount, as the setup is only done before the first simulation, but for my purposes being able to loop singlepoint simulations would be much more useful.

I've found some old threads talking about slow simulations, and even tested their methods, but came to the conclusion that the setup time before the simulation is the bottleneck in my simulations, and not the actual simulation time itself.

Any ideas or suggestions appreciated! Thanks in advance! I'm on IC23.1 if that is of any relevance or help.

  • 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