• 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. how to poll a text file at regular interval using SKILL

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 144
  • Views 13257
  • 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

how to poll a text file at regular interval using SKILL

fazul
fazul over 14 years ago

hi all,

I am very new to SKILL programming.   

I am currently writing a program to do some statistical calculations (at runtime) using the results of monte carlo simulation. 

Since the simulator seems to be writing values in chucks and there are times when my program has to wait for new values to be written, I thought of polling the 'mcdata' result text file on a interval of fixed time (say 1min) ..

when i searched for appropriate functions to implement a time delay between each lineread()s,  i could find only ipcSleep(delay) and hiRegTimer("func()" delay) functions  but both of them doesnt seem to be useful in my case..

ipcSleep() pauses everything even the monte carlo simulation run

hiRegTimer() just places the callback function to be run after a delay and proceed with the next line of my code..

How can i do this? kindly guide me . I hope i stated my problem clear enough...

thanks in advance,

-Fazul

 

 

 

  • Cancel
Parents
  • fazul
    fazul over 14 years ago

    thanks a lot for that very  prompt reply... i am giving the additional information...  

    -> i just tried the simIlSleep() function but it too seems to pause both my program and monte carlo simulation run.

    -> the version i am using is ic5.1.41 ISR144

    * i am running interactively . i am trying to run my program from the ASA as an additional menu dropdown option and

    so has its own gui form

    * actually at all cost i need to run both my program (statistical calculation program) and monte carlo simulation in parallel.

    i just have a pointer to the last line read that i keep incrementing in my while loop and the loop goes until the pointer equals the 'number of runs' value...

    please tell me if there is a better way to do other than this

    thanks once again  

    --Fazul

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • fazul
    fazul over 14 years ago

    thanks a lot for that very  prompt reply... i am giving the additional information...  

    -> i just tried the simIlSleep() function but it too seems to pause both my program and monte carlo simulation run.

    -> the version i am using is ic5.1.41 ISR144

    * i am running interactively . i am trying to run my program from the ASA as an additional menu dropdown option and

    so has its own gui form

    * actually at all cost i need to run both my program (statistical calculation program) and monte carlo simulation in parallel.

    i just have a pointer to the last line read that i keep incrementing in my while loop and the loop goes until the pointer equals the 'number of runs' value...

    please tell me if there is a better way to do other than this

    thanks once again  

    --Fazul

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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