Home > Community > Forums > Custom IC Design > How to check in SKILL that one process is over or not ?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to check in SKILL that one process is over or not ? 

Last post Thu, Feb 17 2011 12:22 AM by Amit Biswas. 2 replies.
Started by Amit Biswas 15 Feb 2011 01:31 AM. Topic has 2 replies and 1178 views
Page 1 of 1 (3 items)
Sort Posts:
  • Tue, Feb 15 2011 1:31 AM

    • Amit Biswas
    • Not Ranked
    • Joined on Fri, Dec 3 2010
    • Bangalore, Karnataka
    • Posts 12
    • Points 150
    How to check in SKILL that one process is over or not ? Reply

    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

    Filed under:
    • Post Points: 20
  • Tue, Feb 15 2011 2:18 PM

    Re: How to check in SKILL that one process is over or not ? Reply

    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.

    • Post Points: 20
  • Thu, Feb 17 2011 12:22 AM

    • Amit Biswas
    • Not Ranked
    • Joined on Fri, Dec 3 2010
    • Bangalore, Karnataka
    • Posts 12
    • Points 150
    Re: How to check in SKILL that one process is over or not ? Reply

    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

    Filed under:
    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Amit Biswas at 15 Feb 2011 01:31 AM. Topic has 2 replies.