• 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. Run Skill Scripts and Update Schematics from Unix Command...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 145
  • Views 19368
  • 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

Run Skill Scripts and Update Schematics from Unix Command Line

skillseeker
skillseeker over 14 years ago

Can we load and run skill procedures without having to invoke interactive command window. I have started to read about "interprocess communication" but it looks like these need to be run from the CIW window.

 

Thanks

  • Cancel
  • Prism
    Prism over 14 years ago

    hi,

     

    Yes, IPC commands are for running linux commands from an icfb/virtuoso session.

    To run skill code in batch mode, you could do:

              icfb -nograph  -replay MYSKILL.il -log MYBATCH.log

    to run skill in batch mode.

    good luck!

    /Nani

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

    Hi,

    In addition to what Nani said you may also be able to run the executable "dbAccess" which is a non-graphical executable which contains core SKILL functions plus functions that could be run inside of a Pcell, these include db* prefix functions, dd* functions, rod* functions and tech* functions.  No graphical capabilities exist at all within dbAccess, so functions like hi* or ge* will not work, and the application SKILL API's are not present either, so no sch* or le*.  Having said this, it is a useful tool for performing core SKILL functionality or testing PCells to ensure that they would run in other environments (e.g. for Stream Out use). This executable is not officially documented yet, but this is coming soon.

    Best regards,

    Lawrence.

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

    Oh, I forgot to mention, ipc* functions are implemented dbAccess.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jorenrefuerzo
    jorenrefuerzo over 12 years ago

    "Can we load and run skill procedures without having to invoke interactive command window. I have started to read about "interprocess communication" but it looks like these need to be run from the CIW window."

     Hi, I also have the same promblem, i want to run Skill Procedures without opening virtuoso or CIW. and just run it in command line...
    I did not understand clearly the replies coz it seems to me that the replies are for "running unix commands from virtuoso or skill script"
     Please reply...

     

     

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

     You're right. This post has nothing to do with what you're trying to do (and you've asked that elsewhere in the forum).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ahmaddaiict
    ahmaddaiict over 10 years ago

    Hello I try to run the below given command

    virtuoso -nograph -replay ../RO/INV42/SKILL/INV42.il -log  MYBATCH.log

    However the error is the following: 

    ********************************************************************************************************************************************

    A VNC server is already running as :80 or another process is using one of ports 5980 or 6080

    *WARNING* Unable to open -nograph X Window Display "xxxx:80"
    *WARNING* (using "exec /yyyy/software/cadence/release2013/ic_v6.16.022/tools.lnx86/dfII/../bin/cdsVncserver :80 -co /usr/share/X11/rgb&").
    *WARNING* cdsXvnc output may be found in file $HOME/.vnc-cds/xxxx:80.log
    Trying another display...
    A VNC server is already running as :81 or another process is using one of ports 5981 or 6081
    *WARNING* Unable to open -nograph X Window Display "xxxx:81"
    *WARNING* (using "exec /yyyy/software/cadence/release2013/ic_v6.16.022/tools.lnx86/dfII/../bin/cdsVncserver :81 -co /usr/share/X11/rgb&").
    *WARNING* cdsXvnc output may be found in file $HOME/.vnc-cds/xxxx:81.log
    Trying another display...
    A VNC server is already running as :82 or another process is using one of ports 5982 or 6082
    *WARNING* Unable to open -nograph X Window Display "xxxxx:82"
    *WARNING* (using "exec /yyyy/software/cadence/release2013/ic_v6.16.022/tools.lnx86/dfII/../bin/cdsVncserver :82 -co /usr/share/X11/rgb&").
    *WARNING* cdsXvnc output may be found in file $HOME/.vnc-cds/xxxx:82.log
    Trying another display...
    A VNC server is already running as :83 or another process is using one of ports 5983 or 6083
    *WARNING* Unable to open -nograph X Window Display "xxxx:83"
    *WARNING* (using "exec /yyyy/software/cadence/release2013/ic_v6.16.022/tools.lnx86/dfII/../bin/cdsVncserver :83 -co /usr/share/X11/rgb&").
    *WARNING* cdsXvnc output may be found in file $HOME/.vnc-cds/xxxx:83.log
    Trying another display...
    Successfully connected to a non-graphical X Window Display server.

    **********************************************************************************************************************************************************

    The skill file must generate a layout pcell. I cannot generate it when i execute the -nograph command from command line but i can generate the layout, if i load the skill file in CIW window.

    Please guide me with the debugging pointers

    Ahmad.

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

    Hi Ahmad,

    Those were Warnings not Errors, and anyway, I see the following message at the end of the section you posted:

    Successfully connected to a non-graphical X Window Display server.

    I suspect that the PCell issue is due to something else - where is the error relating to being unable to generate the PCell?  Have you run the SKILL Lint tool on your code to scan for possible issues? (Access it from Tools -> SKILL Development environment when using IC61x/ICADV12x ).

    If the -nograph really is the source of the issue, did you try taking a look at the log files?  The documentation notes the following:

    Note: cdsXvnc can leave locked files in /tmp if it exits abnormally (for example, it is killed or crashes). In such cases you may be displayed warning messages like:

    *WARNING* Could not open display sfsol804:80. If no X server is running for
    *WARNING* this display, please remove the file /tmp/.X11-unix/X80.

    ----

    Also you could try -nographN where N is 0-9 to see if that helps.  Post back with your efforts and results...

    Good luck!

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ahmaddaiict
    ahmaddaiict over 10 years ago

    Hello Lawrence,

      Thank you very much for your prompt response. The error is form myside in environment setup. 

      virtuoso -nograph1 -replay ../RO/INV42/SKILL/INV42.il -log MYBATCH.log is working perfectly.

    I also need a help:

    Is there any command which can generate a gds file from a script file.....I need to use this command in a script .

    Thanks & Regards

    Ahmad

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

    ahmaddaiict said:
    Is there any command which can generate a gds file from a script file.....I need to use this command in a script .

    The UNIX command "strmout" can be used. Try invoking it without any arguments to see the help for it.

    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