• 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 Design
  3. Replacing Via1 to Via2 per Bindkey in IC5.1

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 126
  • Views 18175
  • 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

Replacing Via1 to Via2 per Bindkey in IC5.1

Laur9
Laur9 over 15 years ago

Hi,

is it possible to replace from Via1 to Via2 with the help of some skill function, in Virtuoso Layout IC5.1 ?

I would like to select an already placed  via and change his via typ without to open Contact Properties Form.I don't want to change the other properties of the via.

I have already tried to get , per skill, the properties of the selected instances but I found no way to change the via ( contact type to be exactly) type. I used this code to try to do the work but Virtuoso not allows to do this kind of replacement.

 cv = deGetCellView()

foreach(i cv~>instances
        when( i~>cellName == "via1"
                          i~>cellName = "via2"
                ))

I am wondering whether there is a better way to perform it. Thanks a lot in advance.

Thanks for your help,

Regards

 

Laurent

  • Cancel
Parents
  • blankman
    blankman over 14 years ago

    Andrew, could you help me with one last thing. Im trying to add bind keys to increment and decrement the amount of rows and columns in a selected contact cell.

     

    Im using...

    procedure(BSchangeVia2x1()
    foreach(fig geGetSelSet()
      when(fig~>objType=="inst"
          propValue = car(fig~>prop~>value)
          fig~>prop~>value=propValue+1
        )
        )
    )
    hiSetBindKey("Layout" "Alt<key>KP_Add" "BSchangeVia2x1()")

     

    However this increments both row and column values. Is there a way to increment only the row value and leave the column value as is?

    Brian.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • blankman
    blankman over 14 years ago

    Andrew, could you help me with one last thing. Im trying to add bind keys to increment and decrement the amount of rows and columns in a selected contact cell.

     

    Im using...

    procedure(BSchangeVia2x1()
    foreach(fig geGetSelSet()
      when(fig~>objType=="inst"
          propValue = car(fig~>prop~>value)
          fig~>prop~>value=propValue+1
        )
        )
    )
    hiSetBindKey("Layout" "Alt<key>KP_Add" "BSchangeVia2x1()")

     

    However this increments both row and column values. Is there a way to increment only the row value and leave the column value as is?

    Brian.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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