• 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. Issues adding bindkeys for double vias

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13100
  • 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

Issues adding bindkeys for double vias

blankman
blankman over 14 years ago

Hi, I am having difficultiy adding combination bindkeys for adding double via cells. The skill code I am using is below.

The problem I am seeing is when I execute for example "Ctrl<key>1, <Btn1Down>" it creates a horizontal met2_met1_b cell in the layout window as it should, however when I then attempt to execute  "Ctrl<key>2, <Btn1Down>" it creates a met2_met1_b cell again when it should create a met3_met2_b. The same happens for "Ctrl<key>3, <Btn1Down>" "Ctrl<key>4, <Btn1Down>" "Ctrl<key>`, <Btn1Down>" until I switch to creating vertical vias with "Shift<key>`, <Btn1Down>". The process then repeats itself depending on what the first vertical via type I entered was, if I am being clear.

Is there a workable solution to this? I am using Cadence 5.10.41

Thanks in advance.

 

 ;Double polycont_via1234_b horizontal
hiSetBindKey("Layout" "Ctrl<key>`, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met1_ply1\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.22 0.22 1 2 0.47 0.47 \"center\" \"center\")")


hiSetBindKey("Layout" "Ctrl<key>1, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met2_met1_b\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.26 0.26 1 2 0.52 0.52 \"center\" \"center\")")


hiSetBindKey("Layout" "Ctrl<key>2, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met3_met2_b\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.26 0.26 1 2 0.52 0.52 \"center\" \"center\")")


hiSetBindKey("Layout" "Ctrl<key>3, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met4_met3_b\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.26 0.26 1 2 0.52 0.52 \"center\" \"center\")")


hiSetBindKey("Layout" "Ctrl<key>4, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met5_met4_b\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.36 0.36 1 2 0.71 0.71 \"center\" \"center\")")



;Double polycont_via1234_b vertical
hiSetBindKey("Layout" "Shift<key>`, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met1_ply1\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.22 0.22 2 1 0.47 0.47 \"center\" \"center\")")


hiSetBindKey("Layout" "Shift<key>1, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met2_met1_b\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.26 0.26 2 1 0.52 0.52 \"center\" \"center\")")


hiSetBindKey("Layout" "Shift<key>2, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met3_met2_b\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.26 0.26 2 1 0.52 0.52 \"center\" \"center\")")


hiSetBindKey("Layout" "Shift<key>3, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met4_met3_b\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.26 0.26 2 1 0.52 0.52 \"center\" \"center\")")


hiSetBindKey("Layout" "Shift<key>4, <Btn1Down>" "leCreateContact(geGetWindowCellView() \"met5_met4_b\" hiGetPoint(hiGetCurrentWindow()) \"R0\" 0.36 0.36 2 1 0.71 0.71 \"center\" \"center\")")

  • Cancel
  • Aritra
    Aritra over 14 years ago
    Hi blankman, Try using orientation R90 for vertical via placement. eg. hiSetBindKey("Layout" "Shift`, " "leCreateContact(geGetWindowCellView() \"met1_ply1\" hiGetPoint(hiGetCurrentWindow()) \"R90\" 0.22 0.22 2 1 0.47 0.47 \"center\" \"center\")") This should work fine I guess.
    • 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