• 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. wait function in SKILL

Stats

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

wait function in SKILL

leongec
leongec over 16 years ago

hi all, i am newbie to SKILL and currently face some problem when writing the script. 

Let me explain my program first, i created a GUI for user to enter some parameter value, then after manipulation, a list of result is outfile to a text file. then,  the data in the text file will be plotted in the wavescan.

now, i need to load th GUI skill file first, then enter the data. After this, load the waveform skill file. However, i would like to make it in one go, that is, put all the skill codes in the same scipt. Now  my problem is, the waveform window  prompted up together with the GUI; where the user have not enter any data yet. 

I would like to use wait function to delay the opening of the waveform window. i found that ipcWait is not necessary. How can i do that? or any suggestion??

thank you 

 

  • Cancel
  • Tongju
    Tongju over 16 years ago

    Instead of a waiting function, I prefer to use "callback" feature in the skill GUI (when you create the application form for GUI, you have option to put  callback functions for actions like "apply" "close" ...).  Is it possible to put your second waveform function as the callback function when user finish parameter input and click on "apply"? 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tongju
    Tongju over 16 years ago

    Or, you can use hiRegTimer to run your function after a specific time period:

    (defun hello () (printf "I am running now ....\n"))

    hiRegTimer("hello()" 100)

     Then, after 10 second, the hello() function will be called.

    Or, you can even try sleep(10) (to wait for 10 seconds), but It will hold the current process though.

    • 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