• 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 bindkey

Stats

  • Locked Locked
  • Replies 15
  • Subscribers 150
  • Views 20927
  • 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 bindkey

kalikrishna
kalikrishna over 14 years ago

 Hai all,

 

I want to create a bindkey, suchthat by using up and down keys on keyboard , the number of rows and columns for a Via will increase or decrease.

If anyone know, how to do this one...please do let me know

 

Thank You

T.Prasad

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    I did a quick search in the community forums, and  found this post. It would also be worth saying which version of the software (as suggested in the Forum Guidelines) you're using, as vias are handled very differently between IC5141 and IC61 due to the change in the underlying database.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kalikrishna
    kalikrishna over 14 years ago

     Hai Andrew,

                     I have seen the posts,attached you

                    Am using virtuoso 6.1.4 vertion. Those codes were not executed. and shows like below..

    changeVia2x1()
    (db:0x1456d493)

     Please, let me know, any other suggestions

    Thank You

    T.prasad

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

    As I said, vias are different in OA - they are not instances any more, but separate objects. Changing the code like this will make it a 2x1 via:

    procedure(CDSIC61changeVia2x1()
        foreach(fig geGetSelSet()
            when(fig~>objType=="stdVia"
                dbReplacePropList(fig
                    list(
                        list("cutRows" 'int 2)
                        list("cutColumns" 'int 1)
                    )
                )
            )
        )
    )

    I'm sure you can use this as a template for your own requirements.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kalikrishna
    kalikrishna over 14 years ago

     Hi,

        I want to create a bindkey to convert M1_M2 via to M2_M3 via.

      please do let me know any suggestions .

     

    Thank You,

    T.Prasad

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

    You'd need to delete the original via (maybe capturing some of the key overrideParams from the viaHeader first) and then create a new one in the same place using dbCreateVia.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kalikrishna
    kalikrishna over 14 years ago

    Thank you Andrew,

    To know the position of the previous via, i wrote as below

    point = fig~>xy

     I assigned the via with name "fig".

     But it shows  an error, "invalid parameter for the via definition".

     

    is it right?

    If wrong, please let me know suggestions.

     

    Thank You,

    T.Prasad

     

     

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

    Try fig~>origin.

    Depending on which version of 6.1 you are on, fig~>xy may not be available. Later versions of 6.1 allow you to use either. I've never understood why this was so inconsistent in the early versions.

    Derek

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

    Simple human oversight was probably the reason for the inconsistency. Remember that the db layer is a mapping from OA, and suspect the focus was on doing the mapping, rather than thinking about what other similar objects have inthe CDBA layer.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kalikrishna
    kalikrishna over 14 years ago

    Thank you dmay,

                 I have another doubt.

    How to know the number of rows and columns of previous via.

    I used as below

    rows = fig~>Rows

    and then, i want to use this rows          value for the new via.

    but it shows, Invalid parameter for the ViaDef.

     please do let me know any suggestions.....

     

    Thank You,

    T.Prasad

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

    If fig is a stdVia, try using cutRows:

    fig~>cutRows = 3

    Derek

    • 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