• 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. Predefined Ports in Virtuoso

Stats

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

Predefined Ports in Virtuoso

mschw
mschw over 7 years ago

Hello,

i have a question regarding the predefined ports in virtuoso. I noticed that stdout and poport are equal, so what is the difference between stdin and piport?

My guess is that piport is linked to that "what you write in the CIW", whereas stdin is the "default" UNIX stdin !?

If so, is it possible to redirect stdin to piport?

Thanks in advance.

Best regards,

Matthias

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Matthias,

    stdin is the stdin of virtuoso (i.e. the terminal window) whereas piport is the CIW input. You can reassign stdin=piport if you really want.

    However, reading from either stdin or piport is a fairly unusual (and probably not recommended) thing to do with Virtuoso.

    Andrew.

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

    Dear Andrew,

    thanks a lot.

    Best regards,

    Matthias

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

    Andrew,

    I came across this post in the cadence community forum today, in which a second Virtuoso instance is created as a child process. Referring to the question above:

    If I create a Virtuoso Child process using

    cid = ipcBeginProcess("virtuoso -nograph")

    and I send a skill command to the child process

    ipcWriteProcess(cid "file=outfile(\"myFile.txt\")  fprintf(file \"Hello\") close(file)")

    the file wont't will be created. Is it possible to send a skill command to the child process, apart from the -replay parameter ?

    Many thanks.

    Best reagards,

    Matthias

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

    Matthias,

    This is just because you haven't ended the line sent to the process with a carriage return, so it's still waiting for the input line to be completed. If you do:

       ipcWriteProcess(cid "file=outfile(\"myFile.txt\")  fprintf(file \"Hello\") close(file)\n")    

    Then it will work.

    Regards,

    Andrew.

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

    Silly me.

    Thanks a lot.

    Regards,

    Matthias

    • 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