• 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. Start Virtuoso as a Server with Display OFF

Stats

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

Start Virtuoso as a Server with Display OFF

MauMarulanda
MauMarulanda over 4 years ago

Hi,

I have Virtuoso running as a server with an open port. However, I am trying to have virtuoso working without the display. Basically I have an API that talks to it to generate simulations/layout/etc. I am wondering if there is a way to keep this port open while having no display of the window?

The option of virtuoso -nograph -replay "command.il" will not work as, as soon as the "command.il" is finished the virtuoso is killed. I need it to be open.

Thanks,

Mauricio

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Hi Mauricio,

    Not sure how you are "running as a server with an open port" but maybe it's using something similar to this post? If so, one possibility is just to call ipcSleep(1000000000) at the end of the script that launches the SKILL server. I can then talk to the nograph session with the client and it doesn't exit.

    You might need to give a bit more detail as to what you're doing?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MauMarulanda
    MauMarulanda over 4 years ago in reply to Andrew Beckett

    Yes I can give more details, it is very similar to the post you directed me to (I would say almost the same). Especially part 1 and part 3. However, we are just using python instead of TCL.

    The question I have is that in part 2 (the post you mentioned), we have to have a live Virtuoso window open. Is there a way to keep the display off in a way that does not kill the process like "-nopgraph -replay" does?

    I will try the solution you proposed with ipcSleep(10000000), however before I do that, while the ipcSleep is running I can still use the server to run commands?

    Do you need more details to understand what I am trying to do?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to MauMarulanda

    I think the ipcSleep() should do what you want - the IPC callbacks still run when sleeping (the ipcSleep is part of the same family of functions). If it had been a graphical session, you wouldn't be able to interact with the windows whilst sleeping, but since you want a nograph session, it should be OK. The replay won't finish, because it's sleeping at the end (I probably would tend to use -restore rather than -replay, because that's just like running virtuoso and then typing load("filename.il") at the end).

    Andrew

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

    BTW, the -restore won't exit at the end - but will go interactive - so you'd get a prompt for input. Of course, you may not want that, but since the ipcSleep with the big number that I suggested would sleep for over 30 years, this is not going to be an issue!

    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