• 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. exiting an ocean session in the CIW

Stats

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

exiting an ocean session in the CIW

markbeck
markbeck over 14 years ago

I'm trying to create an external netlist with a skill script and the only way that I know how to do this is to issue the following commands:

simulator('spectre)
design(t_lib t_cell t_view)
netlistDir("/some/directory/path")
createNetlist()

This works fine, but if I don't issue the run() command, the CIW thinks that I'm still in an ocean session. I can't issue an exit() command because the CIW interprents this as "exit virtuoso".  

Does anyone out there know how to exit an interactive ocean session in the CIW without issuing a 'run()' command?

Thanks,
Mark

  • Cancel
  • skillUser
    skillUser over 14 years ago

    Hi Mark,

    I have not tried this out, but it looks promising from the function name and documentation: ocnCloseSession()

    ocnCloseSession( )
         => t / nil


    Closes the current OCEAN session without saving any settings made during the session. The command has no effect if no session is currently active.

    The "simulator()" command starts the simulator session, so I hope this function closes it.

    Hope it helps!

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • markbeck
    markbeck over 14 years ago

    That's exactly what I was looking for.  (sigh... need to learn how to search the documentation better...)

    Thanks,

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • markbeck
    markbeck over 14 years ago

     Ok, I now know why I didn't find it.  I was searching in the 5.141 documentation.  That is a new ocean function.

    Is there a way to do this in 5.10.41?

     Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 14 years ago

    Hi Mark,

    I'm not sure for IC5141, running "simulator()" again would close the current session, but it would start a new session, so I'm not sure if that meets your requirements?

    Hope it helps.

    Regards,
    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Mark,

    The only way to do this (that I know of) in IC5141 is to use a private SKILL function. Actually just discovered that even the private way breaks things, so I definitely won't be suggesting that! Why do you need to close the OCEAN session? It shouldn't cause any problems for running things in IC5141 if the session is still active.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • markbeck
    markbeck over 14 years ago

    The main reason that I want to end the session is that I was seeing the ADE-L license being held long after the netlist was written out.  The 'nicest' way to release it is to end the ocean session.  But the other way, would be to release the ADE-L license with the lmCheckIn() command.  

     Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

     Mark,

    I guessed that might be the reason. Unfortunately there doesn't seem to be a way to destroy the OCEAN session in IC5141; when I tried it, I found that I couldn't run any more OCEAN sessions unless I quit icfb/ocean. That's why the new function was added in IC61.

    Regards,

    Andrew.

    • 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