• 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. problem with starting the script in skill

Stats

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

problem with starting the script in skill

imagesensor123
imagesensor123 over 12 years ago

Hello,

   I have writen a script file (myCheck.sh), I would like to start the myCheck.sh in skill procedure,

  I tryed csh("myCheck.sh"), but it does not work. so what's the real process for starting the script file in skill.

my status: IC5141, spectre simulator

welcome to any suggestion!

 

regards,

zfeng 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago
    That's a perfectly reasonable way of running a script. Unfortunately "it does not work" doesn't tell anyone what does not work - please be more specific. Remember that any output the script produces will appear in the terminal window.  

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

    If you want the script to communicate with SKILL, you should look at the IPC functions such as ipcBeginProcess. Otherwise, the script is executed in a separate shell with no connection back to Virtuoso.

     Ted

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

    Hello Andrew,

        my script ("myCheck.sh") is as following:

         #! /usr/local/bin/tcsh

         ic5141

         ams370

         spectre input2T5.scs

         grep Vout -w capFile > capOut 

     

    the script is firstly to lunch the simulation and then process the file "capFile" to extract some info into file "capOut". in fact, when i use the command csh("myCheck.sh"), it just return "t" in CIW, no result is generated! 

    you mentioned the results(any output) will appear in the terminal, but I never see any terminal is trigered and turned up in this whole procedure!

     

    regards,

    zfeng 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • imagesensor123
    imagesensor123 over 12 years ago
    Hello thepaone, thx, yes, you're right! my idea is to start the simulation in backgroud to extract some low level parameter to be used later in high level modeling!
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago
    Does the script work if you run it from the terminal? Have you made it executable?
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • imagesensor123
    imagesensor123 over 12 years ago
    Hello, yes, I can start and run it in terminal perfectly, it works like what i expect! I just have some trouble in skill procedure (CIW), no it's just a common script file!
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • imagesensor123
    imagesensor123 over 12 years ago

    Hello,

     

        question is cleared!

     

        the right solution is: 1, make the script to be a exacutable *.sh firstly.

                                      2, cd to current directory

                                      3, csh("./*.sh") 

     

    regards,

    zfeng 

    • 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