• 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 write a skll script that will continue to auto place...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 150
  • Views 17555
  • 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 write a skll script that will continue to auto place vias as i click

CMO297
CMO297 over 12 years ago

Hi All,

I'm looking to write a script that calls up the "auto" via menu and will allow me to keep dropping vias on metal intersections instead of finishing after one click. Does anyone know what the best way to accomplish this?  Please forgive me, i'm fairly new to skill.  your help is greatly apprcieated .

this is what i have so far?

 procedure(myautovia()

    hiRegTimer(
    "hiGetCurrentForm()->viaMode->value= \"Auto\"
    hiToggleEnterForm(hiGetCurrentForm() )" 1)
    leHiCreateVia()
    )




  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    You shouldn't really need to do this - if you do Options->Editor and turn on "Repeat Commands", it will do this automatically...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CMO297
    CMO297 over 12 years ago
    thanks Andrew, totally forgot about that switch!
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • howardhaoracle
    howardhaoracle over 12 years ago

    Hi Andrew;

    I am using Virtuoso 6.1.5 and I dont see Options->Editor... Repeat Commands anywhere

    If not in Virtuoso 6.1.5 version, how can I create repeat commands option since this is quite handy feature to have..

     

    Thanks

    Howard

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • CMO297
    CMO297 over 12 years ago

    Hi Howard,

    if you are using standard Cadence binkeys, hit Shift E to pull up the menu.  it's the first one in the top left corner.

    Thanks,

    Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • howardhaoracle
    howardhaoracle over 12 years ago

    Hi Chris;

    uhmmm I guess the OPUS here modified all the Cadence bindkeys, I tried Shift E and still dont see "repeat command", but I see 

    the bindkey called "hiRepeat".. 

    But Thanks for your help

    Howard

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dmay
    dmay over 12 years ago

    Options->Editor... Repeat Commands

    This refers to the Options menu in the Virtuoso Layout Editor, choose the "Editor..." menu item and a form will pop up. The top left option on the form is "Repeat Commands".

    To invoke the form with Skill, run this in your CIW: leHiEditEditorOptions()

    To change the setting using Skill code, run this in your CIW:  envSetVal("layout" "modalCommands" 'boolean t)

    To change the setting permanently in your setup, modify a file called .cdsenv in your home directory to have this line:
    layout  modalCommands   boolean t

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • howardhaoracle
    howardhaoracle over 12 years ago

    Hi Derek;

    I see it now..;) after typing leHiEditEditorOptions()

     Thanks for your help

    Howard

     

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

    Howard,

    Somebody must have done some serious messing around with the menus in the layout editor if they've removed the Options menu.

    Try doing "cdswhich -all menus" from the terminal window - see if there are some menus directories which have local copies of layEdit.menus which have been edited (maybe).

    Anyway, glad you found it. I'd have words with whoever has customized the environment to remove standard options like this! It seems a good way of confusing users.

    Regards,

    Andrew.

    • 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