• 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 auto-trigger the skill ipc process within Virtuo...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 14553
  • 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 auto-trigger the skill ipc process within Virtuoso

ashishcicskill
ashishcicskill over 10 years ago

Hi Andrew,

I have written following skill procedure:

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

procedure(ipcLicenseProc()

let((cid msgHandler)
msgHandler = lambda( (cid data) printf("[BashMsg: %s]\n%s" cid data))
errHandler = lambda( (cid data) printf("[ERROR: %s]\n%s" cid data))
exitHandler = lambda( (cid status) printf("EXITED: %L \n" status))
cid = ipcBeginProcess("bash ./lic_manager_v1.bash" "" msgHandler errHandler exitHandler "ipcLicenseLog")
); let
); procedure

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

It calls a bash script which I have written for license management.

I can easily call this procedure in CIW as ipcLicenseProc() and everything works as expected.

I want to understand if virtuoso can auto-trigger this procedure based on some condition, I dont want to ask users to run this procedure manually.

Say I want to keep text file at central location (which will be updated time-to-time), can Virtuoso parse that file (in defined intervals) and based on some condition find in that file, it triggers the ipcLicenseProc() for the user from his active CIW session.

Regards,

Ashish Singh

  • Cancel
Parents
  • skillUser
    skillUser over 10 years ago

    Hi Ashish,

    If I have understood your requirement correctly, you can probably use hiRegTimer() to call a function that parses the central text file and optionally runs the ipcLicenseProc code, and then schedules another hiRegTimer to occur again at some point in the future, starting the whole process again.  Take a look at Solution 11381132 for automating the scheduling of the code runs, now you only have to work out the parsing the text file piece of the puzzle.

    Regards,

    Lawrence.

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

    Hi Ashish,

    If I have understood your requirement correctly, you can probably use hiRegTimer() to call a function that parses the central text file and optionally runs the ipcLicenseProc code, and then schedules another hiRegTimer to occur again at some point in the future, starting the whole process again.  Take a look at Solution 11381132 for automating the scheduling of the code runs, now you only have to work out the parsing the text file piece of the puzzle.

    Regards,

    Lawrence.

    • 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