• 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. streaming out a gds in IC5

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 143
  • Views 16015
  • 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

streaming out a gds in IC5

Adhil
Adhil over 13 years ago

Hi Guys

i am trying to run the code below

 procedure(ConfigurestreamOut()
a = pipoDisplay(transStreamOutForm)
if(hiInFormApply(transStreamOutForm) then
cid = ipcBeginProcess("cd cal_drc;run_drc; cd ..")
hiDisplayAppDBox(
 ?name 'myBox
 ?dboxBanner "Adhil's DRC"
 ?dboxText "DRC run is complete!"
 ?callback "printf(\"DRC run is complete!!\")"
 ?dialogType 1
 ?dialogStyle 'modeless
 ?buttonLayout 'YesNo
 ))
 
)
procedure(CCSmyMenu(args)
prog((One myMenu)  
One = hiCreateMenuItem(
 ?name 'configure
 ?itemText "Stream and Run"
 ?callback "ConfigurestreamOut()"
 )

myMenu = list(
 hiCreatePulldownMenu(
  'myPersonalMenu
  "Run DRC"
  list(One)))
return(myMenu)
))

if(!boundp('myPersonalMenu) then  
;deRegUserTriggers("schematic" nil 'CCSmyMenu nil) 
deRegUserTriggers("maskLayout" nil 'CCSmyMenu nil)
;deRegUserTriggers("maskLayoutXL" nil 'CCSmyMenu nil)
else
printf("the menu has already been loaded\n")
 )
 i want the drc run executed by ipcBeginProcess to start after the streamout of the gds is fully completed. how can I ensure full streamout? is there a flag or something to indicate the completion of the process.

On the otherhand, how can i streamout a gds automatically in IC5. the previous posts contain codes that are meant for IC6.

 Adhil.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    You'd use ipcBeginProcess() to launch "pipo strmout templateFile" and then either wait for the results, or use an exit handler to then launch the DRC.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Adhil
    Adhil over 13 years ago

    Hi!

    what do you mean by "pipo streamout template file", is it a comand?, can you run skill codes in ipcBeginProcess?

    furthermore, are there any commands to automatically streamout gds s in skill for IC5?

     thanks for replying, I am still learning.

    Adhil

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Hi Adhil,

    "pipo strmout templateFile" is a UNIX command (note that strmout doesn't have "ea" in it). The templateFile is the same file you get by saving the settings to a file from the File->Export->Stream form, and you can build a similar file yourself.

    You can invoke the command from SKILL by doing:

    ipcId=ipcBeginProcess("pipo strmout templateFile")
    ipcWait(ipcId)

    say.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Adhil
    Adhil over 13 years ago

    hi!

    I tried the code that you provided. when i tested it out on my terminal, unix responded saying that "pipo" does not exist. i asked my cad engineer and he said that i need some config files.

     thanks in advance

    Adhil.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Your UNIX path must be set incorrectly. If you're using IC5141, the "pipo" command is in the same directory as the "icfb" command:

     UNIX_2> which pipo
    /export/home/apps/IC5141_isr/tools/dfII/bin/pipo
    UNIX_3> which icfb
    /export/home/apps/IC5141_isr/tools/dfII/bin/icfb
    UNIX_4> echo $path
    /export/home/apps/MMSIM101_isr/tools/bin /export/home/apps/IC5141_isr/tools/dfII/bin /export/home/apps/IC5141_isr/tools/bin /usr/local/bin /bin /usr/bin . /usr/X11R6/bin

    Maybe  you're launching icfb via a wrapper script which sets up the path. However, you should definitely be able to call pipo from ipcBeginProcess because the path must be set up either File->Export->Stream wouldn't work.

    Or you're using IC615, in which case the command is "strmout":

    UNIX_7> which strmout
    /export/home/apps/IC615_isr/tools/dfII/bin/strmout
    UNIX_8> echo $path
    /export/home/apps/MMSIM101_isr/tools/bin /export/home/apps/IC615_isr/tools/dfII/bin /export/home/apps/IC615_isr/tools/bin /usr/local/bin /bin /usr/bin . /usr/X11R6/bin

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Adhil
    Adhil over 13 years ago

    Hi Andrew!

    Thanks alot, its working now. When  i was running the ipc command on my CIW, the CIW did not reflect the status of the command execution, so i had to try it out on my terminal. but the strmout did not work at the begining so I setdt to IC5.latest, then it worked.

    On the otherhand, you did not say how i can setup the templateFile before i ran pipo strmout.

    Adhil.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago
    Hi Adhil,

    Actually I did say. If you bring up the File->Export->Stream form, fill it in and then save a template from this form, that's the contents you need.

    You'd have to write your own code to build the template if you're writing your own interface, but that's not difficult.

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Adhil
    Adhil over 13 years ago

    sorry i mean using code to setup the templateFile. the previous posts in this forum have codes for IC6 not IC5,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Cadence Online Support Solution 11001322 shows how to do this.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Adhil
    Adhil over 13 years ago

    Hi Andrew!

    My code is working now. i built a GUI to streamout and run drc. i now want to integrate a small terminal onto my gui so that i could view the streamout and subsequently the drc runs as they are processed on unix.  

    Adhil.

    • 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