about skillscripts

Discussion in 'Cadence' started by kranthibhushann, May 15, 2006.

  1. hi,

    my perlscript generates a gdsfile directly when i run on the
    terminal.my problem here is i want to run my perlscript using
    ipcBeginprocess .The way am approaching is mentioned below to run the
    perlscript .


    procedure(launchProcess()

    cid = ipcBeginProcess("/prog/assura/signal.pl; VDD
    ;and_script; pratham_pg2_scratch; cds.lib; signal.gds" )


    ); procedure

    here my perlscript is "signal.pl" and the inputs to my perlscript
    are those which are seperated by semi coloun .is this way is correct
    ..if do in the same manner i can run my script
     
    kranthibhushann, May 15, 2006
    #1
  2. kranthibhushann

    chinni Guest

    am soory to mention wht are the variablesmentioned in above VDD IS (NET
    NAME) and_script is (CELLNAME), pratham_pg2_scratch IS
    (LIBNAME),cds.lib IS (CDS LIBRAARY),gdsname is (SIGANL.GDS)
     
    chinni, May 15, 2006
    #2
  3. If you use ipcReadProcess(cid) did you see a warning like this:
    "sh: line 1: VDD: command not found\n" ?
    (At least I did)

    That's because you use a ; in there, which is a end of line marker in sh.
    You need to find a different dividing character as far as I can see.
    Do you have a spellchecker in your mailtool? Would you care to use it?
    Remember that this email is archived on groops.google.com for later
    generations to read. The search engine is quite clever when it comes to
    look for wrongly typed words, but the user reading the text will not.

    Think about it.

    Regards,
     
    Svenn Are Bjerkem, May 15, 2006
    #3
  4. thanks for reply so soon .ya exactly am getting the same problem and am
    not getting the output when i execute the above command.now am trying
    with this code ,state whether it is correct or not .while(
    outputResult=ipcReadProcess(cid)
    printf("%s" outputResult));


    executeCommand = "/prog/assura/plotNet.pl;/prog/assura/plotNet.pl ;
    VDD ;and_script; pratham_pg2_scratch; cds.lib; signal.gds "
    cid = ipcBeginProcess(executeCommand "" nil nil nil "")

    ipcWait(cid)
    outputResult = ipcReadProcess(cid)
    ( and if i use this code am not getting any output simply am getting
    this line in my "ciw "
    "USAGE: plotNet.pl netName cellName <libName <cdslib <gdsName>>>\n".so
    to get output what i have to do
     
    kranthibhushann, May 15, 2006
    #4
  5. Did you read Svenn's reply? If you still have the ";" in the command you're
    executing, it's not surprising it doesn't work.

    Please read Svenn's reply again. ";" is a shell command delimiter. I expect you
    should have the same command but with spaces instead of the semi-colons.

    Andrew.
     
    Andrew Beckett, May 15, 2006
    #5
  6. thank u andrew .i have modified it and removed the semicolouns .
     
    kranthibhushann, May 16, 2006
    #6
  7. ipcBeginProcess(
    t_command
    [ t_hostName ]
    [ tsu_dataHandler ]
    [ tsu_errHandler ]
    [ tsu_postFunc ]
    [ t_logFile ]
    )
    => o_childId
    Hi,
    in the above syntax what is "=> o_childId" .
     
    kranthibhushann, May 16, 2006
    #7
  8. Interprocess Communication SKILL Functions Reference
     
    Bernd Fischer, May 16, 2006
    #8
  9. hi,

    ipcWait( ipcBeginProcess( "pipo strmin /home/sua/and_script.rsf" ) )
    when i am runnign the above syntax .am not able to get any output is
    the correct way to stream in
     
    kranthibhushann, May 16, 2006
    #9
  10. kranthibhushann

    kamal Guest

    hi ,

    i did the same thing in one of my codes .this is how i solved itdataStringPerl=strcat("mycode.pl" artMakeString(number) " " stringfield
    " ...<depending what is the type of data u are passing to perl>)

    ;;; Calling the Perl code
    ipcBeginProcess(dataStringPerl)and it worked. Hope it helps .

    Thanks,
    Kamal

    and
     
    kamal, May 17, 2006
    #10
  11. Submit Plot Form is created using gui options plz confirm me
     
    kranthibhushann, May 17, 2006
    #11
  12. hi,
    am creating a "submit plot form " for various fields ,if i want to
    place the field in any corner for example " TEMPLATE FILE" I want to
    put the "LOAD and SAVE" buttons at the right side where i have to
    mention the positon in this syntax.plz hepl me
    buttonfield = hiCreateButtonBoxField(
    ?name ' buttonfield
    ?prompt " options"
    ?choices '("Load" "Save")
    ?callback ,'("println( 'Load )" "println( 'Save )"))
     
    kranthibhushann, May 18, 2006
    #12
  13. HI,

    If i want to use postfucntion in IPCBEGINPROCESS .i have read in
    manuals but am not clear about it.In postfunction we have to define
    two paarmeters such as o_childId field and x_exitStatus field ,can u
    tell me how to define this fields .
     
    kranthibhushann, May 19, 2006
    #13
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.