• 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 Design
  3. How to check in SKILL that one process is over or not ?

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 126
  • Views 13369
  • 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 check in SKILL that one process is over or not ?

Amit  Biswas
Amit Biswas over 14 years ago

HI,

I am trying to genearte a personalized log file when all verifications will be over. Plan is to read the log file after completion of the RUN.

How to check that one process is over or still running ?

Let me explain with a simpler example............

For example , I have one function Func1()

procedure(Func1()

;Step1 : Run LVS,DRC, ......... etc

; Step2 : when run is over read the log file and do further processing

);procedure

How to make Step2 await unless Step1 is complted ?

Thanks in advance ,

Amit

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Hi Amit,

    Not clear what Step1 is doing. If it's launching an external process, the best way would be to use ipcBeginProcess and rather than having Step2 called after doing the ipcBeginProcess, instead give an exit handler function argument to ipcBeginProcess, and then call Step2 from there?

    If this doesn't help, I'd need to know more details about what you're waiting for - i.e. how is Step1 being done and how would you know it is finished. That's really the crux of the problem.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amit  Biswas
    Amit Biswas over 14 years ago

    Andrew,

    When a function will be called , all the lines inside that will be executed line by line.

    What exactly I want to do is I want to pause the code in between and resume it after completion of some task.

    Step1 will fire a DRC or LVS run. Immediately after that next line of the programm will be executed, which is Step2 [read the log file], but I do not want to do that because by that time probably log file will not be ready to read or the run in progess.So it is important to know when the DRC or LVS run is over, then read the log file.

    So , now my question is how to check if the run is over. and then allow Step2 to continue.

    You are right that Step1 will launch an external process and I will be using ipcBeginProcess.

    As I couldn't find a better example, it will be helpfull if you can put an example with ipcBeginProcess  using all optinal arguements.

    ipcBeginProcess(
    t_command
    [ t_hostName ]
    [ tsu_dataHandler ]
    [ tsu_errHandler ]
    [ tsu_postFunc ]
    [ t_logFile ]
    )

    Regards,

    Amit

    • 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